aMule Forum
English => Backtraces => Topic started by: jamesp on October 05, 2008, 09:38:33 PM
-
After a few hours use, aMule starts allocating memory and doesn't stop until the kernel refuses, at which point aMule crashes. Backtrace below.
This instance had four files on the download queue, none of them being actively downloaded when the crash occurred. Active upload list of about twenty. Total upload and download bandwidths set to 100kb/s each.
I've kept the core file and the relevant symbols.
-james
Terminated after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
GLib-ERROR **: gmem.c:136: failed to allocate 1048 bytes
aborting...
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6be46d0 (LWP 24120)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb763b101 in raise () from /lib/libc.so.6
#2 0xb763c8e8 in abort () from /lib/libc.so.6
#3 0xb70ff7d5 in g_logv () from /usr/lib/libglib-2.0.so.0
#4 0x00000000 in ?? ()
(gdb) bt full
#0 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb763b101 in raise () from /lib/libc.so.6
No symbol table info available.
#2 0xb763c8e8 in abort () from /lib/libc.so.6
No symbol table info available.
#3 0xb70ff7d5 in g_logv () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#4 0x00000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 4 (Thread 0xb4d44b90 (LWP 24130)):
#0 0xb767e57b in strlen () from /lib/libc.so.6
#1 0xb763d3d5 in getenv () from /lib/libc.so.6
#2 0xb7e38540 in bfd_find_target ()
from /usr/i686-pc-linux-gnu/lib/libbfd-2.18.so
#3 0xb7e34869 in bfd_fopen () from /usr/i686-pc-linux-gnu/lib/libbfd-2.18.so
#4 0xb7e34a06 in bfd_openr () from /usr/i686-pc-linux-gnu/lib/libbfd-2.18.so
#5 0x082a3896 in init_backtrace_info () at MuleDebug.cpp:234
#6 0x082a441d in get_backtrace (n=1) at MuleDebug.cpp:381
#7 0x082a4867 in OnUnhandledException () at MuleDebug.cpp:101
#8 0xb7829185 in ?? ()
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#9 0xb78291c2 in std::terminate ()
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#10 0xb78292fa in __cxa_throw ()
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#11 0xb782973b in operator new ()
from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
#12 0x082a0b9d in CTimerEvent::Clone (this=0xb4d44334) at Timer.cpp:158
#13 0xb794fcc8 in wxEvtHandler::AddPendingEvent ()
from /usr/lib/libwx_baseu-2.8.so.0
#14 0x082a0dd3 in CTimerThread::Entry (this=0x8e5b2c0) at Timer.cpp:68
#15 0xb794dc88 in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_baseu-2.8.so.0
#16 0xb794dcfd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#17 0xb7ee418b in start_thread () from /lib/libpthread.so.0
#18 0xb76d309e in clone () from /lib/libc.so.6
Thread 2 (Thread 0xb5d46b90 (LWP 24128)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb7eeb7f6 in nanosleep () from /lib/libpthread.so.0
#2 0xb7953996 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3 0xb79539c1 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4 0xb794c36d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x0816fa76 in UploadBandwidthThrottler::Entry (this=0x8d05b00)
at UploadBandwidthThrottler.cpp:324
#6 0xb794dc88 in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_baseu-2.8.so.0
#7 0xb794dcfd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8 0xb7ee418b in start_thread () from /lib/libpthread.so.0
#9 0xb76d309e in clone () from /lib/libc.so.6
Thread 1 (Thread 0xb6be46d0 (LWP 24120)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb763b101 in raise () from /lib/libc.so.6
#2 0xb763c8e8 in abort () from /lib/libc.so.6
#3 0xb70ff7d5 in g_logv () from /usr/lib/libglib-2.0.so.0
#4 0x00000000 in ?? ()
(gdb)