Bug #19379 Unable to lauch binary: segmentation fault
Submitted: 26 Apr 2006 17:01 Modified: 8 Aug 2006 23:13
Reporter: Olivier Clavel Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S1 (Critical)
Version:1.0.6beta OS:Linux (Fedora core4 x86_64)
Assigned to: Alfredo Kojima CPU Architecture:Any

[26 Apr 2006 17:01] Olivier Clavel
Description:
I've tried this with the precompiled i386 binaries, either the rpm or tar.gz versions wich lead to same result:

/usr/bin/mysql-workbench: line 18: 12470 Segmentation fault      $PRG-bin $*

Fedora core 4 x86_64 with Nvidia proprietary driver version 8756 for x86_64

How to repeat:
Launch application
[27 Apr 2006 2:55] MySQL Verification Team
Thank you for the bug report. Same with FC 5 on X86_32.
[28 Apr 2006 15:27] Alfredo Kojima
Please report back whether it works when running it as:
LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/lib mysql-workbench
[1 May 2006 17:04] Michael Caplan
export LD_LIBRARY_PATH=/usr/X11R6/lib  did it for me.  I'm running off of Mandriva 2006
[5 May 2006 10:44] Plamen Mishev
I installed mysql-workbench-1.0.6beta-1.i386.rpm on a new installation of Fedora Core 5.
When I try to run it all I get it a bunch of:

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(mysql-workbench-bin:3129): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed
/usr/bin/mysql-workbench: line 18:  3129 Segmentation fault      $PRG-bin $*

Tried starting it with: LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/lib mysql-workbench
The result is the same.
[9 May 2006 10:00] Olivier Clavel
LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/lib mysql-workbench works after I de-installed the driver shipped by NVIDIA  and replaced it with the correctly packaged proprietary driver from livna.org. The following link should save some time to nvidia card owners: http://rpm.livna.org/livna-switcher.html
[10 May 2006 16:53] Jeremy Knope
This also happens on ubuntu dapper, the LD_LIBRARY_PATH trick doesn't work either.

glib-2.10.2 is installed
[16 May 2006 0:42] Vyacheslav Kvasnitsky
The same issue on SuSE 10.0
LD_LIBRARY_PATH does not work.
[7 Jun 2006 14:04] Raul Maldonado
Same issue with Suse 10.1
[27 Jun 2006 16:01] Shawn Hartsock
Same issue on Slackware 10 with glib2-2.10 and glibc-2.3.6 LD_LIBRARY_PATH export trick doesn't work either.
[26 Jul 2006 19:04] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://www.mysql.com/doc/en/Installing_source_tree.html
[8 Aug 2006 23:13] Alfredo Kojima
I was able to repeat and fix the bug in Ubuntu x86_64, with nvidia drivers.
The problem only shows up with nvidia's OpenGL libraries, which don't seem to like 
multi-threaded use.