Bug #68613 dev-libs/glib-2.35.8 causes functional failures in dev-db/mysql-workbench-5.2.47
Submitted: 8 Mar 2013 10:27 Modified: 15 Jun 2013 0:33
Reporter: Tom-Steve Watzke Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.47 OS:Linux (Gentoo (unstable) using latest Gnome)
Assigned to: CPU Architecture:Any
Tags: glib, tree model

[8 Mar 2013 10:27] Tom-Steve Watzke
Description:
After opening a saved model in mysql-workbench, I noticed that I could not edit the columns of tables and tables were not displayed at all. That means no matter what I tried, nothing helped: deleting config files, running with diffrent user.

I was finally starting mysql-workbench from command line and got following output:

$ mysql-workbench -v --log-level=debug3
[...]

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_16TreeModelWrapper) after class_init

(mysql-workbench-bin:2108): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

(mysql-workbench-bin:2108): Gtk-CRITICAL **: IA__gtk_icon_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

After finally downgrading glib to version 2.34.3, I could see those missing panels and items in mysql-workbench. That means that the upgrade is causing all this pain.

Also posted as bug to gentoo bugtracker:
https://bugs.gentoo.org/show_bug.cgi?id=460602

GLib is available under the following source:
https://developer.gnome.org/glib/

Today I updated mysql-workbench to version 5.2.47, but yet no support for given glib version (2.35.8). Still the same error messages, one if them is as follows:

(mysql-workbench-bin:4472): Gtk-CRITICAL **: IA__gtk_tree_view_set_model: assertion `model == NULL || GTK_IS_TREE_MODEL (model)' failed

How to repeat:
1) Update to latest available GLib version 2.35.8
2) Open or Create any model and try to create a table or edit columns of a table in an EER diagram
[15 Jun 2013 0:33] Alfredo Kojima
Running WB in Ubuntu 13.04 with glib 2.36 has no such problems.