Running GAIM 0.77-r2. When I have ARTS running, and sound method in GAIM is set to ARTS, GAIM segfaults but does not die. It simply doesn't make any sound. When I have sound method in GAIM set to "automatic," GAIM segaults and dies. Reproducible: Always Steps to Reproduce: 1. Start GAIM 2. make sure artsd is running 3. set sound method in GAIM to 'automatic' or 'arts' Actual Results: if sound method is 'automatic' GAIM will crash. if sound method is 'arts' GAIM will print a segfault message, then continue with no sound for that conversation. Expected Results: GAIM should play sounds via ARTS if sound method is set to 'arts'. took@brook grb $ emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-rc3-mm1) ================================================================= System uname: 2.6.6-rc3-mm1 i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -msse2 -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -msse2 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.noved.org/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirrors.tds.net/gentoo http://212.219.247.15/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib"
Created attachment 31408 [details] gdb backtrace when GAIM segfaults
The "No debugging symbols found" messages in your backtrace indicate that you have built gaim without USE="debug". If there are no debugging symbols, the backtrace is pretty much useless. Your backtrace in particular doesn't list any gaim functions or files. Please USE="debug" emerge gaim and try to get a backtrace then.
new backtrace, after re-emerging with commandline: 'USE="debug" emerge /usr/portage/net-im/gaim/gaim-0.77-r2.ebuild' (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 5057. Detaching after fork from child process 5058. Program received signal SIGSEGV, Segmentation fault. 0x4028dee4 in mallopt () from /lib/libc.so.6 (gdb) bt #0 0x4028dee4 in mallopt () from /lib/libc.so.6 #1 0x4028d61e in mallopt () from /lib/libc.so.6 #2 0x4028c813 in malloc () from /lib/libc.so.6 #3 0x4090297a in operator new(unsigned) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 #4 0x408f23b5 in std::__default_alloc_template<true, 0>::allocate(unsigned) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 #5 0x41a6dc8c in ?? () #6 0x00000200 in ?? () #7 0x0846dbd4 in ?? ()
http://gaim.sourceforge.net/gdb.php Please follow the instructions at the bottom of that page regarding backtraces with "malloc()" in them.
Kit is this still an issue? Can you duplicate it in gaim-0.78?
Bug persists in gaim-0.78. gdb gives me this error: "warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers" backtrace for sound method "automatic" #0 0x40290ee4 in mallopt () from /lib/libc.so.6 #1 0x4029061e in mallopt () from /lib/libc.so.6 #2 0x4028e5e2 in _IO_str_pbackfail () from /lib/libc.so.6 #3 0x4028f7b5 in malloc () from /lib/libc.so.6 #4 0x4098574f in operator new(unsigned) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 #5 0x40973489 in std::__default_alloc_template<true, 0>::allocate(unsigned) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 #6 0x4165753c in ?? () #7 0x00000200 in ?? () #8 0x400399d0 in __pthread_initialize () from /lib/libpthread.so.0 #9 0x416566e0 in ?? () #10 0xbfff82f0 in ?? () #11 0x08508be4 in ?? () #12 0x08508be8 in ?? () #13 0xbfff8330 in ?? () #14 0x00000001 in ?? () #15 0xbfff82f0 in ?? () #16 0x00000003 in ?? () #17 0x00000008 in ?? () #18 0x08508b94 in ?? () #19 0x08508b94 in ?? () #20 0xbfff8488 in ?? () #21 0x084f6c80 in ?? () #22 0x084f6a80 in ?? () #23 0x084f6a80 in ?? () #24 0x4003baba in sem_timedwait () from /lib/libpthread.so.0 #25 0x416560f6 in ?? () #26 0xbfff82f0 in ?? ()
Did you remember to build gaim-0.78 with USE="debug"? I don't see anything from gaim in your backtrace either and want to confirm.
Yes. Gaim is built with USE="debug". I've even downgraded to binutils 2.14.90.0.8-r1 and recompiled. No useful debug information.
Created attachment 32497 [details] strace when gaim segfaults
For the record what version of ARTS do you have installed? Some folks in #gaim are having a look. One that I've spoken with uses ARTS just fine, although he says there is a slight delay in the playing.
Just noticed that you are using gcc 3.4.0 and glibc 2.3.3_preBLAH. They may be playing a part in this as well.
using arts 1.2.2. I suppose I could go back to glibc 2.3.2 and just get rid of GCC 3.4.0. I think I've tried compiling gaim with both GCC 3.3.3 and 3.4.0 with similar results.
After switching to glibc-2.3.3.20040420, removing GCC 3.4.0, installing GCC 3.3.3-r6, and re-emerging GAIM, the problem appears to be solved. I have tested GAIM with ARTS running, and GAIM with ARTS running and XMMS playing a song, and I got working sound. Life is beautiful once again.
Good to hear. nosnilmot in #gaim thought of that. kudos to him.