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.2.6 randomly crashes  (Read 4191 times)

mE88

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
aMule 2.2.6 randomly crashes
« on: September 25, 2010, 05:37:50 PM »

Hello,

I am using aMule 2.2.6 on Arch Linux x86-64 with stock wx.

I noticed that suddenly aMule crashes after a while. Someone on this forum has the same problem, but didn't provide backtraces in his topic. I can't find his topic again, so here are the backtraces.

I hope these can help.
By the way, thank you for your fantastic work! Please, keep it up!

Bye
Marco

bt
Code: [Select]
#0  0x00000000004449a4 in CUpDownClient::ClearDownloadBlockRequests (this=0x1db4f50) at BaseClient.cpp:1174
#1  0x0000000000444f86 in CUpDownClient::Disconnected (this=0x1db4f50, strReason=..., bFromSocket=false) at BaseClient.cpp:1241
#2  0x000000000045b340 in CClientList::ProcessDirectCallbackList (this=0x11fa4c0) at ClientList.cpp:1114
#3  0x0000000000458d42 in CClientList::Process (this=0x11fa4c0) at ClientList.cpp:748
#4  0x00000000004372eb in CamuleApp::OnCoreTimer (this=0xfd57d0) at amule.cpp:1461
#5  0x00007ffff6c25005 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00007ffff6c2518c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007ffff6c254c4 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007ffff6c24f70 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007ffff6ba21a9 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007ffff7327a1a in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff7295ece in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007ffff5058b23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x00007ffff5059300 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff5059972 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0#15 0x00007ffff5b43907 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff72aa478 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00007ffff732784b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007ffff6bd2cfa in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00000000005f525a in main (argc=1, argv=0x7fffffffe538) at amule-gui.cpp:95

bt full
Code: [Select]
#0  0x00000000004449a4 in CUpDownClient::ClearDownloadBlockRequests (this=0x1db4f50) at BaseClient.cpp:1174                                           
        cur_block = 0x11fa6f0                                                                                                                         
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x1db51e8, _M_version = 257, _M_prior = 0x0, _M_next = 0x7ffff6397ed8},             
          _M_current = {_M_node = 0x121}}                                                                                                             
#1  0x0000000000444f86 in CUpDownClient::Disconnected (this=0x1db4f50, strReason=..., bFromSocket=false) at BaseClient.cpp:1241
        bDelete = false                                                                                                                                   
#2  0x000000000045b340 in CClientList::ProcessDirectCallbackList (this=0x11fa4c0) at ClientList.cpp:1114
        it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x11fa780, _M_version = 0, _M_prior = 0x0, _M_next = 0x7fffffffdc20},
          _M_current = {_M_node = 0x1693190}}
        curClient = 0x1db4f50
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x11fa780, _M_version = 1, _M_prior = 0x7fffffffdbf0, _M_next = 0x0},
          _M_current = {_M_node = 0x11fa770}}                                                                                                                         
        cur_tick = 1231296238                                                                                                                                         
#3  0x0000000000458d42 in CClientList::Process (this=0x11fa4c0) at ClientList.cpp:748
        cur_tick = 1231296238
        buddy = Disconnected
       current_it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x11fa720, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
          _M_current = {_M_node = 0x11fa6f8}}
#4  0x00000000004372eb in CamuleApp::OnCoreTimer (this=0xfd57d0) at amule.cpp:1461
        msPrevSave = 9249532                                                                                                                                           
        msPrevKnownMet = 9000432
        msPrev1 = 9282238
        msPrev5 = 9280209                                                                                                                                               
        msPrevHist = 9282000
        current_it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x11fa720, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
          _M_current = {_M_node = 0x11fa6f8}}
#4  0x00000000004372eb in CamuleApp::OnCoreTimer (this=0xfd57d0) at amule.cpp:1461
        msPrevSave = 9249532                                                                                                                                           
        msPrevKnownMet = 9000432
        msPrev1 = 9282238
        msPrev5 = 9280209                                                                                                                                               
        msPrevHist = 9282000
        msPrevOS = 9278331
        msCur = 9282238
#5  0x00007ffff6c25005 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00007ffff6c2518c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00007ffff6c254c4 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
        msPrevOS = 9278331
        msCur = 9282238
No symbol table info available.
#8  0x00007ffff6c24f70 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0x00007ffff6ba21a9 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0x00007ffff7327a1a in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#11 0x00007ffff7295ece in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0x00007ffff5058b23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00007ffff5059300 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0x00007ffff5059972 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x00007ffff5b43907 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x00007ffff72aa478 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#17 0x00007ffff732784b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x00007ffff6bd2cfa in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#19 0x00000000005f525a in main (argc=1, argv=0x7fffffffe538) at amule-gui.cpp:95
No locals.

threads
Code: [Select]
Thread 5 (Thread 0x7fffed8dc710 (LWP 20087)):
#0  0x00007ffff7bcc779 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffff6c22a16 in wxConditionInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00007ffff6c22e42 in wxSemaphoreInternal::WaitTimeout(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x00000000006eb4ea in CTimerThread::Entry (this=0x101f590) at Timer.cpp:64
#4  0x00007ffff6c23a81 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00007ffff7bc7cb0 in start_thread () from /lib/libpthread.so.0
#6  0x00007ffff610e7ad in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffee8de710 (LWP 20085)):
#0  0x00007ffff7bcfa4d in nanosleep () from /lib/libpthread.so.0
#1  0x00007ffff6c289ec in wxMicroSleep(unsigned long) () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000057c57e in UploadBandwidthThrottler::Entry (this=0x13d2a30) at UploadBandwidthThrottler.cpp:324
#3  0x00007ffff6c23a81 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00007ffff7bc7cb0 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffff610e7ad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc08a0 (LWP 20076)):
#0  0x00000000004449a4 in CUpDownClient::ClearDownloadBlockRequests (this=0x1db4f50) at BaseClient.cpp:1174
#1  0x0000000000444f86 in CUpDownClient::Disconnected (this=0x1db4f50, strReason=..., bFromSocket=false) at BaseClient.cpp:1241
#2  0x000000000045b340 in CClientList::ProcessDirectCallbackList (this=0x11fa4c0) at ClientList.cpp:1114
#3  0x0000000000458d42 in CClientList::Process (this=0x11fa4c0) at ClientList.cpp:748
#4  0x00000000004372eb in CamuleApp::OnCoreTimer (this=0xfd57d0) at amule.cpp:1461
#5  0x00007ffff6c25005 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00007ffff6c2518c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00007ffff6c254c4 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x00007ffff6c24f70 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x00007ffff6ba21a9 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#10 0x00007ffff7327a1a in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff7295ece in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0x00007ffff5058b23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x00007ffff5059300 in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff5059972 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff5b43907 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff72aa478 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00007ffff732784b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x00007ffff6bd2cfa in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00000000005f525a in main (argc=1, argv=0x7fffffffe538) at amule-gui.cpp:95
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
Re: aMule 2.2.6 randomly crashes
« Reply #1 on: September 25, 2010, 07:11:23 PM »

2.2.6 has some issues like that, which have been resolved in SVN versions.
Could you try to compile a SVN version yourself?
Logged

mE88

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule 2.2.6 randomly crashes
« Reply #2 on: September 26, 2010, 12:23:21 AM »

Now I am using rev 10286 from AUR (arch linux's automatic build system).

I'll let you know if I encounter any problem.
Logged

luuuciano

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
Re: aMule 2.2.6 randomly crashes
« Reply #3 on: October 13, 2010, 12:19:00 AM »

I have the same problem in arch too (and amule)
it crashes or hang up the system (it uses 100% cpu), so I have to kill -9 it

tried the svn (at aur),... and it crashed after a couple hours running (maybe less)
:(

it was working awesome a few weeks ago...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule 2.2.6 randomly crashes
« Reply #4 on: October 13, 2010, 10:50:59 PM »

I noticed that suddenly aMule crashes after a while. Someone on this forum has the same problem, but didn't provide backtraces in his topic. I can't find his topic again, so here are the backtraces.
This bug is fixed in SVN.

I have the same problem in arch too (and amule)
it crashes or hang up the system (it uses 100% cpu), so I have to kill -9 it
If it crashes that doesn't mean it's the same bug. Can you post a backtrace?
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