Bug #47491 Crash when opening/creating a new model with an unsaved model active
Submitted: 21 Sep 2009 17:16 Modified: 26 Oct 2009 14:03
Reporter: Craig Fowler Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.3 alpha OS:Any (Debian Squeeze/KDE, Mac OS X)
Assigned to: CPU Architecture:Any
Tags: crash, new, open, save

[21 Sep 2009 17:16] Craig Fowler
See reproducton instructions for how to reproduce this crash.

How to repeat:
Start workbench, start with a new model.  Create a new diagram and add a single table to it with one column.

Now click File » Open » [choose an existing project to open].

You will be prompted whether to save the existing model or not.  Clicking "Do Not Save" causes an immediate crash here.  Clicking "Save" allows me to save the file, but as soon as the save has completed (I verified that the file saved successfully) workbench crashed.

I have also been able to reproduce this using File » New (I am prompted with that same 'do you want to save' dialog before the crash).
[21 Sep 2009 17:17] Craig Fowler
Here's a backtrace collected from the crash

Attachment: workbench-output-2.txt (text/plain), 38.54 KiB.

[21 Sep 2009 18:00] Valeriy Kravchuk
Thank you for the bug report. Verified just as described on Ubuntu 9.04 and Mac OS X.
[26 Oct 2009 14:03] Susanne Ebrecht
Thank you for your bug report. This issue has been fixed in our source repository of MySQL Workbench 5.2 and will be incorporated into the next release.

All works fine in MySQL Workbench 5.2.6.