Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115540 - dev-db/mysql-query-browser-1.1.17 segfaults after upgrade to x11-libs/gtk+-2.8.9
Summary: dev-db/mysql-query-browser-1.1.17 segfaults after upgrade to x11-libs/gtk+-2.8.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 08:13 UTC by Tim Redman
Modified: 2006-02-23 12:30 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mysql-query-browser.patch (mysql-query-browser.patch,542 bytes, patch)
2006-01-20 06:47 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Redman 2005-12-14 08:13:13 UTC
After an upgrade to x11-libs/gtk+-2.8.9, dev-db/mysql-query-browser-1.1.17
produces the following error:

/usr/bin/mysql-query-browser: line 20:  2364 Segmentation fault      $PRG-bin

gdb produces these details:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1228757328 (LWP 2613)]
0xb771a052 in Gtk::Widget::set_sensitive () from /usr/lib/libgtkmm-2.4.so.1

gdb backtrace:

#0  0xb771a052 in Gtk::Widget::set_sensitive () from /usr/lib/libgtkmm-2.4.so.1
#1  0x08136e7d in MQBookmarkBrowser::bookmark_select ()
#2  0xb7248561 in Glib::SignalProxyNormal::slot0_void_callback ()
   from /usr/lib/libglibmm-2.4.so.1
#3  0xb70dd3af in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#4  0xb70cfa58 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0xb70dd02f in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#6  0xb70dc422 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7  0xb70dc62c in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0xb73f4123 in gtk_tree_selection_select_all ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb740825a in gtk_tree_view_set_model () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb770d542 in Gtk::TreeView::set_model () from /usr/lib/libgtkmm-2.4.so.1
#11 0x0816156e in MGBrowserList::set_store ()
#12 0x08137db9 in MQBookmarkBrowser::MQBookmarkBrowser ()
#13 0x08134979 in MQBookmarks::MQBookmarks ()
#14 0x080e6470 in MQMainWindow::MQMainWindow ()
#15 0x080e68f5 in MQMainWindow::create ()
#16 0x080d6edb in main ()

Version numbers of installed GTK-related packages:

[I--] [  ] dev-cpp/gtkmm-2.2.12 (2)
[I--] [  ] dev-cpp/gtkmm-2.8.1 (2.4)
[I--] [  ] x11-libs/gtkglarea-1.99.0 (2)
[I--] [  ] x11-libs/gtk+-1.2.10-r11 (1)
[I--] [  ] x11-libs/gtk+-2.8.9 (2)
[I--] [  ] x11-themes/gtk-engines-2.6.5 (2)

revdep-rebuild shows no issues.  A re-emerge of gtkmm has no effect, and neither
does a re-emerge of mysql-query-browser.  Any other info can be provided on request.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.davidandgoliathtees.com/gentoo-portage"
USE="x86 X acl alsa apache2 audiofile avi berkdb bitmap-fonts browserplugin
bzip2 cdr chroot crypt cups curl dga divx4linux dv dvd dvdr eds emboss encode
exif expat faad fam ffmpeg flac foomaticdb gd gdbm gif gimpprint glut gmp
gstreamer gtk gtk2 icq idn imagemagick imap imlib innodb java jpeg junit kde
lcms ldap lesstif libg++ libwww live mad maildir mhash mmx mng mozilla mozsvg
mp3 mpeg msn mysql ncurses nptl nptlonly nsplugin ogg oggvorbis opengl oss pam
pcre pdflib perl png ppds python qt quicktime radeon readline recode samba sdl
sensord softmmu spell sse ssl svg svga symlink tcltk tcpd tiff truetype
truetype-fonts type1-fonts udev usb userlocales v4l v4l2 visualization vorbis
xml xml2 xmms xscreensaver xv xvid zlib video_cards_radeon userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Moritz Schmidt 2005-12-18 06:15:44 UTC
same here, updated from gtk+-2.8.8 to 2.8.9, and mysql-query-browser-1.1.17 did a segmentation fault.
downgraded to mysql-query-browser 1.1.14 and even 1.1.12, seg fault again.

went back to gtk+-2.8.8, and mysql-query-browser ( 1.1.12 as well as 1.1.17) works fine again.
Comment 2 Tim Redman 2005-12-18 18:52:15 UTC
I can confirm that masking gtk+-2.8.9, thereby reverting to 2.8.8, does fix the problem, but I haven't been able to figure out what the difference is between the two yet.  So far, diffs on gtk_widget.c on both versions (where the gtk_widget_set_sensitive() function resides) shows nothing so far.
Comment 3 Hugo 2005-12-27 01:53:27 UTC
Also have the same problem. 

I also confirm that the combination gtk+-2.8.8, and mysql-query-browser (1.1.17) seem to work ok.

Comment 4 Jari-Matti Mäkelä 2005-12-29 08:32:36 UTC
Same problem here. Tried gtk+-2.8.9 + [mysql-query-browser-1.1.12 ... mysql-query-browser-1.1.17]. gtk+-2.8.8 works fine.
Comment 5 Gergan Penkov 2006-01-10 17:15:45 UTC
well the same situation here, but I have had seg-faults with mysql-administrator also. Bumping the mm-libs-ebuilds to the latest available stable-versions resolved the mysql-administrator problems - I could now edit the table definitions in schemata (isnt't this part of the mysql-query-browser). But mysql-query-browser still segfaults on start-up :(
Comment 6 Joël 2006-01-13 04:52:12 UTC
Argh.. just found that mysql-query-browser also segfaults with the new x11-libs/gtk+-2.8.10. Back to gtk+ 2.8.8 for now...
Comment 7 Tim Redman 2006-01-13 07:33:19 UTC
(In reply to comment #6)
> Argh.. just found that mysql-query-browser also segfaults with the new
> x11-libs/gtk+-2.8.10. Back to gtk+ 2.8.8 for now...
> 

I can confirm this as well.  According to gdb, it seems to be bombing in the same place.
Comment 8 Hugo 2006-01-13 08:35:43 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Argh.. just found that mysql-query-browser also segfaults with the new
> > x11-libs/gtk+-2.8.10. Back to gtk+ 2.8.8 for now...
> > 
> 
> I can confirm this as well.  According to gdb, it seems to be bombing in the
> same place.
> 

Same here. 

Comment 9 Gergan Penkov 2006-01-20 06:47:47 UTC
Created attachment 77645 [details, diff]
mysql-query-browser.patch

This patch was posted from vincent_bachelier on the forums http://forums.gentoo.org/viewtopic-p-3045455.html#3045455 and it works for me with gtk+-2.8.10, but essentially I don't think it is a good idea to use the program if the code goes on like this everywhere :)
Comment 10 Joël 2006-01-29 11:42:47 UTC
Since the program can't even start with newer GTK+, I think it would be good to include this quick fix in the tree, maybe triggered by a "unofficial-fixes" or "dirty-fixes" USE flag...
Comment 11 Leo 2006-01-31 01:25:44 UTC
aaaaarrrrrgggghhhh I'm getting crazy

as all of you I'm exeriencing the same problem... but if I use gtk+-2.8.8 dev-db/mysql-query-browser-1.1.17 works but I get 
/usr/bin/mysql-administrator: line 18: 15550 Segmentation fault      $PRG-bin
if I upgrade the >gtk+-2.8.8 mysql-administrator work but I get segfault with mysql-query-browser....

Is there a way to make them work somehow together????


Leo
Comment 12 Joël 2006-01-31 02:09:09 UTC
Leo,

Personally I can only get 1.1.14 to work. So I needed to mask both:

>x11-libs/gtk+-2.8.8
=dev-db/mysql-query-browser-1.1.17

Try 1.1.14. Does it work for you ?
Comment 13 Sven Wegener gentoo-dev 2006-02-23 12:30:45 UTC
Thanks, fixed with 1.1.18 which just went into the tree.