Bug #16933 | segmentation fault with latest glib | ||
---|---|---|---|
Submitted: | 31 Jan 2006 13:18 | Modified: | 31 Jan 2006 21:31 |
Reporter: | Scott Douglass | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Query Browser | Severity: | S1 (Critical) |
Version: | 1.1.18 | OS: | Linux (Fedora Core Rawhide) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[31 Jan 2006 13:18]
Scott Douglass
[31 Jan 2006 21:31]
MySQL Verification Team
I was unable for to repeat on FC4. I know it isn't Rawhide but that installation isn't in development stage?
[3 Feb 2006 1:09]
Izaak Branderhorst
It would seem I have the same problem; it gets a seg fault and gdb stops at the same point. Kernel / CPU: Linux 2.6.14.4 #5 PREEMPT i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz GenuineIntel Distribution: Arch Linux I have a feeling it might be a library conflict, since Arch Linux is fairly bleeding edge if you keep your packages up to date (which I have). I'll attach a list of my installed packages in case it helps. I'll also attach a gzip'd strace output of mysql-query-browser-bin (from modifying mysql-query-browser).
[3 Feb 2006 1:12]
Izaak Branderhorst
I forgot to mention that I've confirmed that it doesn't make a difference whether I compile from source or use a binary package (such as mysql-query-browser-1.1.18-linux-i386.tar.gz). They stop at the same point. Also, I'm not allowed to attach any files - if needed I can open a related bug.
[3 Feb 2006 18:50]
Izaak Branderhorst
This is apparently the same bug as #15903 (for 1.1.17) for which someone has already posted a patch. It works for me (modified to work against 1.1.18). --- mysql-query-browser-1.1.18.orig/mysql-query-browser/source/linux/MQBookmarkBrowser.cc 2005-10-13 04:22:40.000000000 -0400 +++ mysql-query-browser-1.1.18/mysql-query-browser/source/linux/MQBookmarkBrowser.cc 2006-02-03 13:35:05.000000000 -0500 @@ -257,7 +257,8 @@ { for (unsigned int i=0; i < _menu.items().size(); i++) _menu.items()[i].set_sensitive(false); - _menu.items()[3].set_sensitive(true); // New Folder + if( _menu.items().size() > 3 ) + _menu.items()[3].set_sensitive(true); // New Folder } }