aMule Forum

English => Backtraces => Topic started by: dildobaggins on November 27, 2007, 03:38:18 PM

Title: Amule CVS 26 november
Post by: dildobaggins on November 27, 2007, 03:38:18 PM
Hi
I used amule 2.1.3 and, cause I had problems of crashes, I decided to move to cvs. Even here I had crashes, so I decided to post a backtrace of the 26 November cvs, but the crashes repeated from at least august... And even in ubuntu 7.04 (now I use ubuntu 7.10). The crash happens in amuled and amule, so is not X the problem... But in this backtrace (made with gdb) I see many "??".. Shouldn't there be the functions called? Maybe it doesn't even find them... I think the problem is in libc.so.6, but don't hazard anything...
I compiled cvs with: "./configure --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon --enable-amule-gui --enable-debug --disable-optimize --prefix=/root/amulewgdb"


 PS: I installed all the other programs from official repository of ubuntu gutsy, updated every day. The crash happens approximatively any 12 hours... For any question I'm here :D Thank you!!! 


*** glibc detected *** /root/amulewgdb/bin/amuled: corrupted double-linked list: 0x0a963518 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7a38128]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x90)[0xb7a38fc0]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0xb7c016a7]
/root/amulewgdb/bin/amuled[0x80b14a2]
/root/amulewgdb/bin/amuled[0x80b8f38]
/root/amulewgdb/bin/amuled[0x81071fd]
/root/amulewgdb/bin/amuled[0x80b0b71]
/root/amulewgdb/bin/amuled[0x80ba41d]
/usr/lib/libwx_baseu-2.8.so.0(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x35)[0xb7c9bee5]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x8f)[0xb7d440af]
/usr/lib/libwx_baseu-2.8.so.0(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x7d)[0xb7d441fd]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc6)[0xb7d44366]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x70)[0xb7d44890]
/usr/lib/libwx_baseu-2.8.so.0(_ZN12wxAppConsole20ProcessPendingEventsEv+0x5f)[0xb7c9c89f]
/root/amulewgdb/bin/amuled[0x805abc1]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPw+0x6a)[0xb7cd825a]
/usr/lib/libwx_baseu-2.8.so.0(_Z7wxEntryRiPPc+0x37)[0xb7cd8307]
/root/amulewgdb/bin/amuled[0x805ac20]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb79e3050]
/root/amulewgdb/bin/amuled(_ZNK13wxIPV4address11IsLocalHostEv+0x7d)[0x8058f41]
======= Memory map: ========
08048000-0843b000 r-xp 00000000 08:01 25789494   /root/amulewgdb/bin/amuled
0843b000-0843d000 rw-p 003f2000 08:01 25789494   /root/amulewgdb/bin/amuled
0843d000-0d4c1000 rw-p 0843d000 00:00 0          [heap]
b4c00000-b4c21000 rw-p b4c00000 00:00 0
b4c21000-b4d00000 ---p b4c21000 00:00 0
b4d0d000-b4d0e000 ---p b4d0d000 00:00 0
b4d0e000-b550e000 rw-p b4d0e000 00:00 0
b550e000-b550f000 ---p b550e000 00:00 0
b550f000-b5d0f000 rw-p b550f000 00:00 0
b5d0f000-b5d10000 ---p b5d0f000 00:00 0
b5d10000-b6510000 rw-p b5d10000 00:00 0
b6510000-b6511000 ---p b6510000 00:00 0
b6511000-b6d11000 rw-p b6511000 00:00 0
b6d11000-b6d20000 r-xp 00000000 08:01 43974772   /lib/tls/i686/cmov/libresolv-2.6.1.so
b6d20000-b6d22000 rw-p 0000f000 08:01 43974772   /lib/tls/i686/cmov/libresolv-2.6.1.so
b6d22000-b6d24000 rw-p b6d22000 00:00 0
b6d24000-b6d28000 r-xp 00000000 08:01 43974740   /lib/tls/i686/cmov/libnss_dns-2.6.1.so
b6d28000-b6d2a000 rw-p 00003000 08:01 43974740   /lib/tls/i686/cmov/libnss_dns-2.6.1.so
b6d2a000-b6d2c000 r-xp 00000000 08:01 43974750   /lib/libnss_mdns4_minimal.so.2
b6d2c000-b6d2d000 rw-p 00001000 08:01 43974750   /lib/libnss_mdns4_minimal.so.2
b6d49000-b6d4a000 rw-p b6d49000 00:00 0
b6d4a000-b6d4b000 ---p b6d4a000 00:00 0
b6d4b000-b754b000 rw-p b6d4b000 00:00 0
b754b000-b754c000 r--p 00000000 08:01 56165272   /usr/lib/locale/en_US.utf8/LC_NUMERIC
b754c000-b754d000 r--p 00000000 08:01 56165275   /usr/lib/locale/en_US.utf8/LC_TIME
b754d000-b762d000 r--p 00000000 08:01 56165266   /usr/lib/locale/en_US.utf8/LC_COLLATE
b762d000-b762e000 r--p 00000000 08:01 56165270   /usr/lib/locale/en_US.utf8/LC_MONETARY
b762e000-b762f000 r--p 00000000 08:01 56165276   /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b762f000-b7630000 r--p 00000000 08:01 56165273   /usr/lib/locale/en_US.utf8/LC_PAPER
b7630000-b766f000 r--p 00000000 08:01 56165267   /usr/lib/locale/en_US.utf8/LC_CTYPE
b766f000-b7671000 rw-p b766f000 00:00 0
b7671000-b767a000 r-xp 00000000 08:01 56100809   /usr/lib/libgstinterfaces-0.10.so.0.10.0
b767a000-b767b000 rw-p 00008000 08:01 56100809   /usr/lib/libgstinterfaces-0.10.so.0.10.0
b767b000-b767c000 rw-p b767b000 00:00 0
b767c000-b7738000 r-xp 00000000 08:01 56100719   /usr/lib/libglib-2.0.so.0.1400.1
b7738000-b7739000 rw-p 000bc000 08:01 56100719   /usr/lib/libglib-2.0.so.0.1400.1
b7739000-b7773000 r-xp 00000000 08:01 56100769   /usr/lib/libgobject-2.0.so.0.1400.1
b7773000-b7774000 rw-p 0003a000 08:01 56100769   /usr/lib/libgobject-2.0.so.0.1400.1
b7774000-b777b000 r-xp 00000000 08:01 43974776   /lib/tls/i686/cmov/librt-2.6.1.so
b777b000-b777d000 rw-p 00006000 08:01 43974776   /lib/tls/i686/cmov/librt-2.6.1.so
b777d000-b7781000 r-xp 00000000 08:01 56100831   /u
Program received signal SIGABRT, Aborted.
[Switching to Thread -1217988928 (LWP 2156)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb79f7875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb79f9201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a2ee5c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0x0000001c in ?? ()
#5  0xb7a38128 in ?? () from /lib/tls/i686/cmov/libc.so.6
#6  0x00000002 in ?? ()
#7  0xbfacb921 in ?? ()
#8  0xb7af5fb8 in ?? () from /lib/tls/i686/cmov/libc.so.6
#9  0xbfaca047 in ?? ()
#10 0xbfaca284 in ?? ()
#11 0xbfaca27c in ?? ()
#12 0x0bf9f5a8 in ?? ()
#13 0xb7af5fd5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#14 0xbfaca047 in ?? ()
#15 0xb7b14170 in ?? () from /lib/tls/i686/cmov/libc.so.6
#16 0xb7eb9541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0  0xffffe410 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb79f7875 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0xb79f9201 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0xb7a2ee5c in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#4  0x0000001c in ?? ()
No symbol table info available.
#5  0xb7a38128 in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0x00000002 in ?? ()
No symbol table info available.
#7  0xbfacb921 in ?? ()
No symbol table info available.
#8  0xb7af5fb8 in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#9  0xbfaca047 in ?? ()
No symbol table info available.
#10 0xbfaca284 in ?? ()
No symbol table info available.
#11 0xbfaca27c in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x0bf9f5a8 in ?? ()
No symbol table info available.
#13 0xb7af5fd5 in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#14 0xbfaca047 in ?? ()
No symbol table info available.
#15 0xb7b14170 in ?? () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#16 0xb7eb9541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) thread apply all bt

Thread 6 (Thread -1252992112 (LWP 2171)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ebb8fc in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7d4156c in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7d415bf in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7d4227c in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7d4230f in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x0805d1e6 in CTimerThread::Entry (this=0x8bb2cd0) at Timer.cpp:63
#7  0xb7d428d8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7d4294d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7eb746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0xb7aa06de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1227814000 (LWP 2168)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ebe9f6 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0xb7d48148 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7d48171 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7d40cbd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081944ca in UploadBandwidthThrottler::Entry (this=0x8b87d60)
    at UploadBandwidthThrottler.cpp:321
#6  0xb7d428d8 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7d4294d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7eb746b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb7aa06de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread -1217988928 (LWP 2156)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb79f7875 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb79f9201 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7a2ee5c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0x0000001c in ?? ()
#5  0xb7a38128 in ?? () from /lib/tls/i686/cmov/libc.so.6
#6  0x00000002 in ?? ()
#7  0xbfacb921 in ?? ()
#8  0xb7af5fb8 in ?? () from /lib/tls/i686/cmov/libc.so.6
#9  0xbfaca047 in ?? ()
#10 0xbfaca284 in ?? ()
---Type <return> to continue, or q <return> to quit---
#11 0xbfaca27c in ?? ()
#12 0x0bf9f5a8 in ?? ()
#13 0xb7af5fd5 in ?? () from /lib/tls/i686/cmov/libc.so.6
#14 0xbfaca047 in ?? ()
#15 0xb7b14170 in ?? () from /lib/tls/i686/cmov/libc.so.6
#16 0xb7eb9541 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Title: Re: Amule CVS 26 november
Post by: phoenix on November 28, 2007, 01:14:18 AM
dildobaggins,

This is a hard one. glibc itself has deliberately aborted the program (see the abort() call), when it detected a corruption of its internal structure, so it is not properly a crash.

If you have some patience, you could try to run aMule under valgrind:
http://www.amule.org/wiki/index.php/Using_gdb_and_valgrind