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 1.2.0 - Crashed on exit and while running  (Read 4927 times)

pure_ascii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
aMule 1.2.0 - Crashed on exit and while running
« on: November 27, 2003, 09:27:53 PM »

Upon closing:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2323)]
0x40373a6e in wxString::wxString(wxString const&) () from /usr/lib/libwx_gtk-2.4.so.0
(gdb) bt
#0  0x40373a6e in wxString::wxString(wxString const&) () from /usr/lib/libwx_gtk-2.4.so.0
#1  0x080bbb78 in CString (this=0xbfffebf0, _ctor_arg=@0x8dfa418) at mfc.h:347
#2  0x080d1696 in CUpDownClient::GetFileComment() (this=0x8dfa228) at updownclient.h:243
#3  0x08176496 in CPartFile::UpdateFileRatingCommentAvail() (this=0x8aa8d68) at PartFile.cpp:2519
#4  0x080b6288 in ~CUpDownClient (this=0x8d035e0) at BaseClient.cpp:241
#5  0x080ccf59 in CClientList::DeleteAll() (this=0x8612df0) at ClientList.cpp:115
#6  0x08216c98 in CamuleDlg::OnClose(wxCloseEvent&) (this=0x85267c8, evt=@0xbfffed70) at amuleDlg.cpp:899
#7  0x402e4f2b in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x402e4d2c in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x4039aed8 in wxWindowBase::Close(bool) () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x402865cf in gtk_frame_delete_callback(_GtkWidget*, _GdkEvent*, wxTopLevelWindowGTK*) () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x407b5356 in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#12 0x407f2255 in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#13 0x407f126b in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#14 0x407ee73e in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x40834584 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#16 0x407b3e34 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#17 0x4087e3e5 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#18 0x408b0abe in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#19 0x408b0f99 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#20 0x408b1234 in g_main_run () from /usr/lib/libglib-1.2.so.0
#21 0x407b392f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#22 0x4023b336 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#23 0x40294478 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#24 0x4023ba98 in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#25 0x0820af68 in main (argc=1, argv=0xbffff454) at amule.cpp:45
#26 0x406054c2 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) bt full
#0  0x40373a6e in wxString::wxString(wxString const&) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#1  0x080bbb78 in CString (this=0xbfffebf0, _ctor_arg=@0x8dfa418) at mfc.h:347
No locals.
#2  0x080d1696 in CUpDownClient::GetFileComment() (this=0x8dfa228) at updownclient.h:243
No locals.
#3  0x08176496 in CPartFile::UpdateFileRatingCommentAvail() (this=0x8aa8d68) at PartFile.cpp:2519
        cur_src = (CUpDownClient *) 0x8dfa228
        sl = 0
        prev = true
        pos1 = (_POSITION *) 0x8e41498
        pos2 = (_POSITION *) 0x8e0c9b0
#4  0x080b6288 in ~CUpDownClient (this=0x8d035e0) at BaseClient.cpp:241
No locals.
#5  0x080ccf59 in CClientList::DeleteAll() (this=0x8612df0) at ClientList.cpp:115
        cur_client = (CUpDownClient *) 0x8d035e0
        pos1 = (_POSITION *) 0x8c36d78
        pos2 = (_POSITION *) 0x8bae9e0
#6  0x08216c98 in CamuleDlg::OnClose(wxCloseEvent&) (this=0x85267c8, evt=@0xbfffed70) at amuleDlg.cpp:899
No locals.
#7  0x402e4f2b in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
[...]


While running:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2844)]
0x405dfe2d in pthread_mutex_lock () from /lib/i686/libpthread.so.0
(gdb) bt
#0  0x405dfe2d in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0x4065b698 in free () from /lib/i686/libc.so.6
#2  0x405853e3 in operator delete(void*) () from /usr/lib/libstdc++.so.5
#3  0x080bd271 in CList::freeNode(CList::MyNode*) (this=0x8a0b464, n=0x40702010) at mfc.h:48
#4  0x080e8e49 in CList::RemoveTail() (this=0x8a0b464) at mfc.h:133
#5  0x080e7a68 in CDownloadQueue::SendNextUDPPacket() (this=0x8a0b460) at DownloadQueue.cpp:773
#6  0x080e6996 in CDownloadQueue::Process() (this=0x8a0b460) at DownloadQueue.cpp:356
#7  0x081e4ae7 in TimerProc() () at UploadQueue.cpp:577
#8  0x082123f3 in CamuleDlg::OnUQTimer(wxTimerEvent&) (this=0x85267c8, evt=@0xbffff180) at amuleDlg.cpp:298
#9  0x402e4f2b in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x402e4d2c in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
#11 0x4037dcbc in wxTimerBase::Notify() () from /usr/lib/libwx_gtk-2.4.so.0
#12 0x40285a02 in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#13 0x408b1ae5 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0
#14 0x408b0abe in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#15 0x408b0f99 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#16 0x408b1234 in g_main_run () from /usr/lib/libglib-1.2.so.0
#17 0x407b392f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#18 0x4023b336 in wxApp::MainLoop() () from /usr/lib/libwx_gtk-2.4.so.0
#19 0x40294478 in wxAppBase::OnRun() () from /usr/lib/libwx_gtk-2.4.so.0
#20 0x4023ba98 in wxEntry(int, char**) () from /usr/lib/libwx_gtk-2.4.so.0
#21 0x0820af68 in main (argc=3, argv=0xbffff434) at amule.cpp:45
#22 0x406054c2 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) bt full
#0  0x405dfe2d in pthread_mutex_lock () from /lib/i686/libpthread.so.0
No symbol table info available.
#1  0x4065b698 in free () from /lib/i686/libc.so.6
No symbol table info available.
#2  0x405853e3 in operator delete(void*) () from /usr/lib/libstdc++.so.5
No symbol table info available.
#3  0x080bd271 in CList::freeNode(CList::MyNode*) (this=0x8a0b464, n=0x40702010) at mfc.h:48
No locals.
#4  0x080e8e49 in CList::RemoveTail() (this=0x8a0b464) at mfc.h:133
        old = (MyNode *) 0x8a9f268
        olddata = (class CPartFile *) 0x10
#5  0x080e7a68 in CDownloadQueue::SendNextUDPPacket() (this=0x8a0b460) at DownloadQueue.cpp:773
        i = 1
        iMaxFilesPerPacket = 1
        bSentPacket = false
        dataGlobGetSources = {<> = {}, }
        iFiles = 1
#6  0x080e6996 in CDownloadQueue::Process() (this=0x8a0b460) at DownloadQueue.cpp:356
        downspeed = 0
#7  0x081e4ae7 in TimerProc() () at UploadQueue.cpp:577
No locals.
#8  0x082123f3 in CamuleDlg::OnUQTimer(wxTimerEvent&) (this=0x85267c8, evt=@0xbffff180) at amuleDlg.cpp:298
No locals.
#9  0x402e4f2b in wxEvtHandler::SearchEventTable(wxEventTable&, wxEvent&) () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
[...]
Logged

pure_ascii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: aMule 1.2.0 - Crashed on exit and while running
« Reply #1 on: November 28, 2003, 08:48:33 PM »

OK, the second one is fixed, we found a bug in Tiku's code from lMule that was never used before aMule 1.2.0.

Still much other segfaults to hunt for. :(

Ciao, PA.
Logged