| Summary: | Segfault when GAIM attempts to use ARTS sound | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kit Fenderson-Peters <lists> |
| Component: | Current packages | Assignee: | Gaim Bugs Crew <gaim-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
gdb backtrace when GAIM segfaults
strace when gaim segfaults |
||
|
Description
Kit Fenderson-Peters
2004-05-14 06:21:40 UTC
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. |