After updating mysql from 4.0.25 to 4.1.14 I also wanted to upgrade mysql-query-browser. The ebuild went fine but calling the programm yields an immediate segfault. As a side note: sad, that mysqlcc is not around anymore. Reproducible: Always Steps to Reproduce: 1. emerge mysql-query-browser in version 1.1.14 2. start mysql-query-browser in shell Actual Results: shell> mysql-query-browser /usr/bin/mysql-query-browser: line 20: 30755 Segmentation fault $PRG-bin
Have you run revdep-rebuild after upgrading mysql? If you have and it still segfaults, then attach a backtrace and reopen then. http://www.gentoo.org/doc/en/bugzilla-howto.xml#doc_chap2
Hi, actually I emerged mysql-query-browser after upgrading mysql manually, and afterwards I did a revdep-rebuild to find the other packages which I also emerged manually (I prefer the manual emerging to any automatism). The problem still exists (I hoped I had expressed the order of emerging in my first post. Sorry if I were vage.) To get a backtrace I recompiled mysql-query-browser with -g, dumped a core and called gdb with mysql-query-browser-bin and the core file: #0 0xb7dc0dc9 in pthread_mutex_lock () from /lib/libpthread.so.0 (gdb) backtrace #0 0xb7dc0dc9 in pthread_mutex_lock () from /lib/libpthread.so.0 #1 0xb6d10f10 in free () from /lib/libc.so.6 #2 0xb6e6b441 in operator delete(void*) () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 #3 0xb6e4c73f in std::string::_Rep::_M_destroy(std::allocator<char> const&) () from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 #4 0x0813b178 in MGOptions::get_user_config_dir() () #5 0x0813b1b3 in MGOptions::build_path_to(std::string const&) () #6 0x0813b291 in MGOptions::load(std::string const&) () #7 0x0809f555 in main () I hope, that helps
I have also exactly the same problem, my friend too. My settings: Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13.2 i686) ================================================================= System uname: 2.6.13.2 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 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.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -mfpmath=sse -ffast-math -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlay/custom" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 16bit X aac aalib aavm accounting acl acpi acpi4linux activefilter ada aim alsa amuled animation apache2 artworkextra async audiofile automount avi bash-completion beepmp berkdb bitmap-fonts bluetooth bmp bonobo browserplugin buffysize bzip2 c3p0 cairo cdr cdrom chm chroot clisp crypt cscope cups curl dba dbus dga dhcp dict divx djvu dnd doc dpms dri dvb dvd dvdread dvi eds encode esd ethereal evo evo2 examples extensions extraicons extras fam fastcgi ffmpeg firefox flac gaim gcj gd gd-external gg gif gimp gimpprint glibc-omitfp glitz glx gmail gmailtimestamps gnokii gnome gnome-print gnomedb gnutls gpgme gphoto2 gpm gsf gsm gstreamer gtk gtk2 gtkhtml gvim hal howl icc icq idea idl imlib imlib2 ipv6 irc irda j2ee jabber java javadoc javamail javascript jboss jcs jms jpeg jpeg2k junit jython kadu-modules kadu-voice kcal latex lcd ldap lesstif log4j logitech-mouse lua lzw lzw-tiff mad maildir mailwrapper md5sum mem-cache memcache memlimit mime mmap mmx mng mono mouse mozdevelop mozilla mozsvg mp3 mpeg mpeg2 mpeg4 mplayer mpm-threadpool mppe-mppc msn musepack musicbrainz mysql nautilus ncurses net network new-login nls nntp no-old-linux no_wxgtk1 nomalloccheck nptl nptlonly odbc offensive ogg oggvorbis openexr opengl pam pango pcmcia pcre pda pdf pdfkit pdflib perl pheaders php pic pie png pnp pop postgres postgresql povray ppds print procmail pthreads pwdb python qt quicktime radeon rdesktop readline real regexp rhythmbox rtc ruby samba sametime sasl screenshot sdl session shaper silc slp smime sms snmp soap softmmu spell sql sqlite sqlite3 sse sse-filters sse2 ssl startup-notification struts subversion svg symlink syslog t1lib tcltk tcpd tetex tga theora threads thumbnail tidy tiff tlen truetype truetype-fonts trusted type1-fonts unicode usb userlocales vim vim-pager vim-with-x visualization vorbis wifi win32codecs wmf wxwindows xanim xattr xine xinerama xml xml2 xmlrpc xosd xprint xscreensaver xv xvid yahoo zeroconf zlib video_cards_radeon linguas_pl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL
Just to tell you, this is my problem too. revdep-rebuild dosn't find any problems. I don't know, but maybe this is somehow correlating with a gcc upgrade to 3.4, but I'm not sure, this could be chance too. Martin
Oh, and I have this with 1.1.17
i have the same problem after upgrading to gcc-3.4.4 i have rebuilt my whole world , but can't slove it
and also runs fine!
I was also having an issue with this. I upgraded to mysql 5.0 and had to rebuild query-browser and adminsitrator. After that neither application would work. I'm not sure which package it was but I ran the following: emerge gtkmm libsigc++ gtkhtml glibmm which are some of query-browser and administrators dependancies and now they both can run again. For reference here's my emerge --info Portage 2.1_rc1-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-suspend2-r8 i686) ================================================================= System uname: 2.6.15-suspend2-r8 i686 mobile AMD Athlon(tm) 4 2400+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://gentoo.netnitco.net" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X acpi ads alsa apm arts avi back-completion bash-completion berkdb bitmap-fonts browserplugin cdparanoia cdr cli crypt cups directfb dri dvd dvdr eds emboss encode esd fam foomaticdb fortran gdbm gecko-sdk gif gimpprint gphoto2 gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog java jpeg kde kerberos ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl nsplugin nxclient odbc ogg opengl oss pam pcre pdf pdflib perl png ppds pppd python qt quicktime rdesktop readline reflection ruby samba sasl sdl session spell spl sql ssl subversion tcltk tcpd truetype truetype-fonts type1-fonts udev usb vorbis wifi winbind xml xmms xorg xv zeroconf zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Reopen if you still have problems w/ 1.1.18