aMule Bug Tracker - aMule
View Issue Details
0000042aMuleFeature Requestpublic2004-04-25 22:432004-05-27 00:07
Citroklar 
 
normalcrashrandom
closedopen 
 
 
0000042: CVS from April 25th, 19:32 UTC+1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1078869856 (LWP 12443)]
0x0817eea7 in CUpDownClient::IsPartAvailable(unsigned short) (this=0x93aba28,
    iPart=0) at updownclient.h:281
281 inline bool IsPartAvailable(uint16 iPart) {return( (iPart >= m_nPartCount) || (!m_abyPartStatus) )? 0:m_abyPartStatus[iPart];}
(gdb) bt
#0 0x0817eea7 in CUpDownClient::IsPartAvailable(unsigned short) (
    this=0x93aba28, iPart=0) at updownclient.h:281
0000001 0x0822bcf9 in CPartFile::UpdatePartsInfo() (this=0x897f5b0)
    at PartFile.cpp:2024
0000002 0x0817c1c1 in CUpDownClient::ProcessFileStatus(bool, CSafeMemFile*, CPartFile*) (this=0x946b8c0, bUdpPacket=false, data=0xbffff350, file=0x897f5b0)
    at DownloadClient.cpp:506
0000003 0x08146197 in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned char) (this=0x8eebfb8, packet=0x8923f60 "_\rR\"�032Uw}r\032\216>Y=",
    size=96, opcode=147 '\223') at ListenSocket.cpp:1309
0000004 0x08147772 in CClientReqSocket::PacketReceived(Packet*) (this=0x8eebfb8,
    packet=0x97a9830) at ListenSocket.cpp:1713
0000005 0x0814b445 in CEMSocket::OnReceive(int) (this=0x8eebfb8, nErrorCode=0)
    at EMSocket.cpp:290
0000006 0x08147846 in CClientReqSocket::OnReceive(int) (this=0x8eebfb8,
    nErrorCode=0) at ListenSocket.cpp:1731
0000007 0x0829838f in CamuleDlg::socketHandler(wxSocketEvent&) (this=0x86c2d30,
    event=@0x94bb750) at amuleDlg.cpp:445
0000008 0x402c1e62 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
0000009 0x402c1c8f in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
0000010 0x402c1bcb in wxEvtHandler::ProcessPendingEvents() ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk-2.4.so.0
#11 0x40278759 in wxAppBase::ProcessPendingEvents() ()
   from /usr/lib/libwx_gtk-2.4.so.0
0000012 0x4022607b in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
0000013 0x008fe4ef in g_timeout_add () from /usr/lib/libglib-1.2.so.0
0000014 0x008fd35b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000015 0x008fd846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
0000016 0x008fdaf4 in g_main_run () from /usr/lib/libglib-1.2.so.0
0000017 0x001a56af in gtk_main () from /usr/lib/libgtk-1.2.so.0
0000018 0x402269f2 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
0000019 0x40278610 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
0000020 0x402270cd in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
0000021 0x08290ca6 in main (argc=1, argv=0xbffff854) at amule.cpp:115
(gdb) bt full
#0 0x0817eea7 in CUpDownClient::IsPartAvailable(unsigned short) (
    this=0x93aba28, iPart=0) at updownclient.h:281
No locals.
0000001 0x0822bcf9 in CPartFile::UpdatePartsInfo() (this=0x897f5b0)
    at PartFile.cpp:2024
        i = 0
        pos = 0x91d0630
        sl = 73
        partcount = 97
        flag = false
        count = {<> = {<No data fields>}, <No data fields>}
        cur_src = (CUpDownClient *) 0x93aba28
0000002 0x0817c1c1 in CUpDownClient::ProcessFileStatus(bool, CSafeMemFile*, CPartFile*) (this=0x946b8c0, bUdpPacket=false, data=0xbffff350, file=0x897f5b0)
    at DownloadClient.cpp:506
        nED2KPartCount = 97
        bPartsNeeded = true
        iNeeded = 30
0000003 0x08146197 in CClientReqSocket::ProcessExtPacket(char*, unsigned, unsigned char) (this=0x8eebfb8, packet=0x8923f60 "_\rR\"�032Uw}r\032\216>Y=",
    size=96, opcode=147 '\223') at ListenSocket.cpp:1309
        data_in = {<CMemFile> = {<CFile> = {_vptr.CFile = 0x8311fe8,
      m_fd = -1, m_error = 68, fFilePath = <incomplete type>},
---Type <return> to continue, or q <return> to quit---
    fBuffer = 0x8923f60 "_\rR\"�032Uw}r\032\216>Y=", fLength = 1078594988,
    fGrowBytes = 0, fPosition = 96, fBufferSize = 96, fFileSize = 96,
    deleteBuffer = 0}, <No data fields>}
        reqfilehash = "_\rR\"�032Uw}r\032\216>"
        reqfile = (class CPartFile *) 0x897f5b0
        opcode_in = 80 'P'
0000004 0x08147772 in CClientReqSocket::PacketReceived(Packet*) (this=0x8eebfb8,
    packet=0x97a9830) at ListenSocket.cpp:1713
        bResult = 9
        uRawSize = 96
0000005 0x0814b445 in CEMSocket::OnReceive(int) (this=0x8eebfb8, nErrorCode=0)
    at EMSocket.cpp:290
        bPacketResult = true
        toCopy = 96
        GlobalReadBuffer = "�\000\000\000\2060\"\230�0000006:0000005�R\035��L�237\\x�206&\200p\020H\ab\037Qdpa\eW�\205J\211�\000\000\000\223_\rR\"�032Uw}r\032\216>Y=\000Geheime.Spiele.Junger.M�chen.xxx..(Promoted.by.M.E.G.A.).mpgPa\000�$h#\000\215\f\200\021*\001�\000\000\000\222_\rR\"�032Uw}r\032\216>Xa\000�$h#\000\215\f\200\021*\001\226\000O�"...
        readMax = 2000000
        ret = 198
        rptr = 0x83d9c1d "�"
        rend = 0x83d9c46 "�\210A\037\031tDb�\002�006>o\ew\235ï$\236y\236---Type <return> to continue, or q <return> to quit---
^�201\226p\2049>�/�032�\003.ң[)�\213�E\206�203.�7Wݻ�221eI\004T.6\"�232^\224�Nu\205I\"\b \2207y?Y;0\002\234X�206\f\004\177�H-<\a9n=�\036F})���٨\213f�_��0\232\005Ie\206a\234dB,"
0000006 0x08147846 in CClientReqSocket::OnReceive(int) (this=0x8eebfb8,
    nErrorCode=0) at ListenSocket.cpp:1731
No locals.
0000007 0x0829838f in CamuleDlg::socketHandler(wxSocketEvent&) (this=0x86c2d30,
    event=@0x94bb750) at amuleDlg.cpp:445
        soc = (class CClientReqSocket *) 0x8eebfb8
        current_socket = (struct wxSocketBase *) 0x8eebfb8
0000008 0x402c1e62 in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000009 0x402c1c8f in wxEvtHandler::ProcessEvent(wxEvent&) ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000010 0x402c1bcb in wxEvtHandler::ProcessPendingEvents() ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#11 0x40278759 in wxAppBase::ProcessPendingEvents() ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000012 0x4022607b in wxapp_pending_callback () from /usr/lib/libwx_gtk-2.4.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
0000013 0x008fe4ef in g_timeout_add () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000014 0x008fd35b in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000015 0x008fd846 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000016 0x008fdaf4 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
0000017 0x001a56af in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
0000018 0x402269f2 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000019 0x40278610 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000020 0x402270cd in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
0000021 0x08290ca6 in main (argc=1, argv=0xbffff854) at amule.cpp:115
No locals.
(gdb)
No tags attached.
Issue History
2004-04-25 22:43CitroklarNew Issue
2004-05-27 00:07XaignarStatusnew => closed
2004-05-27 00:07XaignarNote Added: 0000063

Notes
(0000063)
Xaignar   
2004-05-27 00:07   
Ahh yes, the IsPartAvailable crash. Rest assured that I'll be trying to track it down. Oh, and please, in the future, only post backtraces in the backtraces forum. ;)

Cheers,
 Xaignar