aMule Forum

English => Backtraces => Topic started by: nolodude on February 01, 2005, 08:41:11 PM

Title: crashs after couple of hours
Post by: nolodude on February 01, 2005, 08:41:11 PM
aMule 2.0.0rc8 In Ubuntu/Debian, about ten files in download... what else? I have wxGTK and wxBase from this page http://www.amule.org/wiki/index.php/Compilation_Installation because I couldn't get amule to work when I installed it via package manager, got wrong version of wxGTK that way or something like that...

Anyway, backtrace in gdb looks like this...

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1085670528 (LWP 5939)]
0x080d7469 in CClientReqSocket::ProcessExtPacket ()
Code: [Select]
(gdb) bt
#0  0x080d7469 in CClientReqSocket::ProcessExtPacket ()
#1  0x080dba80 in CClientReqSocket::PacketReceived ()
#2  0x080dede4 in CEMSocket::OnReceive ()
#3  0x080dc3ce in CClientReqSocketHandler::ClientReqSocketHandler ()
#4  0x402ef977 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so
#5  0x402ef793 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so
#6  0x402ef6c6 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_gtk-2.4.so
#7  0x402b1291 in wxAppBase::ProcessPendingEvents ()
   from /usr/lib/libwx_gtk-2.4.so
#8  0x40250ce4 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so
#9  0x407cec0a in g_timeout_add () from /usr/lib/libglib-1.2.so.0
#10 0x407cdb37 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#11 0x407cdfff in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x407ce2e3 in g_main_run () from /usr/lib/libglib-1.2.so.0
#13 0x406e5f53 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#14 0x402517f9 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so
#15 0x402b1117 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so
#16 0x40251f5b in wxEntry () from /usr/lib/libwx_gtk-2.4.so
#17 0x0825f55b in main ()
Code: [Select]
(gdb) bt full
#0  0x080d7469 in CClientReqSocket::ProcessExtPacket ()
No symbol table info available.
#1  0x080dba80 in CClientReqSocket::PacketReceived ()
No symbol table info available.
#2  0x080dede4 in CEMSocket::OnReceive ()
No symbol table info available.
#3  0x080dc3ce in CClientReqSocketHandler::ClientReqSocketHandler ()
No symbol table info available.
#4  0x402ef977 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#5  0x402ef793 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#6  0x402ef6c6 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#7  0x402b1291 in wxAppBase::ProcessPendingEvents ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#8  0x40250ce4 in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#9  0x407cec0a in g_timeout_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
---Type to continue, or q to quit---
#10 0x407cdb37 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#11 0x407cdfff in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0x407ce2e3 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x406e5f53 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#14 0x402517f9 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#15 0x402b1117 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#16 0x40251f5b in wxEntry () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#17 0x0825f55b in main ()
No symbol table info available.
Title: Re: crashs after couple of hours
Post by: Kry on February 01, 2005, 10:27:13 PM
Ya, fixed on CVS.
Title: Re: crashs after couple of hours
Post by: phoenix on February 01, 2005, 10:38:16 PM
nolodude,

Try a recent cvs tarball. Get one here and compile it:
http://amule.hirnriss.net/

In the remote case that the bug is still present :) follow these instructions to generate a proper backtrace:
http://www.amule.org/wiki/index.php/Backtraces

And then post it here. We need debug information compiled in the program in order to deal with the problem.

Cheers!
Title: Re: crashs after couple of hours
Post by: nolodude on February 01, 2005, 11:59:14 PM
Damn, I totally forgot debug when compiling, sorry about that...

Thanks guys! I'll get one from cvs next.