Bug #46078 Seg fault on connection
Submitted: 9 Jul 2009 11:09 Modified: 7 Aug 2009 14:16
Reporter: Susanne Ebrecht Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.1 OS:Linux (ubuntu 8.10 amd64)
Assigned to: CPU Architecture:Any
Tags: CHECKED

[9 Jul 2009 11:09] Susanne Ebrecht
Description:
For(i=0; i < 2; ++i)
{
Database -> Reverse Engineering;

Configure Connection;

Next;

Next;

Select schema mysql;

Next;

Next;

Show Filters;

Move the tables a little bit from left to right;

Close Windows by pressing "X" at the top of the Window;
}

Database -> Reverse Engineering;

Configure Connection;

Next;

No you will get Segmentation fault:

(mysql-workbench-bin:22735): Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertion `selection->type != GTK_SELECTION_MULTIPLE' failed
** Message: item_activated: 0x30d4920 -> 'plugin:db.plugin.database.rev_eng'
** Message: unhandled message 4: db.plugin.database.rev_eng finished in 0,00s

Segmentation fault

How to repeat:
See above

Suggested fix:
Seems that something will went wrong when closing terminal window.
[9 Jul 2009 12:24] Susanne Ebrecht
Bug #46065 is the 5.2 version of this bug here.
[29 Jul 2009 7:10] Maksym Yehorov
The bug can not be reproduced.
[29 Jul 2009 8:59] Maksym Yehorov
Despite that the bug can not be reproduced, there were added fixes for gtk mforms. The fixes allow linux mforms implementation to work correctly with threads.
Also was fixed another issue with linux mforms' wizard: Fixed resources lock at mforms' wizard linux impl. Closing wizard by window manager's close button left wizard's main event loop to run, that caused deadlocks at application exit and possibly other run-time errors.
[6 Aug 2009 17:18] Johannes Taxacher
seems fixed (after the changes, mentioned by developer).
fix will be included in 5.1.17
[7 Aug 2009 14:16] Tony Bedford
An entry was added to the 5.1.17 changelog:

When using the Reverse Engineer Database wizard a Segmentation Fault was generated by MySQL Workbench on Ubuntu Linux:

(mysql-workbench-bin:22735): Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertion
`selection->type != GTK_SELECTION_MULTIPLE' failed
** Message: item_activated: 0x30d4920 -> 'plugin:db.plugin.database.rev_eng'
** Message: unhandled message 4: db.plugin.database.rev_eng finished in 0,00s