Bug #60640 Workbench crashs very often
Submitted: 25 Mar 2011 16:04 Modified: 3 Jun 2011 2:25
Reporter: Diogo Domanski Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.33b OS:Linux (Ubuntu 10.04, UBUNTU 10.10)
Assigned to: CPU Architecture:Any
Tags: crash, modeling tool, workbench

[25 Mar 2011 16:04] Diogo Domanski
Description:
When using Workbench, the application crashes and terminates unexpectedly very often during a variety of different actions. For example:

- In modeling tool, if I double click an entity to edit its columns
- In SQL editor, if I right click an entity and choose "Alter table"

These actions are what I do more frequently.

How to repeat:
- In modeling tool, double click an entity to edit its columns
- In SQL editor, right click an entity and choose "Alter table"
[26 Mar 2011 11:14] Valeriy Kravchuk
I get a crash with 5.2.33 (connected to local 5.1.41 server) on 32-but Ubuntu 10.04 every time I try to ALTER table in SQL Editor. This is what I get when start workbench from the terminal:

openxs@ubuntu:~$ mysql-workbench 2>&1 >/tmp/trace.txt
** Message: query.explain built-in command is being overwritten

(mysql-workbench-bin:8449): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead

(mysql-workbench-bin:8449): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(mysql-workbench-bin:8449): Gtk-CRITICAL **: _gtk_style_peek_property_value: assertion `GTK_IS_STYLE (style)' failed
Segmentation fault
[26 Mar 2011 11:15] Valeriy Kravchuk
/tmp/trace.txt, see above

Attachment: trace.txt (text/plain), 53.99 KiB.

[4 Apr 2011 15:48] JR Wilbert
For me it only seems to happen in KDE when the GTK+ Style is set to QtCurve. Changing the GTK+ Style to Human or running workbench in Gnome stopped the issue for me. 

Also it didn't happen with all tables but it always happened with the attached table
[4 Apr 2011 15:49] JR Wilbert
Bad.txt

Attachment: bad.txt (text/plain), 2.61 KiB.

[4 Apr 2011 16:05] Diogo Domanski
It seems that has something to do with scrolled window. See error message below:

(mysql-workbench-bin:14663): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non scrollable widget use gtk_scrolled_window_add_with_viewport() instead
Segmentation fault
[5 Apr 2011 22:14] Alfredo Kojima
Diogo, what gtk/gnome theme do you use?
[6 Apr 2011 12:52] Diogo Domanski
Hi Alfredo,

Currently I'm using Macbuntu-10.10. I've tested running Workbench with Ambience Theme (Ubuntu's 10.10 default theme) and I realized you were right: the crash did not occur anymore (at least when selecting alter table option).

I would appreciate a lot if I could use Workbench with Macbuntu theme - prior versions worked fine.

Thanks
[24 Apr 2011 14:34] Alfredo Kojima
bug #60573 is a duplicate
[8 May 2011 17:27] Alfredo Kojima
bug #60553 is a duplicate
[3 Jun 2011 2:25] Paul DuBois
Noted in 5.2.34 changelog.

Several crashes occurred under KDE with certain GTK+ themes.