aMule Bug Tracker - aMule
View Issue Details
0000067aMuleTransferpublic2004-06-13 16:142004-06-13 16:24
kenties 
 
normalcrashhave not tried
closedopen 
 
 
0000067: Segmentation fault in CUpDownClient::IsPartAvailable
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 19938)]
0x08118af1 in CUpDownClient::IsPartAvailable (this=0x8959fe8, iPart=0) at updownclient.h:292
292 inline bool IsPartAvailable(uint16 iPart) {return ( (iPart >= m_nPartCount) || (!m_abyPartStatus) )? 0:m_abyPartStatus[iPart];}
(gdb) bt
#0 0x08118af1 in CUpDownClient::IsPartAvailable (this=0x8959fe8, iPart=0) at updownclient.h:292
0000001 0x081d0082 in CPartFile::UpdateAvailablePartsCount (this=0x86ad6a8) at PartFile.cpp:2999
0000002 0x0812803b in CDownloadQueue::RemoveSource (this=0x8559040, toremove=0x88b9ce8, updatewindow=true,
    bDoStatsUpdate=true) at DownloadQueue.cpp:574
0000003 0x0810a0af in CClientList::RemoveClient (this=0x8519100, toremove=0x88b9ce8) at ClientList.cpp:168
0000004 0x080e8d81 in ~CUpDownClient (this=0x88b9ce8) at BaseClient.cpp:234
0000005 0x080d5f75 in CClientReqSocket::Disconnect (this=0x870c860, strReason=@0xbffff890) at ListenSocket.cpp:149
0000006 0x080dfd11 in CClientReqSocket::OnError (this=0x870c860, nErrorCode=7) at ListenSocket.cpp:1770
0000007 0x080e006b in CClientReqSocketHandler::ClientReqSocketHandler (this=0x8a86ca8, event=@0x8739ac0)
    at ListenSocket.cpp:1845
0000008 0x402de667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
0000009 0x402de483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
0000010 0x402de3c6 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x4029ebc1 in wxAppBase::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
0000012 0x4023cf84 in wxWakeUpIdle () from /usr/lib/libwx_gtk-2.4.so.0
0000013 0x4064bfa0 in g_timeout_add () from /usr/lib/libglib-1.2.so.0
0000014 0x4064b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000015 0x4064b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000016 0x4064b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
0000017 0x40571c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
0000018 0x4023da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
0000019 0x4029ea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
0000020 0x4023e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
0000021 0x08235a7c in main (argc=1, argv=0xbffffb94) at amule.cpp:152
(gdb) bt full
#0 0x08118af1 in CUpDownClient::IsPartAvailable (this=0x8959fe8, iPart=0) at updownclient.h:292
No locals.
0000001 0x081d0082 in CPartFile::UpdateAvailablePartsCount (this=0x86ad6a8) at PartFile.cpp:2999
        pos = 0x8958788
        ixPart = 0
        availablecounter = 0 '\0'
        iPartCount = 71
0000002 0x0812803b in CDownloadQueue::RemoveSource (this=0x8559040, toremove=0x88b9ce8, updatewindow=true,
    bDoStatsUpdate=true) at DownloadQueue.cpp:574
        cur_file = (class CPartFile *) 0x86ad6a8
        i = 17
        size = 90
        removed = true
        pos3 = 0x0
        pos4 = 0x86ad6a8
0000003 0x0810a0af in CClientList::RemoveClient (this=0x8519100, toremove=0x88b9ce8) at ClientList.cpp:168
        pos = 0x88b9ef0
0000004 0x080e8d81 in ~CUpDownClient (this=0x88b9ce8) at BaseClient.cpp:234
No locals.
0000005 0x080d5f75 in CClientReqSocket::Disconnect (this=0x870c860, strReason=@0xbffff890) at ListenSocket.cpp:149
No locals.
0000006 0x080dfd11 in CClientReqSocket::OnError (this=0x870c860, nErrorCode=7) at ListenSocket.cpp:1770
        strError = <incomplete type>
0000007 0x080e006b in CClientReqSocketHandler::ClientReqSocketHandler (this=0x8a86ca8, event=@0x8739ac0)
    at ListenSocket.cpp:1845
No locals.
0000008 0x402de667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000009 0x402de483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000010 0x402de3c6 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#11 0x4029ebc1 in wxAppBase::ProcessPendingEvents () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000012 0x4023cf84 in wxWakeUpIdle () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000013 0x4064bfa0 in g_timeout_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000014 0x4064b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000015 0x4064b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000016 0x4064b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000017 0x40571c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
0000018 0x4023da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000019 0x4029ea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000020 0x4023e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000021 0x08235a7c in main (argc=1, argv=0xbffffb94) at amule.cpp:152
No locals.
No tags attached.
Issue History
2004-06-13 16:14kentiesNew Issue
2004-06-13 16:16kentiesNote Added: 0000099
2004-06-13 16:24Jacobo221Note Added: 0000100
2004-06-13 16:24Jacobo221Statusnew => closed

Notes
(0000099)
kenties   
2004-06-13 16:16   
Cvs version (2004-06-08)
(0000100)
Jacobo221   
2004-06-13 16:24   
thanks kenties, but please report backtraces to backtraces forums at http://www.amule-project.net/amule/board.php?boardid=33&sid= [^]
this is a list for reproducible bugs only ;-)
Greetings!