Hi all,
This is my first post in this forum.
I have a Dell laptop latitude D630 and the Mandriva 2009.1 distribution fully implemented.
The result of the command "uname -a" gives:
Linux localhost 2.6.29.6-desktop-2mnb #1 SMP Sun Aug 16 23:23:47 EDT 2009 i686 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.2Hz GNU/Linux
I downloaded amule 2.2.6 and wxGTK2 v2.8.10. Compiled nicely.
After some crashes, I decided to follow the instructions to make an executable with a useful backtrace.
I run amule using gdb. It run for several hours until it crashed. The results of the backtrace follows:
%%% BEGIN BACKTRACE %%%
Terminated after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
* Could not get symbol names for backtrace
backtrace:
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb3b3db90 (LWP 9632)]
0xffffe424 in __kernel_vsyscall ()
--------------------------------------------------
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb73fbc00 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb73fd668 in abort () at abort.c:88
#3 0x083d28dd in OnUnhandledException () at MuleDebug.cpp:103
#4 0xb7610495 in __cxxabiv1::__terminate (handler=0x83d256c <OnUnhandledException()>)
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:43
#5 0xb76104d2 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:53
#6 0xb761060a in __cxa_throw (obj=0xb7644910, tinfo=0x8604eac, dest=0xb7611110 <~bad_alloc>)
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:76
#7 0xb7611233 in operator new (sz=36) at ../../../../libstdc++-v3/libsupc++/new_op.cc:63
#8 0x083cd47d in CTimerEvent::Clone (this=0xb3b3d31c) at Timer.cpp:158
#9 0xb772fb65 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x08187186 in wxPostEvent (dest=0x9e200d8, event=@0xb3b3d31c) at /usr/include/wx-2.8/wx/event.h:2565
#11 0x083cd854 in CTimerThread::Entry (this=0x9ecac70) at Timer.cpp:68
#12 0xb772e423 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb772e49d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb804c315 in start_thread () from /lib/i686/libpthread.so.0
#15 0xb74ae25e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
------------------------------------------------
(gdb) bt full
#0 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb73fbc00 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
pid = -1219362828
selftid = 9632
#2 0xb73fd668 in abort () at abort.c:88
act = {__sigaction_handler = {sa_handler = 0xbec42b0, sa_sigaction = 0xbec42b0}, sa_mask = {__val = {0, 1, 1,
3014906132, 3014906120, 3077468564, 3078190360, 4294967295, 3014906040, 3078150656, 3014906192, 3087623808,
134712426, 3077468694, 0, 0, 0, 3078150656, 3078150656, 1, 3014906088, 3077453603, 3074680276, 200032944, 4,
3077908600, 3074682884, 200032944, 3075604468, 3075604468, 200032944, 3075608896}}, sa_flags = 0,
sa_restorer = 0xb743eed5 <__libc_free+53>}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x083d28dd in OnUnhandledException () at MuleDebug.cpp:103
t = (class std::type_info *) 0x8604eac
output = (FILE *) 0xb7520560
#4 0xb7610495 in __cxxabiv1::__terminate (handler=0x83d256c <OnUnhandledException()>)
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:43
No locals.
#5 0xb76104d2 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:53
No locals.
#6 0xb761060a in __cxa_throw (obj=0xb7644910, tinfo=0x8604eac, dest=0xb7611110 <~bad_alloc>)
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:76
header = <value optimized out>
#7 0xb7611233 in operator new (sz=36) at ../../../../libstdc++-v3/libsupc++/new_op.cc:63
handler = <value optimized out>
p = <value optimized out>
#8 0x083cd47d in CTimerEvent::Clone (this=0xb3b3d31c) at Timer.cpp:158
No locals.
#9 0xb772fb65 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
No locals.
#10 0x08187186 in wxPostEvent (dest=0x9e200d8, event=@0xb3b3d31c) at /usr/include/wx-2.8/wx/event.h:2565
No locals.
#11 0x083cd854 in CTimerThread::Entry (this=0x9ecac70) at Timer.cpp:68
---Type <return> to continue, or q <return> to quit---
now = 1117055067
sinceLast = 0
timeout = 100
evt = {<> = {<No data fields>}, <No data fields>}
lastEvent = 1117055167
#12 0xb772e423 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No locals.
#13 0xb772e49d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
No locals.
#14 0xb804c315 in start_thread () from /lib/i686/libpthread.so.0
No symbol table info available.
#15 0xb74ae25e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
No locals.
-------------------------------------------------------------------------
(gdb) thread apply all bt
Thread 4 (Thread 0xb3b3db90 (LWP 9632)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb73fbc00 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb73fd668 in abort () at abort.c:88
#3 0x083d28dd in OnUnhandledException () at MuleDebug.cpp:103
#4 0xb7610495 in __cxxabiv1::__terminate (handler=0x83d256c <OnUnhandledException()>)
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:43
#5 0xb76104d2 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:53
#6 0xb761060a in __cxa_throw (obj=0xb7644910, tinfo=0x8604eac, dest=0xb7611110 <~bad_alloc>)
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:76
#7 0xb7611233 in operator new (sz=36) at ../../../../libstdc++-v3/libsupc++/new_op.cc:63
#8 0x083cd47d in CTimerEvent::Clone (this=0xb3b3d31c) at Timer.cpp:158
#9 0xb772fb65 in wxEvtHandler::AddPendingEvent () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x08187186 in wxPostEvent (dest=0x9e200d8, event=@0xb3b3d31c) at /usr/include/wx-2.8/wx/event.h:2565
#11 0x083cd854 in CTimerThread::Entry (this=0x9ecac70) at Timer.cpp:68
#12 0xb772e423 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb772e49d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb804c315 in start_thread () from /lib/i686/libpthread.so.0
#15 0xb74ae25e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 2 (Thread 0xb4b3fb90 (LWP 9370)):
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb8053466 in nanosleep () from /lib/i686/libpthread.so.0
#2 0xb7734908 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3 0xb7734931 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4 0xb772c97d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x081f2961 in UploadBandwidthThrottler::Entry (this=0xb63fd08) at UploadBandwidthThrottler.cpp:324
#6 0xb772e423 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7 0xb772e49d in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8 0xb804c315 in start_thread () from /lib/i686/libpthread.so.0
#9 0xb74ae25e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Thread 1 (Thread 0xb674d8e0 (LWP 8974)):
---Type <return> to continue, or q <return> to quit---
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb804ca07 in pthread_join () from /lib/i686/libpthread.so.0
#2 0xb772d37b in wxThreadInternal::Wait () from /usr/lib/libwx_baseu-2.8.so.0
#3 0xb772d443 in wxThread::Wait () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x08186abc in CMuleThread::Stop (this=0x9ecac70) at MuleThread.h:75
#5 0x083cd514 in CTimer::Stop (this=0xb4ceec8) at Timer.cpp:141
#6 0x083cd54f in ~CTimer (this=0xb4ceec8) at Timer.cpp:89
#7 0x082a0221 in CamuleGuiApp::OnExit (this=0x9e200d8) at amule-gui.cpp:245
#8 0xb76ca67a in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#9 0xb76ca817 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x082a0dcf in main (argc=Cannot access memory at address 0x0
) at amule-gui.cpp:95
#0 0xffffe424 in __kernel_vsyscall ()
%%% END BACKTRACE %%%
Hope that this backtrace will help to the gurus of amule to catch the error.
Thanks in advance.