aMule Forum

English => Backtraces => Topic started by: nsd20463 on May 06, 2004, 08:14:18 AM

Title: SEGV while running
Post by: nsd20463 on May 06, 2004, 08:14:18 AM
amule was up and running for an hour or so when it crashed.
Here's the output. Enjoy.

Sharing /home/ndade/.xMule/Temp/034.part.met
Sharing /home/ndade/.xMule/Temp/037.part.met
Sharing /home/ndade/.xMule/Temp/039.part.met
Sharing /home/ndade/.xMule/Temp/040.part.met
Sharing /home/ndade/.xMule/Temp/062.part.met
        Caught error:
                Error: ERROR: Wrong file ID (ProcessFileStatus; reqfile==NULL)
                ClientData: Client Robbie on ip 82.82.136.116 port 7601 using New MlDonkey v0.30
        on ListenSocket::ProcessPacket
Hashing thread timed out with no aditions - removing thread
Hashing thread ended
[Thread 1102396336 (zombie) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092095424 (LWP 32593)]
0x081c9a51 in CList::GetPrev (this=0x87d4640, pos=@0xbffff0ec) at CTypedPtrList.h:218
218         pos = (POSITION)(n->prev);
(gdb) bt
#0  0x081c9a51 in CList::GetPrev (this=0x87d4640, pos=@0xbffff0ec) at CTypedPtrList.h:218
#1  0x081be4ed in CPartFile::SaveSourceSeeds (this=0x87d3ca0) at PartFile.cpp:1074
#2  0x0811a12a in CDownloadQueue::SaveSourceSeeds (this=0x876a690) at DownloadQueue.cpp:207
#3  0x082300a7 in CamuleDlg::OnClose (this=0x8524080, evt=@0xbffff240) at amuleDlg.cpp:805
#4  0x402ed667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
#5  0x402ed483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
#6  0x403af234 in wxWindowBase::Close () from /usr/lib/libwx_gtk-2.4.so.0
#7  0x4029eb68 in wxToolTip::GetClassInfo () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x405821c9 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#9  0x405b1a9e in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#10 0x405b0f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#11 0x405aeea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#12 0x405e4a5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#13 0x4058110f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#14 0x4062ae20 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#15 0x00000000 in ?? ()
#16 0xbffff6b8 in ?? ()
#17 0x4062adbf in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#18 0x00000000 in ?? ()
#19 0xbffff6f8 in ?? ()
#20 0x4065a03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0  0x081c9a51 in CList::GetPrev (this=0x87d4640, pos=@0xbffff0ec) at CTypedPtrList.h:218
        n = (CList::MyNode *) 0x1
        data = (CUpDownClient *&) @0x9: Cannot access memory at address 0x9
(gdb)

Hmmm, not good. gdb is aborting the bt b/c of a bad address. Not really a good assumption on gdb's part, but let's see what we can do to get the rest of the bt out...

(gdb) bt -20 full
#1  0x081be4ed in CPartFile::SaveSourceSeeds (this=0x87d3ca0) at PartFile.cpp:1074
        cur_src = (CUpDownClient *) 0x8850170
        pos1 = 0x1
        pos2 = 0x1
        sl = 100
        fst_slot = 0
        source_seeds = {> = {<> = {}, head = 0x8853ba8, tail = 0x8846750,
    count = 4}, }
        n_sources = 4
        file = {_vptr.CFile = 0x876aa38, m_fd = 141994408, m_error = 168, fFilePath = }
        fName =
        src_count = 5 '\005'
        pos1 = 0x64
        pos2 = 0x1
#2  0x0811a12a in CDownloadQueue::SaveSourceSeeds (this=0x876a690) at DownloadQueue.cpp:207
        i = 36
        size = 53
#3  0x082300a7 in CamuleDlg::OnClose (this=0x8524080, evt=@0xbffff240) at amuleDlg.cpp:805
No locals.
#4  0x402ed667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#5  0x402ed483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#6  0x403af234 in wxWindowBase::Close () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#7  0x4029eb68 in wxToolTip::GetClassInfo () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#8  0x405821c9 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#9  0x405b1a9e in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#10 0x405b0f1c in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#11 0x405aeea8 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#12 0x405e4a5a in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#13 0x4058110f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#14 0x4062ae20 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
No symbol table info available.
#15 0x00000000 in ?? ()
No symbol table info available.
---Type to continue, or q to quit---
#16 0xbffff6b8 in ?? ()
No symbol table info available.
#17 0x4062adbf in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
No symbol table info available.
#18 0x00000000 in ?? ()
No symbol table info available.
#19 0xbffff6f8 in ?? ()
No symbol table info available.
#20 0x4065a03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
(gdb)