aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule-2.0.0rc5 (useful) backtrace  (Read 2710 times)

jovianjake

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.jovianstorm.com
aMule-2.0.0rc5 (useful) backtrace
« on: August 18, 2004, 07:59:08 PM »

Hi,
I've been using aMule-2.0.0rc5 for about  10 days without problems.
Yesterday it crashed. And It crashes everytime I run it, after a short period of time working, between 5 and 10 minutes after I start it.
I recompiled it in order to provide a useful backtrace, here it is whay I saw when it crashed:

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 6761)]
0x0823abc0 in CUpDownClient::GetRequestFile (this=0x0) at updownclient.h:308
308             CPartFile*      GetRequestFile() const { return m_reqfile; }

...and after I wrote bt:

Code: [Select]
(gdb) bt
#0  0x0823abc0 in CUpDownClient::GetRequestFile (this=0x0) at updownclient.h:308
#1  0x08230f9e in CClientReqSocket::ProcessPacket (this=0x8a5c1f8,
    packet=0x8ac3938 "TÓµ@TÓµ@È\231\220\203\226 ­ÞP÷\016\004", size=6344, opcode=70 'F')
    at ListenSocket.cpp:666
#2  0x08238ab4 in CClientReqSocket::PacketReceived (this=0x8a5c1f8, packet=0x8a40fd0) at ListenSocket.cpp:1798
#3  0x0823cd11 in CEMSocket::OnReceive (this=0x8a5c1f8, nErrorCode=0) at EMSocket.cpp:261
#4  0x08238c35 in CClientReqSocket::OnReceive (this=0x8a5c1f8, nErrorCode=0) at ListenSocket.cpp:1826
#5  0x0823cddc in CEMSocket::SetDownloadLimit (this=0x8a5c1f8, limit=3275) at EMSocket.cpp:286
#6  0x0824fd74 in CUpDownClient::SetDownloadLimit (this=0x8a1f288, limit=3275) at BaseClient.cpp:2318
#7  0x083314f0 in CPartFile::Process (this=0x89f0540, reducedownload=121, m_icounter=10 '\n')
    at PartFile.cpp:1613
#8  0x08288bcd in CDownloadQueue::Process (this=0x8892b18) at DownloadQueue.cpp:383
#9  0x083a403c in CamuleApp::OnCoreTimer (this=0x87e0978) at amule.cpp:1723
#10 0x402dfda7 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so
#11 0x402dfbc3 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so
#12 0x40380ef7 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so
#13 0x40291c2d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so
#14 0x406aeec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#15 0x406ae03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#16 0x406ae4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#17 0x406ae724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#18 0x405ba25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#19 0x40241c29 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so
#20 0x402a1547 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so
#21 0x4024238b in wxEntry () from /usr/lib/libwx_gtk-2.4.so
#22 0x0839db94 in main (argc=1, argv=0xbffffa34) at amule.cpp:158

... and finally, after bt full:

Code: [Select]
(gdb) bt full
#0  0x0823abc0 in CUpDownClient::GetRequestFile (this=0x0) at updownclient.h:308
No locals.
#1  0x08230f9e in CClientReqSocket::ProcessPacket (this=0x8a5c1f8,
    packet=0x8ac3938 "TÓµ@TÓµ@È\231\220\203\226 ­ÞP÷\016\004", size=6344, opcode=70 'F')
    at ListenSocket.cpp:666
No locals.
#2  0x08238ab4 in CClientReqSocket::PacketReceived (this=0x8a5c1f8, packet=0x8a40fd0) at ListenSocket.cpp:1798
        bResult = 8
        uRawSize = 6344
#3  0x0823cd11 in CEMSocket::OnReceive (this=0x8a5c1f8, nErrorCode=0) at EMSocket.cpp:261
        bPacketResult = 8
        toCopy = 1283
        GlobalReadBuffer = "ø\220\216ÙÅó$X\211÷e¡G\206rr\213\222¢ÉJ¨\016Û\235)¤F\vÿûÀ\000O\200\005â|ÓË\t5ò½Ï\232\232a\206¾VÁûLM$wÂó?iå\224\232ø¹F&î\234\022¾´ÕOÂå\236\031æè®l\\Õî®@ò*\234£ò\211\000\f\001Q\022@\bF!U\233\n,v\230£¥#\223ÐHs\226÷Rµ½>\235\214\"¾·¼\032\0173Ö\\æ\177\033µ\234ºX²åiý]`d¼{\217R?sz̮μ+bbô]R\232\001Ñò\032¥\027ö\036Fòì#.º\225\226½ë×­ÞݯW!¯/\206¬Ë>\225BGã"...
        readMax = 3275
        ret = 3275
        rptr = 0x85a2323 "=×qjV\t"
        rend = 0x85a2aeb "k(G-\237-ðA\210\220"
#4  0x08238c35 in CClientReqSocket::OnReceive (this=0x8a5c1f8, nErrorCode=0) at ListenSocket.cpp:1826
No locals.
#5  0x0823cddc in CEMSocket::SetDownloadLimit (this=0x8a5c1f8, limit=3275) at EMSocket.cpp:286
No locals.
#6  0x0824fd74 in CUpDownClient::SetDownloadLimit (this=0x8a1f288, limit=3275) at BaseClient.cpp:2318
No locals.
#7  0x083314f0 in CPartFile::Process (this=0x89f0540, reducedownload=121, m_icounter=10 '\n')
    at PartFile.cpp:1613
        limit = 3275
        kBpsClient = 27.070755
        download_state = 0 '\0'
        it = { = {_M_node = 0x8a1b538}, }
        cur_src = (CUpDownClient *) 0x8a1f288
        old_trans = 1
        dwCurTick = 1928738200
#8  0x08288bcd in CDownloadQueue::Process (this=0x8892b18) at DownloadQueue.cpp:383
        cur_file = (class CPartFile *) 0x89f0540
        i = 4
        size = 27
        downspeed = 121
#9  0x083a403c in CamuleApp::OnCoreTimer (this=0x87e0978) at amule.cpp:1723
        msPrev1 = 1114527
        msPrev5 = 1110524
        msPrevSave = 1085155
        msCur = 1114958
#10 0x402dfda7 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#11 0x402dfbc3 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#12 0x40380ef7 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#13 0x40291c2d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#14 0x406aeec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x406ae03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#16 0x406ae4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#17 0x406ae724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#18 0x405ba25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#19 0x40241c29 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#20 0x402a1547 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#21 0x4024238b in wxEntry () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#22 0x0839db94 in main (argc=1, argv=0xbffffa34) at amule.cpp:158
No locals.

There are not any special circumstance. I'm not working in the machine that run amule, so it is the only program explicitly run in that  computer.

Any help to solve this will be appreciated, thanks in advance.
« Last Edit: August 18, 2004, 09:45:31 PM by jovianjake »
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: aMule-2.0.0rc5 (useful) backtrace
« Reply #1 on: August 19, 2004, 01:41:19 AM »

Thanks for the backtrace.
This bug should have been fixed on CVS, so it would be a great help if you could try grabbing a cvs snapshot (http://amule.hirnriss.net/) and testing it. =)

Cheers,
 Xaignar
Logged

jovianjake

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.jovianstorm.com
Re: aMule-2.0.0rc5 (useful) backtrace
« Reply #2 on: August 19, 2004, 12:08:01 PM »

I downloaded the cvs build made yesterday and compiled it directly with the debug options. It's been working all night without problems.
In case it crashes I'll post the Backtrace again.

Thanks for your help ;)
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: aMule-2.0.0rc5 (useful) backtrace
« Reply #3 on: August 19, 2004, 01:22:09 PM »

Glad to be of assistance. :)
Logged