aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 1.2.5 crash  (Read 2646 times)

werner

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 47
1.2.5 crash
« on: February 12, 2004, 06:49:03 AM »

I had to wait a whole 27 hours for the damn thing to crash.
But finally it did :-)

(1.2.5, no user interaction at time of crash, switched to server
page, as far as I recall.)

- Werner

Program received signal SIGSEGV, Segmentation fault.
0x080afc76 in CClientReqSocket::ProcessPacket(char*, unsigned, unsigned char) (
    this=0x93bd000,
    packet=0x97b89b0 "Ü\234\023BÜ\234\023B\223òN\\ãÓ\212úOÝ(\001", size=713,
    opcode=70 'F') at ListenSocket.cpp:446
446                                             if (client->reqfile->IsStopped() || client->reqfile->GetStatus()==PS_PAUSED || client->reqfile->GetStatus()==PS_ERROR)
 {

(gdb) bt
#0  0x080afc76 in CClientReqSocket::ProcessPacket(char*, unsigned, unsigned char) (this=0x93bd000, packet=0x97b89b0 "Ü\234\023BÜ\234\023B\223òN\\ãÓ\212úOÝ(\001", size
=713, opcode=70 'F') at ListenSocket.cpp:446
#1  0x080b363d in CClientReqSocket::PacketReceived(Packet*) (this=0x93bd000, packet=0x97be978) at ListenSocket.cpp:975
#2  0x080b65db in CEMSocket::OnReceive(int) (this=0x93bd000, nErrorCode=0) at EMSocket.cpp:282
#3  0x080b36d0 in CClientReqSocket::OnReceive(int) (this=0x93bd000, nErrorCode=0) at ListenSocket.cpp:1003
#4  0x080b66a1 in CEMSocket::SetDownloadLimit(unsigned) (this=0x93bd000, limit=1121) at EMSocket.cpp:399
#5  0x081855dc in CPartFile::Process(unsigned) (this=0x8c38a28, reducedownload=200) at PartFile.cpp:1174
#6  0x080ee349 in CDownloadQueue::Process() (this=0x8baa630) at DownloadQueue.cpp:354
#7  0x081f7402 in TimerProc() () at UploadQueue.cpp:640
#8  0x0820307f in CamuleDlg::OnUQTimer(wxTimerEvent&) (this=0x8541de0, evt=@0xbffff720) at amuleDlg.cpp:301
#9  0x402ba306 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
#10 0x402ba133 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
#11 0x40352fb7 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so
#12 0x40276c38 in timeout_callback () from /usr/lib/libwx_gtk-2.4.so
#13 0x40637691 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#14 0x40636773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#15 0x40636d39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#16 0x40636eec in g_main_run () from /usr/lib/libglib-1.2.so.0
#17 0x40552333 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#18 0x40232ca2 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so
#19 0x402848dc in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so
#20 0x40233389 in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so
#21 0x081fbe84 in main (argc=1, argv=0xbffff9b4) at amule.cpp:97
#22 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6

(gdb) bt full
#0  0x080afc76 in CClientReqSocket::ProcessPacket(char*, unsigned, unsigned char) (this=0x93bd000, packet=0x97b89b0 "Ü\234\023BÜ\234\023B\223òN\\ãÓ\212úOÝ(\001", size
=713, opcode=70 'F') at ListenSocket.cpp:446
No locals.
#1  0x080b363d in CClientReqSocket::PacketReceived(Packet*) (this=0x93bd000, packet=0x97be978) at ListenSocket.cpp:975
No locals.
#2  0x080b65db in CEMSocket::OnReceive(int) (this=0x93bd000, nErrorCode=0) at EMSocket.cpp:282
        toCopy = 713
        GlobalReadBuffer = "\233yè \2168ã\212(ã\221ù\037\215øß\232Hf\222\032cŠ9$\212 Ñìj\030x3NæùNæø¹¹ss\\ÀÞBwŽïe+Rµ*\225\224Ê ÖÚmŽ\222HärªÕN§Z\005\001d²f3\005B¢Z¶RJ
(¡\036Þ¡\036ÞîYܰ\020^\b_\221*#h\027\201x\\/;\235\216G\ff:Õi8\234\200ÀJ\205J].)\024iŽÜN*\027oCCÝ¡ÑBáÓBàÚ5Žk\r4Æ6ulêÚ©ª\233 Õ¢Ñ\221H\233N,\236Md²×k«uµ*\225\f\206\221Èñ
\230ËÎ\006My\201'1K\v1K"...
        readMax = 1121
        ret = 1121
        rptr = 0x82ee6c1 "Ê\022\203ñ>\02626\02626œ&¯I¹^\036.\020i\006\220¡áS\205B©ŽØ,\026ÌfF£Z\035\fj4S)\203\001\221Øì¯)\214r\223\005îRX»\001Ó\227\001Ó\232h\221\236$W
\017U\207Jô¯S}fúÍ&\225ªÒM&ÒiZm18\233\225Ê\221H»\035\205d³R\e\r\214©[±\225#v>y\022>y\fEÏ\rsØ\236\006Mú±«\ni\024Â6\233M¶ÚQ)Qš\221\b\216\027\nm7Qš\225\n\216Dã\214Ök¿æåø\
fäœEümAühàÝ87^\225*É® ï\r\\\032ž\026\213N\027\f²Y\035\216©\024\221"...
        rend = 0x82ee7c1 "Y \\®7\e\220º^\222©\224\226/\004²Åà\221þÅýþÉþ\2355§MkzºŸ¯\b \210TPš«\226Ê\225KE£!\220ª\225MFŠw;%\222Çc\204b2\206\035\016+\235\030\005S\233\0
01\207:\021\207:\023ͱólQ\220äHÏ.òóŽghéŽÚ\235L²I \220\030ÌuªÕ\016\206®W0ØjÅZhÄb\202MŠpYŽÏ\"R#\"V#JâÒž³^ܮʬ+SÖ§°\030\tŽÝn*°Ø4\232I\224Ìn7mÖ€\222UºÛQPè§Y©Ôû=9ÚV1ÚV1%`
IX\034\215\227E\215TÕN\223"...
#3  0x080b36d0 in CClientReqSocket::OnReceive(int) (this=0x93bd000, nErrorCode=0) at ListenSocket.cpp:1003
No locals.
#4  0x080b66a1 in CEMSocket::SetDownloadLimit(unsigned) (this=0x93bd000, limit=1121) at EMSocket.cpp:399
No locals.
#5  0x081855dc in CPartFile::Process(unsigned) (this=0x8c38a28, reducedownload=200) at PartFile.cpp:1174
        limit = 1121
        kBpsClient = 5.6087389
        cur_src = (CUpDownClient *) 0x92e7320
        download_state = 0 '\0'
        sl = 0
        old_trans = 1
        dwCurTick = 2806735192
        pos1 = (_POSITION *) 0x924b180
        pos2 = (_POSITION *) 0xabf42c0
#6  0x080ee349 in CDownloadQueue::Process() (this=0x8baa630) at DownloadQueue.cpp:354
        cur_file = (class CPartFile *) 0x8c38a28
        pos = (_POSITION *) 0x8c13e50
        downspeed = 200
#7  0x081f7402 in TimerProc() () at UploadQueue.cpp:640
        msPrev1 = 102533494
        msPrev5 = 102532468
        msPrevGraph = 102520025
        msPrevStats = 0
        msPrevSave = 102501459
        msPrevHist = 719258000
        msCur = 102534444
        bStatsVisible = 191
        msGraphUpdate = 140484664
        sStatsUpdate = -1073744272
#8  0x0820307f in CamuleDlg::OnUQTimer(wxTimerEvent&) (this=0x8541de0, evt=@0xbffff720) at amuleDlg.cpp:301
No locals.
#9  0x402ba306 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#10 0x402ba133 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#11 0x40352fb7 in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#12 0x40276c38 in timeout_callback () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#13 0x40637691 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#14 0x40636773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#15 0x40636d39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#16 0x40636eec in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#17 0x40552333 in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#18 0x40232ca2 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#19 0x402848dc in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#20 0x40233389 in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#21 0x081fbe84 in main (argc=1, argv=0xbffff9b4) at amule.cpp:97
No locals.
#22 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
(gdb)

(gdb) p *this
$9 = { = {<> = {}, static sm_classCEMSocket = {}, byConnected = 255 'ÿ', downloadlimit = 0, limitenabled = false, pendingOn
Receive = false, pendingHeader = {0x2729e3
, 0x0, 0x3e
, 0x3e
, 0x3e 0x3e out of bounds>, 0x3e
}, pendingHeaderSize = 0, pendingPacket = 0x0, pendingPacketSize = 0, sendbuffer = 0x0, sendblen = 0, sent = 0,
m_bLinkedPackets = false, controlpacket_queue = {<> = {}, head = 0x0, tail = 0x0, count = 0}, standartpacket_queue = {<> = {}, head =
0x0, tail = 0x0, count = 0}}, static sm_classCClientReqSocket = {}, deletethis = true, timeout_timer = 2806735193, deltimer = 2806735193, hotrank = 16
, client = 0x0, app_prefs = 0x8527080}
Logged