Bug #51410 Workbench closes unexpectedly while trying to "edit table" in Physical Model tab
Submitted: 23 Feb 2010 4:18 Modified: 3 Mar 2010 11:31
Reporter: mike blackman Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.16 OS:Linux (Ubuntu 9.10)
Assigned to: Sergei Tkachenko CPU Architecture:Any
Tags: closes.exits, crashes, Edit, right-click, table, unexpectedly, workbench

[23 Feb 2010 4:18] mike blackman
Description:
MySQL Workbench closes unexpectedly, without saving any data, frequently, when using the right-click "edit table.." option in the Physical Model tab.
This seems to happen not the 1st time, but the 2nd time I try edit table.
Editing two tables back-to-back seems to make it more frequent.
Because of this, I have to save after nearly every single change.

  

How to repeat:
Open my model.
right-click "edit table" on a table within the Physical Model tab.
  The table opens for editing in a lower tab.
right-click on another table.
  MySQL workbench just disappears!

Suggested fix:
Make it not crash, please.
[23 Feb 2010 7:51] Susanne Ebrecht
Verified as described:

Open Workbench
Create two tables
Right click on table1 -> Edit table
Right click on talbe2 -> Edit table

Crash
[24 Feb 2010 4:45] mike blackman
I have found that "edit table in new window..." seems to avoid the crashing.

So... maybe there is something when it is trying to reuse that window, like a pointer not being released, that is causing the problem when it gets replaced by the new table's data?

Also, I figured out how to run it from the command line, and there are a bunch of messages sent to stderr that could be helpful in resolving.

thanks much!!
[24 Feb 2010 13:04] Alfredo Kojima
Marked bug #50936 as duplicate of this one.
[1 Mar 2010 21:43] Johannes Taxacher
fix confirmed in repository
[3 Mar 2010 11:31] Tony Bedford
An entry has been added to the 5.2.17 changelog:

On the MySQL Model tab, if a table was clicked on and edited using the context menu option Edit Table, MySQL Workbench crashed.