glibc has memory problem, sends SIGABRT
dan@localhost ~ $ gaim
*** glibc detected *** free(): invalid pointer: 0x083550e0 ***
Aborted
dan@localhost ~ $ gdb gaim
GNU gdb 6.3
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 "i386-pc-linux-gnu"...(no debugging
symbols found)
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
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 14913)]
*** glibc detected *** double free or corruption (out): 0x0835f230
***
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 14913)]
0x405670c1 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x405670c1 in kill () from /lib/libc.so.6
#1 0x40036def in pthread_kill () from /lib/libpthread.so.0
#2 0x400371c1 in raise () from /lib/libpthread.so.0
#3 0x40566e60 in raise () from /lib/libc.so.6
#4 0x405681f4 in abort () from /lib/libc.so.6
#5 0x40599c31 in __fsetlocking () from /lib/libc.so.6
#6 0x4059f395 in malloc_usable_size () from /lib/libc.so.6
#7 0x4059fe13 in free () from /lib/libc.so.6
#8 0x41c7142d in operator delete ()
from /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.so.6
#9 0x41b7d28c in Arts::readTypeSeq<Arts::InterfaceDef> ()
from /usr/kde/3.4/lib/libmcop.so.1
#10 0x0db1bf65 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
dan@localhost ~ $
All of these errors occur after gaim has run for a while. This is the 1.5.0 version of gaim compiled from source. The gaim developers claim the issue is with your sound libraries and disabling sound in gaim seems to make the problem go away... supporting this theory.
System info:
localhost dan # uname -a
Linux localhost 2.6.13-gentoo-r3 #1 SMP Tue Oct 18 00:53:09 Local
time zone must be set--see zic i686 Intel(R) Pentium(R) 4 CPU 3.
00GHz GenuineIntel GNU/Linux
localhost dan # gcc -v
Reading specs from /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/
configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.4.4 --
includedir=/usr/lib/gcc/i386-pc-linux-gnu/3.4.4/include --datadir=/usr/
share/gcc-data/i386-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-
data/i386-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i386-
pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i386-pc-
linux-gnu/3.4.4/include/g++-v3 --host=i386-pc-linux-gnu --
build=i386-pc-linux-gnu --disable-altivec --enable-nls --without-
included-gettext --with-system-zlib --disable-checking --disable-
werror --disable-libunwind-exceptions --disable-multilib --disable-
libgcj --enable-languages=c,c++,f77 --enable-shared --enable-
threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
localhost dan # ld -v
GNU ld version 2.15.92.0.2 20040927
glibc version:
glibc-2.3.5-r2
libao version:
libao-0.8.5