aMule Bug Tracker - aMule
View Issue Details
0000026aMuleMiscpublic2004-04-17 07:312004-05-27 00:23
stefanero 
 
normalcrashN/A
closedopen 
 
 
0000026: well it crashed ;)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 19132)]
0x081bcd8d in CUpDownClient::IsUpPartAvailable (this=0xa15b6d0, iPart=0) at updownclient.h:279
279 bool IsUpPartAvailable(uint16 iPart) {return ( (iPart >= m_nUpPartCount) || (!m_abyUpPartStatus) )? 0:m_abyUpPartStatus[iPart];}
(gdb) bt
#0 0x081bcd8d in CUpDownClient::IsUpPartAvailable (this=0xa15b6d0, iPart=0) at updownclient.h:279
0000001 0x081bc521 in CKnownFile::UpdatePartsInfo (this=0x8f1f738) at KnownFile.cpp:1269
0000002 0x08289209 in CUpDownClient::ProcessExtendedInfo (this=0xa9df4d0, data=0xbffff6e0,
    tempreqfile=0x8f1f738) at UploadClient.cpp:591
0000003 0x0814151e in CClientReqSocket::ProcessExtPacket (this=0xb2a2c68,
    packet=0xaf1e758 "áð\033=Ç0ëxÏ\200Ú\236äªÂÁXW", size=33, opcode=146 '\222') at ListenSocket.cpp:882
0000004 0x08142c05 in CClientReqSocket::PacketReceived (this=0xb2a2c68, packet=0x9ccfa80)
    at ListenSocket.cpp:1201
0000005 0x081461cc in CEMSocket::OnReceive (this=0xb2a2c68, nErrorCode=0) at EMSocket.cpp:283
0000006 0x08142c5d in CClientReqSocket::OnReceive (this=0xb2a2c68, nErrorCode=0) at ListenSocket.cpp:1215
0000007 0x0829a210 in CamuleDlg::socketHandler (this=0x8641028, event=@0xb8af938) at amuleDlg.cpp:430
0000008 0x402d1e62 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
0000009 0x402d1c8f in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
0000010 0x402d1bcb in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x40288759 in wxAppBase::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
0000012 0x4023607b in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
0000013 0x40628fa0 in g_timeout_add () from /usr/lib/libglib-1.2.so.0
0000014 0x4062803d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000015 0x406284f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000016 0x40628724 in g_main_run () from /usr/lib/libglib-1.2.so.0
0000017 0x4054ec3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
0000018 0x402369f2 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
0000019 0x40288610 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
0000020 0x402370cd in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
0000021 0x08292b46 in main (argc=1, argv=0xbffffaf4) at amule.cpp:115
CVS from 16.04.2004 -- around 8pm
sorry I forgot the bt full...
No tags attached.
Issue History
2004-04-17 07:31stefaneroNew Issue
2004-04-17 22:18Jacobo221Note Added: 0000037
2004-04-20 10:00XaignarCategory => Misc
2004-05-27 00:23XaignarStatusnew => closed
2004-05-27 00:23XaignarNote Added: 0000074

Notes
(0000037)
Jacobo221   
2004-04-17 22:18   
From other reports I've seen, looks like the random socket bug.
I'd say http://www.amule.org/abugs/bug_view_page.php?bug_id=0000027 [^] and http://www.amule.org/abugs/bug_view_page.php?bug_id=0000028 [^] too.
(0000074)
Xaignar   
2004-05-27 00:23   
Not a random socket bug, but a IsUpPartAvailable bug, which happens due to access on a invalid or NULL pointer. It's beeing looked after.
Oh, and in the future, please only post backtraces in the backtraces forum. ;)

Cheers,
 Xaignar