aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule-2.0.0cvs 25/05/2004 0x080d0cea in - CUpDownClient::GetDownloadState  (Read 2764 times)

angeld

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29

Catched wxString error Wrong fileid sent (ProcessFileStatus - reqfile ==  NULL) on ListenSocket
Catched wxString error Wrong fileid sent (ProcessFileStatus - reqfile ==  NULL) on ListenSocket
Catched wxString error Wrong fileid sent (ProcessFileInfo; reqfile==NULL) on ListenSocket
Catched wxString error Invalid OP_FILEREQUEST packet size on ListenSocket
Catched wxString error Asks for something without saying hello on ListenSocket
Catched wxString error Wrong fileid sent (ProcessFileInfo; reqfile==NULL) on ListenSocket
Catched wxString error Wrong fileid sent (ProcessFileStatus - reqfile ==  NULL) on ListenSocket

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092099552 (LWP 2977)]
0x080d0cea in CUpDownClient::GetDownloadState (this=0x0) at updownclient.h:264
264             uint8                   GetDownloadState()                     {return m_nDownloadState;}

(gdb) bt
#0  0x080d0cea in CUpDownClient::GetDownloadState (this=0x0)
    at updownclient.h:264
#1  0x081b83e9 in CPartFile::Process (this=0x8793418, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1709
#2  0x08114791 in CDownloadQueue::Process (this=0x874bea0)
    at DownloadQueue.cpp:373
#3  0x0821d75f in TimerProc () at UploadQueue.cpp:700
#4  0x082258f0 in CamuleDlg::OnUQTimer (this=0x8519618, evt=@0xbffff840)
    at amuleDlg.cpp:319
#5  0x402ee667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
#6  0x402ee483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
#7  0x40391997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x4029ee6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x4065bec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#10 0x4065b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#11 0x4065b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x4065b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#13 0x40581c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#14 0x4024da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#15 0x402aea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x4024e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x0821ec3a in main (argc=1, argv=0xbffffad4) at amule.cpp:115

(gdb) bt full
#0  0x080d0cea in CUpDownClient::GetDownloadState (this=0x0)
    at updownclient.h:264
No locals.
#1  0x081b83e9 in CPartFile::Process (this=0x8793418, reducedownload=0,
    m_icounter=10 '\n') at PartFile.cpp:1709
        download_state = 11 '\v'
        sl = 98
        pos1 = 0x88fd7e0
        pos2 = 0x8a0db98
        old_trans = 0
        cur_src = (CUpDownClient *) 0x0
        dwCurTick = 3231425887
#2  0x08114791 in CDownloadQueue::Process (this=0x874bea0)
    at DownloadQueue.cpp:373
        cur_file = (class CPartFile *) 0x8793418
        i = 28
        size = 40
        downspeed = 0
#3  0x0821d75f in TimerProc () at UploadQueue.cpp:700
        msPrev1 = 36703649
        msPrev5 = 36702649
        msPrevGraph = 36702048
        msPrevStats = 22720383
        msPrevSave = 36678858
        msPrevHist = 36704000
        msCur = 36704548
        bStatsVisible = false
        msGraphUpdate = 140069912
        sStatsUpdate = 139423056
#4  0x082258f0 in CamuleDlg::OnUQTimer (this=0x8519618, evt=@0xbffff840)
    at amuleDlg.cpp:319
No locals.
#5  0x402ee667 in wxEvtHandler::SearchEventTable ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x402ee483 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#7  0x40391997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#8  0x4029ee6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#9  0x4065bec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#10 0x4065b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#11 0x4065b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0x4065b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x40581c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#14 0x4024da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#15 0x402aea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#16 0x4024e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#17 0x0821ec3a in main (argc=1, argv=0xbffffad4) at amule.cpp:115
No locals.
Logged

Avi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35

Code: [Select]
download_state = 11 '\v' ?  ?( What's the '\v'?
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103

I suppose that gdb is simply displaying the value as a char. If that is indeed the case, then 11 is VT (vertical tab), which is apprently expressed as \v. ;)

Edit: Humm, as for the crash, it seems like a deleted CUpDownClient object wasn't removed from the A4AFsrclist list ...
Logged