aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Core dump in CUpDownClient::IsUpPartAvailable  (Read 2420 times)

carlo

  • In probation
  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
    • http://www.xs4all.nl/~carlo17/
Core dump in CUpDownClient::IsUpPartAvailable
« on: January 20, 2004, 04:46:13 PM »

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x080af6d7 in CUpDownClient::IsUpPartAvailable(unsigned short) (this=0x0, iPart=0) at updownclient.h:222
222             bool                    IsUpPartAvailable(uint16 iPart) {return ( (iPart >= m_nUpPartCount) || (!m_abyUpPartStatus) )? 0:m_abyUpPartStatus[iPart];}
(gdb) up
#1  0x080ac13c in CKnownFile::NewAvailPartsInfo() (this=0x8f0ed00) at KnownFile.cpp:167
167                             if (cur_src->IsUpPartAvailable(i))
(gdb) p cur_src
$1 = (CUpDownClient *) 0x0

(gdb) bt full
#0  0x080af6d7 in CUpDownClient::IsUpPartAvailable(unsigned short) (this=0x0, iPart=0) at updownclient.h:222
No locals.
#1  0x080ac13c in CKnownFile::NewAvailPartsInfo() (this=0x8f0ed00) at KnownFile.cpp:167
        i = 0
        pos = 0x93b5910
        partcount = 87
        cur_src = (CUpDownClient *) 0x0
#2  0x0817b025 in CUpDownClient::ProcessUpFileStatus(char*, unsigned) (this=0x90cea10,
    packet=0x91d8c68 "Šw÷î\032\034ùzw@Wl\025Z&ÝW", size=31) at UploadClient.cpp:417
        data = (class CSafeMemFile *) 0x917f8f8
        cfilehash = "Šw÷î\032\034ùzw@Wl\025Z&Ý"
        tempreqfile = (class CKnownFile *) 0x8f0ed00
#3  0x08049039 in CClientReqSocket::ProcessPacket(char*, unsigned, unsigned char) (this=0x9274c50,
    packet=0x91d8c68 "Šw÷î\032\034ùzw@Wl\025Z&ÝW", size=31, opcode=88 'X') at ListenSocket.cpp:282
        reqfileid = "Šw÷î\032\034ùzw@Wl\025Z&Ý"
        data = (CSafeMemFile *) 0x92a63d8
        packet = (Packet *) 0x8bec020
        reqfile = (class CKnownFile *) 0x8f0ed00
        namelength = 70
#4  0x0804d287 in CClientReqSocket::PacketReceived(Packet*) (this=0x9274c50, packet=0x9353e20) at ListenSocket.cpp:975
No locals.
#5  0x080506c1 in CEMSocket::OnReceive(int) (this=0x9274c50, nErrorCode=0) at EMSocket.cpp:282
        toCopy = 31
        GlobalReadBuffer = "ã \000\000\000XŠw÷î\032\034ùzw@Wl\025Z&ÝW\000ÿÿÿÛ¿ÿïÿîÿ\177{\000Û\224[(\fb\223\a\032\002\034\201(\032\227(ŽÑpG%\036\213ÜÀx(b\020ó\217<Œ~M\006\205=\022Ž[i\031\025bÑ\032\207aœcéÄS\202¹2FU¹æÈ#T©1a\eS\201µ3J¥\020aÖºýÆ\004I#Ô|\230aÖ+\212YŸÊ\235þN?\200\004\f3¹XSéìîp\021uZÑaÝßÌÁW\016ù\201ÿ\026IüPX¬Žö\210\205\235\202d¥å\030ÌìP\226\226\fmhaÇÓZ.mC\212Úzs`(éò÷\""...
        readMax = 2000000
---Type to continue, or q to quit---
        ret = 37
        rptr = 0x88c7ee5 "Û\224[(\fb\223\a\032\002\034\201(\032\227(ŽÑpG%\036\213ÜÀx(b\020ó\217<Œ~M\006\205=\022Ž[i\031\025bÑ\032\207aœcéÄS\202¹2FU¹æÈ#T©1a\eS\201µ3J¥\020aÖºýÆ\004I#Ô|\230aÖ+\212YŸÊ\235þN?\200\004\f3¹XSéìîp\021uZÑaÝßÌÁW\016ù\201ÿ\026IüPX¬Žö\210\205\235\202d¥å\030ÌìP\226\226\fmhaÇÓZ.mC\212Úzs`(éò÷\"»Ts}€e³«³K^\214\237°\210â\216e¡¡Þ+3Ï»ì\213wSâçW}\035œs¿"...
        rend = 0x88c7ee5 "Û\224[(\fb\223\a\032\002\034\201(\032\227(ŽÑpG%\036\213ÜÀx(b\020ó\217<Œ~M\006\205=\022Ž[i\031\025bÑ\032\207aœcéÄS\202¹2FU¹æÈ#T©1a\eS\201µ3J¥\020aÖºýÆ\004I#Ô|\230aÖ+\212YŸÊ\235þN?\200\004\f3¹XSéìîp\021uZÑaÝßÌÁW\016ù\201ÿ\026IüPX¬Žö\210\205\235\202d¥å\030ÌìP\226\226\fmhaÇÓZ.mC\212Úzs`(éò÷\"»Ts}€e³«³K^\214\237°\210â\216e¡¡Þ+3Ï»ì\213wSâçW}\035œs¿"...
#6  0x0804d31a in CClientReqSocket::OnReceive(int) (this=0x9274c50, nErrorCode=0) at ListenSocket.cpp:1003
No locals.
#7  0x0818ed93 in CamuleDlg::socketHandler(wxSocketEvent&) (this=0x8d4cc18, event=@0x92edaf8) at amuleDlg.cpp:415
        soc = (class CClientReqSocket *) 0x9274c50
#8  0x0824b57e in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) (this=0x8d4cc18, table=@0x870a9c4,
    event=@0x92edaf8) at src/common/event.cpp:954
        tableId1 = 7772
        tableId2 = -1
        entry = { = {m_id = 7772, m_lastId = -1, m_fn = {
      __pfn = 0x818ec56 , __delta = 0}, m_callbackUserData = 0x0},
  m_eventType = @0x8ac2e3c}
        i = 0
        eventType = 10040
        eventId = 7772
#9  0x0824b302 in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x8d4cc18, event=@0x92edaf8) at src/common/event.cpp:870
        table = (const wxEventTable *) 0x870a9c4
        info = (class wxClassInfo *) 0x8ac2200
#10 0x0824b043 in wxEvtHandler::ProcessPendingEvents() (this=0x8d4cc18) at src/common/event.cpp:741
        event = (wxEvent *) 0x92edaf8
        node = (wxNode *) 0x9353e20
#11 0x08223a53 in wxAppBase::ProcessPendingEvents() (this=0x8d46748) at src/common/appcmn.cpp:227
---Type to continue, or q to quit---
        handler = (class wxEvtHandler *) 0x8d4cc18
        node = (wxNode *) 0x91d8c68
#12 0x081cd973 in wxapp_pending_callback () at src/gtk/app.cpp:214
No locals.
#13 0x08448338 in g_idle_dispatch (source_data=0x81cd928, dispatch_time=0xbffff148, user_data=0x0) at gmain.c:1367
        func = 0x81cd928
#14 0x08447210 in g_main_dispatch (dispatch_time=0xbffff148) at gmain.c:656
        was_in_call = 0
        hook_data = 0x0
        source_data = 0x81cd928
        dispatch = (gboolean (*)(gpointer, GTimeVal *, gpointer)) 0x8448321
        need_destroy = 151910696
        source = (GSource *) 0x904fc20
        tmp_list = (GSList *) 0x90df928
#15 0x08447905 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
        hook = (GHook *) 0x92bc250
        current_time = {tv_sec = 1074612651, tv_usec = 985388}
        n_ready = 1
        current_priority = 900
        timeout = 0
        retval = 0
#16 0x08447a72 in g_main_run (loop=0x8f68ff8) at gmain.c:935
No locals.
#17 0x083a0de6 in gtk_main ()
No symbol table info available.
#18 0x081ce706 in wxApp::MainLoop() (this=0x8d46748) at src/gtk/app.cpp:659
No locals.
#19 0x08223805 in wxAppBase::OnRun() (this=0x8d46748) at src/common/appcmn.cpp:142
---Type to continue, or q to quit---
No locals.
#20 0x081ceff7 in wxEntry(int, char**) (argc=1, argv=0xbffff494) at src/gtk/app.cpp:935
        topWindow = (class wxWindow *) 0x8187ad0
        err = 0
        retValue = 0
#21 0x08187b7f in main (argc=1, argv=0xbffff494) at amule.cpp:96
No locals.
Logged
Carlo Wood