aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20080407 crash on exit  (Read 2297 times)

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
20080407 crash on exit
« on: April 08, 2008, 01:23:50 AM »

Just got this while shutting down a build from today's tarball:
Code: [Select]
(gdb) run
Starting program: /home/user/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0xb6c5e6d0 (LWP 20555)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
ListenSocket: Ok.
[New Thread 0xb3573b90 (LWP 20568)]
Loading temp files from /home/user/.aMule/Temp.
Loading PartFile 20 of 20
All PartFiles Loaded.
Adding file /home/user/.aMule/Temp/064.part.met to shares
Adding file /home/user/.aMule/Temp/024.part.met to shares
Adding file /home/user/.aMule/Temp/023.part.met to shares
Adding file /home/user/.aMule/Temp/020.part.met to shares
Adding file /home/user/.aMule/Temp/013.part.met to shares
Adding file /home/user/.aMule/Temp/012.part.met to shares
Adding file /home/user/.aMule/Temp/010.part.met to shares
Adding file /home/user/.aMule/Temp/006.part.met to shares
Adding file /home/user/.aMule/Temp/005.part.met to shares
Adding file /home/user/.aMule/Temp/003.part.met to shares
Adding file /home/user/.aMule/Temp/001.part.met to shares
[New Thread 0xb2d72b90 (LWP 20569)]
[New Thread 0xb2571b90 (LWP 20570)]
[Thread 0xb2d72b90 (LWP 20569) exited]
[New Thread 0xb2d72b90 (LWP 29190)]
[Thread 0xb2d72b90 (LWP 29190) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6c5e6d0 (LWP 20555)]
0x0818467e in std::__norm::_List_const_iterator<CTag*>::operator++ (
    this=0xbfa0b4e0) at /usr/include/c++/4.3/bits/stl_list.h:221
221             _M_node = _M_node->_M_next;
(gdb) bt
#0  0x0818467e in std::__norm::_List_const_iterator<CTag*>::operator++ (
    this=0xbfa0b4e0) at /usr/include/c++/4.3/bits/stl_list.h:221
#1  0x081b28ba in std::__distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x20}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:84
#2  0x081b290e in std::distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x95668b0}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:119
#3  0x081b2952 in std::__norm::list<CTag*, std::allocator<CTag*> >::size (
    this=0x89cb0b0) at /usr/include/c++/4.3/bits/stl_list.h:764
#4  0x0837cc77 in CFileDataIO::WriteTagPtrList (this=0xbfa0b720,
    tagList=@0x89cb0b0) at SafeFile.cpp:551
#5  0x08206f61 in ~CIndexed (this=0x8fbba08)
    at kademlia/kademlia/Indexed.cpp:317
#6  0x081eb0c6 in Kademlia::CKademlia::Stop ()
    at kademlia/kademlia/Kademlia.cpp:122
#7  0x08074428 in CamuleApp::StopKad (this=0x8964b58) at amule.cpp:2152
#8  0x08079fff in CamuleApp::ShutDown (this=0x8964b58) at amule.cpp:1615
#9  0x08251df4 in CamuleGuiApp::ShutDown (this=0x8964b58) at amule-gui.cpp:252
#10 0x08256950 in CamuleDlg::OnClose (this=0x8cd20b8, evt=@0xbfa0ba64)
    at amuleDlg.cpp:857
#11 0xb7996fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7a3e1c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7a3e328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb7a3e48f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb7d40493 in wxWindowBase::Close ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb7c1b98e in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb748e8a4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x08ce1850 in ?? ()
#19 0x08e410f0 in ?? ()
#20 0x08cd20b8 in ?? ()
#21 0xb724cff4 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xb748e840 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x08ce1408 in ?? ()
#24 0xbfa0bb68 in ?? ()
#25 0xb721c919 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC
(gdb) bt full
#0  0x0818467e in std::__norm::_List_const_iterator<CTag*>::operator++ (
    this=0xbfa0b4e0) at /usr/include/c++/4.3/bits/stl_list.h:221
No locals.
#1  0x081b28ba in std::__distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x20}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:84
        __n = 2
#2  0x081b290e in std::distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x95668b0}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:119
No locals.
#3  0x081b2952 in std::__norm::list<CTag*, std::allocator<CTag*> >::size (
    this=0x89cb0b0) at /usr/include/c++/4.3/bits/stl_list.h:764
No locals.
#4  0x0837cc77 in CFileDataIO::WriteTagPtrList (this=0xbfa0b720,
    tagList=@0x89cb0b0) at SafeFile.cpp:551
        count = 136383303
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb7906ff4,
    _M_version = 134679696, _M_prior = 0xbfa0ba64, _M_next = 0xbfa0b598},
  _M_current = {_M_node = 0xb786ea8c}}
#5  0x08206f61 in ~CIndexed (this=0x8fbba08)
    at kademlia/kademlia/Indexed.cpp:317
No locals.
#6  0x081eb0c6 in Kademlia::CKademlia::Stop ()
    at kademlia/kademlia/Kademlia.cpp:122
No locals.
#7  0x08074428 in CamuleApp::StopKad (this=0x8964b58) at amule.cpp:2152
No locals.
#8  0x08079fff in CamuleApp::ShutDown (this=0x8964b58) at amule.cpp:1615
No locals.
#9  0x08251df4 in CamuleGuiApp::ShutDown (this=0x8964b58) at amule-gui.cpp:252
No locals.
#10 0x08256950 in CamuleDlg::OnClose (this=0x8cd20b8, evt=@0xbfa0ba64)
    at amuleDlg.cpp:857
No locals.
#11 0xb7996fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0xb7a3e1c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0xb7a3e328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#14 0xb7a3e48f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0xb7d40493 in wxWindowBase::Close ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0xb7c1b98e in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0xb748e8a4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0x08ce1850 in ?? ()
No symbol table info available.
#19 0x08e410f0 in ?? ()
No symbol table info available.
#20 0x08cd20b8 in ?? ()
No symbol table info available.
#21 0xb724cff4 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0xb748e840 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x08ce1408 in ?? ()
No symbol table info available.
#24 0xbfa0bb68 in ?? ()
No symbol table info available.
#25 0xb721c919 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb) thread apply all bt

Thread 4 (Thread 0xb2571b90 (LWP 20570)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f187ec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb7a3b6cc in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7a3b72f in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7a3c3e5 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7a3c46f in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x08382b6c in CTimerThread::Entry (this=0x8adbb88) at Timer.cpp:64
#7  0xb7a3ca38 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7a3caad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7f14192 in start_thread () from /lib/libpthread.so.0
#10 0xb777b02e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb3573b90 (LWP 20568)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7f1b846 in nanosleep () from /lib/libpthread.so.0
#2  0xb7a42218 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7a42241 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7a3ae2d in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081cc119 in UploadBandwidthThrottler::Entry (this=0x8f2a800)
    at UploadBandwidthThrottler.cpp:324
#6  0xb7a3ca38 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7a3caad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7f14192 in start_thread () from /lib/libpthread.so.0
#9  0xb777b02e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6c5e6d0 (LWP 20555)):
#0  0x0818467e in std::__norm::_List_const_iterator<CTag*>::operator++ (
    this=0xbfa0b4e0) at /usr/include/c++/4.3/bits/stl_list.h:221
#1  0x081b28ba in std::__distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x20}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:84
#2  0x081b290e in std::distance<std::__norm::_List_const_iterator<CTag*> > (
    __first={_M_node = 0x95668b0}, __last={_M_node = 0x89cb0b0})
    at /usr/include/c++/4.3/bits/stl_iterator_base_funcs.h:119
#3  0x081b2952 in std::__norm::list<CTag*, std::allocator<CTag*> >::size (
    this=0x89cb0b0) at /usr/include/c++/4.3/bits/stl_list.h:764
#4  0x0837cc77 in CFileDataIO::WriteTagPtrList (this=0xbfa0b720,
    tagList=@0x89cb0b0) at SafeFile.cpp:551
#5  0x08206f61 in ~CIndexed (this=0x8fbba08)
    at kademlia/kademlia/Indexed.cpp:317
#6  0x081eb0c6 in Kademlia::CKademlia::Stop ()
    at kademlia/kademlia/Kademlia.cpp:122
#7  0x08074428 in CamuleApp::StopKad (this=0x8964b58) at amule.cpp:2152
#8  0x08079fff in CamuleApp::ShutDown (this=0x8964b58) at amule.cpp:1615
#9  0x08251df4 in CamuleGuiApp::ShutDown (this=0x8964b58) at amule-gui.cpp:252
#10 0x08256950 in CamuleDlg::OnClose (this=0x8cd20b8, evt=@0xbfa0ba64)
    at amuleDlg.cpp:857
#11 0xb7996fc1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7a3e1c8 in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0xb7a3e328 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0xb7a3e48f in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0xb7d40493 in wxWindowBase::Close ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0xb7c1b98e in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0xb748e8a4 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x08ce1850 in ?? ()
#19 0x08e410f0 in ?? ()
#20 0x08cd20b8 in ?? ()
#21 0xb724cff4 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0xb748e840 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x08ce1408 in ?? ()
#24 0xbfa0bb68 in ?? ()
#25 0xb721c919 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
Backtrace stopped: frame did not save the PC
Looks somewhat similar to http://forum.amule.org/index.php?topic=14504.0.
« Last Edit: April 08, 2008, 01:43:34 AM by Gerd78 »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: 20080407 crash on exit
« Reply #1 on: April 09, 2008, 11:41:42 PM »

Looks more like the KAD bug to me. Please try tommorows tarball.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon