Bug #44236 Multiple native exceptions regarding foreign keys
Submitted: 13 Apr 2009 14:01 Modified: 13 Apr 2009 14:33
Reporter: Bastian Grupe Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.1.10a OS:Windows (Vista 64 SP1)
Assigned to: CPU Architecture:Any

[13 Apr 2009 14:01] Bastian Grupe
Description:
I am getting multiple exceptions originating in native code when editing foreign keys, such as this:

System.Runtime.InteropServices.SEHException: Eine externe Komponente hat eine Ausnahme ausgelöst.
   bei bec.FKConstraintColumnsListBE.get_column_is_fk(FKConstraintColumnsListBE* , NodeId* )
   bei MySQL.Grt.Db.FKConstraintColumnsListBE.get_column_is_fk(NodeId node)
   bei MySQL.GUI.Workbench.Plugins.DbMysqlTableFkColumnListModel.columnEnabledFkNodeControl_CheckStateChanged(Object sender, TreePathEventArgs e)

It seems to happen randomly when you want to add/delete a FK. Seems like a double free / null pointer to me.

How to repeat:
1) Create a model using 5.1.10
2) Add/remove foreign keys
3) It will (recoverably) crash
[13 Apr 2009 14:33] MySQL Verification Team
Thank you for the bug report. Duplicate of bug: http://bugs.mysql.com/bug.php?id=44216