Bug #55910 Foreign key editor crash
Submitted: 11 Aug 2010 11:26 Modified: 1 Sep 2010 16:22
Reporter: Phil Lavin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.26 CE OS:Windows (Win7)
Assigned to: Alfredo Kojima CPU Architecture:Any
Tags: crash, editor, foreign keys

[11 Aug 2010 11:26] Phil Lavin
Description:
Workbench crashes when using the foreign key editor.

How to repeat:
Create 2 tables which both have foreign keys on them. Double click the first table and enter the foreign keys tab. Choose a foreign key and change the On Delete value for it. Double click the next table WITHOUT changing tab or closing the editor. Error thrown is:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program ...

R6025

- pure virtual function call

---------------------------
OK   
---------------------------

This is followed by a crash.

This didn't happen in the previous version.
[11 Aug 2010 14:44] MySQL Verification Team
Thank you for the bug report.
[17 Aug 2010 9:05] Johannes Taxacher
Bug #56016 has been marked as duplicate of this one
[18 Aug 2010 15:08] Alfredo Kojima
fixed
[18 Aug 2010 17:38] Johannes Taxacher
Bug #55816 has been marked as duplicate of this one
[18 Aug 2010 17:39] Johannes Taxacher
fix confirmed in repository
[24 Aug 2010 10:22] Valeriy Kravchuk
Bug #55946 was marked as a duplicate of this one.
[25 Aug 2010 18:05] Johannes Taxacher
fix confirmed in repository
[27 Aug 2010 3:02] Dave Novelli
Hi Alfredo,

Thanks for fixing this. Any idea when the next version will be released with the fix?
[30 Aug 2010 14:02] Alfredo Kojima
Duplicates:
bug #56219
bug #56261
Bug #56323
[30 Aug 2010 14:58] Alfredo Kojima
Marked bug #56079 as duplicate
[31 Aug 2010 0:28] Roel Van de Paar
bug #50961 was marked as a duplicate of this one (contains a video on how to reproduce)
[31 Aug 2010 13:02] MySQL Verification Team
Bug http://bugs.mysql.com/bug.php?id=56392 marked as duplicate of this one.
[31 Aug 2010 13:06] Phil Lavin
The crash can be avoided by closing the table editor (click the X next to the table name in the tab) after you have finished editing and before moving onto the next table.

A new release sometime in the near future would be ideal, however.

Phil
[31 Aug 2010 15:38] Alfredo Kojima
bug #56412 is a duplicate
[1 Sep 2010 16:22] Tony Bedford
An entry has been added to the 5.2.27 changelog:

MySQL Workbench crashed when using the foreign key editor. The Microsoft Visual C++ Runtime Library runtime error generated prior to the crash was:

R6025

- pure virtual function call