Bug #41746 Program Crach after delete diagram
Submitted: 25 Dec 2008 14:28 Modified: 30 Mar 2009 15:06
Reporter: Francis Besset Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.1.5 Alpha Preview OS:MacOS (Mac OS X.5.6)
Assigned to: Alfredo Kojima CPU Architecture:Any

[25 Dec 2008 14:28] Francis Besset
Description:
Hello, 
MySQLWorkbench crash after delete twice a same diagram.

How to repeat:
I create a diagram with the button "Add Digram" in menu Model.
The diagram is correctely create. However I close the tab of new diagram.
I select the diagram in tab MySQL Model and I delete the diagram with the menu Edit > "Delete 'EER Diagram'". The diagram is always in tab MySQL Model but he's inaccessible. When I redelete the same diagram in the menu Edit > "Delete 'EER Digram'", MySQLWorkbench crash !
[29 Dec 2008 7:11] Geert Vanderkelen
Thanks Francis! Based on your excellent description I could repeat the problem using Workbench 5.1.5 on Mac OS.

I'm also attaching a trace of crash, maybe it helps our develepers.

1. Start Workbench, no need to import anything
2. Add Diagram (doubclicking is weird in Mac OS applications!)
3. New tab and 'button' is shown.
4. Close the tab 'EER Diagram' tab.
5. Delete the EER Diagram using the Menu (^Backspace does not work)
6. EER Diagram is still there.
7. Delete again the EER Diagram => crash

It does not crash when you keep the tab open and then delete the EER Diagram.

Also, you can't delete an EER Diagram before viewing it at least once.
[29 Dec 2008 7:12] Geert Vanderkelen
Crash report, which would have been send to Apple

Attachment: bug41746_crash_report.txt (text/plain), 34.45 KiB.

[28 Feb 2009 3:55] Alfredo Kojima
Appears to be working now. As a bonus, cmd-Delete also works.
[30 Mar 2009 15:06] Johannes Taxacher
working fine in 5.1.9 beta