Gaim 0.82.1 Segfaults while trying to connect to Yahoo!, AOL, ICQ and Jabber. I had XMMS and two instances of aterm open, one of them logged in as me and the other logged in as root. Reproducible: Always Steps to Reproduce: 1. USE="perl silc" emerge =net-im/gaim-0.82.1 2. run '/usr/bin/gaim', letting it try to connect to Yahoo!, AOL, ICQ and Jabber. Actual Results: Gaim segfaults. GDB output shown below: (gdb) run Starting program: /usr/bin/gaim warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Detaching after fork from child process 27959. Detaching after fork from child process 27960. Detaching after fork from child process 27961. Program received signal SIGSEGV, Segmentation fault. 0x49d63bda in strcmp () from /lib/libc.so.6 Expected Results: It should have connected like normal. [ pts/12 :: root@peter-computer :: Sun Aug 29 16:00:23 PDT 2004 ] /root $ emerge info Portage 2.0.50-r10 (2.6, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.9-rc1) ================================================================= System uname: 2.6.9-rc1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer -fom it-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla /defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/tex mf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/plate x/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer -f omit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm avi berkdb crypt cups directfb doc emacs encode er andom f77 fbcon flac foomaticdb gcj gdbm gif gnome gnutls gpm gtk gtk2 imlib ipv 6 jpeg libg++ libwww mad mikmod mmx monkey motif mpeg ncurses nls nptl objc odbc oggvorbis opengl oss pam pcre pdflib pic png ppds python quicktime readline sdl slang spell sqlite ssl svg svga tcpd tiff truetype usb wxwindows x86 xml xml2 x mms xv zlib"
Have you tried connecting to only one account at a time to see if it's just one? I'm going to assume that you just have gaim auto-connecting at startup, in which case how do you know it has anything to do with your accounts? It could be plugin libs causing problems. Do you have any third party plugins? Most importantly of all, gdb output is not what I need. I need the gdb backtrace.
I set USE="debug perl silc" and re-emerge'd gaim, like so: # USE="debug perl silc" emerge "=net-im/gaim-0.82.1" ANd following the instructions on http://gaim.sourceforge.net/gdb.php, this is what I get: [ pts/1 :: peter@peter-computer :: Tue Aug 31 18:44:09 PDT 2004 ] /home/peter $ gdb gaim GNU gdb 6.2 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) handle SIGPIPE nostop Signal Stop Print Pass to program Description SIGPIPE No Yes Yes Broken pipe (gdb) run Starting program: /usr/bin/gaim warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Detaching after fork from child process 23701. Detaching after fork from child process 23702. Program received signal SIGSEGV, Segmentation fault. 0x40a5f950 in ?? () (gdb) bt #0 0x40a5f950 in ?? () (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/gaim warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. Detaching after fork from child process 23742. Detaching after fork from child process 23743. Program received signal SIGSEGV, Segmentation fault. 0x40a5f950 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y I've tested each protocol individually (not auto-connecting) and it segfaults on every one of them: Yahoo!, AOL, ICQ, and Jabber.
Your backtrace isn't useful at all, it certainly doesn't mention gaim. Here are some other things to try: 1) Make sure you have no third-party plugins in /usr/lib/gaim. This could include gaim-encryption, gaim-snpp, autoprofile, guifications, gaim-xmms-remote, etc. 2) `mv ~/.gaim ~/_gaim` and run gaim again with a clean profile to see if it crashes.
I had the same problem. I removed guifications and gaim starts fine now. Perhaps the new gaim breaks guifications.
I have guifications-2.1 working just fine. Make sure you upgrade to the latest versions.
Well, it seems guificiations was the problem. I removed it, re-emerge'd gaim, and moved my prefs old folder to ~/__gaim, and it seems to be working fine now. I'll try re-emerging the new guificiations later, But for now, I'm a happy geek again ^_^. Thanx to all.