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 crash every time!  (Read 6477 times)

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Amule crash every time!
« on: December 05, 2008, 06:50:19 AM »

Hi. I run arch linux on Acer Extensa 5620Z laptop.
My emule crashes all the time. Some time after 5 monutes. Some times after 1 hour.
Plese help !


Here my backtrace.

[Thread debugging using libthread_db enabled]
[New Thread 0xb6e67920 (LWP 6369)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread 0xb6884b90 (LWP 6376)]
HTTP download thread started
ListenSocket: Ok.
[New Thread 0xb5f8eb90 (LWP 6378)]
Loading temp files from /mnt/amule/amule/Temp.
Loading PartFile 6 of 6
All PartFiles Loaded.
Adding file /mnt/amule/amule/Temp/004.part.met to shares
Adding file /mnt/amule/amule/Temp/006.part.met to shares
Adding file /mnt/amule/amule/Temp/007.part.met to shares
Adding file /mnt/amule/amule/Temp/008.part.met to shares
Adding file /mnt/amule/amule/Temp/009.part.met to shares
Adding file /mnt/amule/amule/Temp/028.part.met to shares
[New Thread 0xb578db90 (LWP 6379)]
[New Thread 0xb4f8cb90 (LWP 6380)]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 0xb6884b90 (LWP 6376) exited]
[Thread 0xb578db90 (LWP 6379) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6e67920 (LWP 6369)]
0x0808cb57 in CUpDownClient::ClearDownloadBlockRequests (this=0xb44c6eb0)
    at BaseClient.cpp:1175
1175            Requested_Block_Struct* cur_block = *it;

(gdb) bt
#0  0x0808cb57 in CUpDownClient::ClearDownloadBlockRequests (this=0xb44c6eb0)
    at BaseClient.cpp:1175
#1  0x080ea544 in CUpDownClient::SetDownloadState (this=0xb44c6eb0,
    byNewState=1 '\001') at DownloadClient.cpp:541
#2  0x0808d1d6 in CUpDownClient::Disconnected (this=0xb44c6eb0,
    strReason=@0xbf9e0b24, bFromSocket=false) at BaseClient.cpp:1239
#3  0x080a0987 in CClientList::ProcessDirectCallbackList (this=0x98b2f40)
    at ClientList.cpp:1113
#4  0x080a49da in CClientList::Process (this=0x98b2f40) at ClientList.cpp:748
#5  0x0807b4a6 in CamuleApp::OnCoreTimer (this=0x97d1380) at amule.cpp:1460
#6  0xb7b25921 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7bc39ba in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7bc4bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7bc4cdb in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7bc3e39 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7b25c81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7e353e1 in wxAppBase::ProcessIdle ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb7d85613 in wxapp_idle_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0xb73133b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb7315311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb73189a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#17 0xb7318ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0xb7604279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7d9f075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7e3524e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7e34e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb7b5efba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0xb7b5f1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#24 0x08258c4b in main (argc=0, argv=0x0) at amule-gui.cpp:95



(gdb) bt full
#0  0x0808cb57 in CUpDownClient::ClearDownloadBlockRequests (this=0xb44c6eb0)
    at BaseClient.cpp:1175
   cur_block = (Requested_Block_Struct *) 0xbf9e09c8
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb44c7060,
    _M_version = 0, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x0}}
#1  0x080ea544 in CUpDownClient::SetDownloadState (this=0xb44c6eb0,
    byNewState=1 '\001') at DownloadClient.cpp:541
No locals.
#2  0x0808d1d6 in CUpDownClient::Disconnected (this=0xb44c6eb0,
    strReason=@0xbf9e0b24, bFromSocket=false) at BaseClient.cpp:1239
   bDelete = 191
#3  0x080a0987 in CClientList::ProcessDirectCallbackList (this=0x98b2f40)
    at ClientList.cpp:1113
   it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x98b30a8,
    _M_version = 0, _M_prior = 0x0, _M_next = 0xbf9e0ad4}, _M_current = {
    _M_node = 0xb45849e8}}
   curClient = (CUpDownClient *) 0xb44c6eb0
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x98b30a8,
    _M_version = 1, _M_prior = 0xbf9e0ac0, _M_next = 0x0}, _M_current = {
    _M_node = 0x98b30a0}}
   cur_tick = 94162452
#4  0x080a49da in CClientList::Process (this=0x98b2f40) at ClientList.cpp:748
---Type <return> to continue, or q <return> to quit---
   cur_tick = 94162452
   buddy = Connected
   current_it = {<__gnu_debug::_Safe_iterator_base> = {
    _M_sequence = 0x98b3078, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0x98b3064}}
#5  0x0807b4a6 in CamuleApp::OnCoreTimer (this=0x97d1380) at amule.cpp:1460
   msCur = 1801013
   msPrev1 = 1801013
   msPrev5 = 1797030
   msPrevSave = 1742010
   msPrevHist = 1801000
   msPrevOS = 1796627
   msPrevKnownMet = 1800010
#6  0xb7b25921 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0xb7bc39ba in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0xb7bc4bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0xb7bc4cdb in wxEvtHandler::ProcessEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xb7bc3e39 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7b25c81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#12 0xb7e353e1 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0xb7d85613 in wxapp_idle_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0xb73133b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0xb7315311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb73189a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb7318ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb7604279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0xb7d9f075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0xb7e3524e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb7e34e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#22 0xb7b5efba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0xb7b5f1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#24 0x08258c4b in main (argc=0, argv=0x0) at amule-gui.cpp:95
No locals.


(gdb) thread apply all bt

Thread 5 (Thread 0xb4f8cb90 (LWP 6380)):
#0  0xb80c6424 in __kernel_vsyscall ()
#1  0xb809fee2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb7bc0e67 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7bc0ebf in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7bc2544 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7bc25cf in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x0838ae50 in CTimerThread::Entry (this=0x9ad72a8) at Timer.cpp:64
#7  0xb7bc2763 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7bc27dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb809c145 in start_thread () from /lib/libpthread.so.0
#10 0xb794063e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb5f8eb90 (LWP 6378)):
#0  0xb80c6424 in __kernel_vsyscall ()
#1  0xb80a3306 in nanosleep () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0xb7bc8c38 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7bc8c61 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7bc0cbd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081d5bf9 in UploadBandwidthThrottler::Entry (this=0x99932f0)
    at UploadBandwidthThrottler.cpp:324
#6  0xb7bc2763 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7bc27dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb809c145 in start_thread () from /lib/libpthread.so.0
#9  0xb794063e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6e67920 (LWP 6369)):
#0  0x0808cb57 in CUpDownClient::ClearDownloadBlockRequests (this=0xb44c6eb0)
    at BaseClient.cpp:1175
#1  0x080ea544 in CUpDownClient::SetDownloadState (this=0xb44c6eb0,
    byNewState=1 '\001') at DownloadClient.cpp:541
#2  0x0808d1d6 in CUpDownClient::Disconnected (this=0xb44c6eb0,
    strReason=@0xbf9e0b24, bFromSocket=false) at BaseClient.cpp:1239
#3  0x080a0987 in CClientList::ProcessDirectCallbackList (this=0x98b2f40)
    at ClientList.cpp:1113
#4  0x080a49da in CClientList::Process (this=0x98b2f40) at ClientList.cpp:748
#5  0x0807b4a6 in CamuleApp::OnCoreTimer (this=0x97d1380) at amule.cpp:1460
#6  0xb7b25921 in wxAppConsole::HandleEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7bc39ba in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7bc4bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7bc4cdb in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7bc3e39 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7b25c81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#12 0xb7e353e1 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb7d85613 in wxapp_idle_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0xb73133b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb7315311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0xb73189a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#17 0xb7318ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0xb7604279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7d9f075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7e3524e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#21 0xb7e34e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0xb7b5efba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0xb7b5f1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#24 0x08258c4b in main (argc=0, argv=0x0) at amule-gui.cpp:95
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amule crash every time!
« Reply #1 on: December 05, 2008, 06:40:27 PM »

Ah, someone who can reproduce 1404. Good.
Please try a current snapshot and tell me if it still crashes.
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

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Amule crash every time!
« Reply #2 on: December 05, 2008, 09:22:05 PM »

Hi.
I will be happy to help.
Compiled aMule SVN rev. 9231.
Started now.  8)

Will post how it goes ...
Logged

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Amule crash every time!
« Reply #3 on: December 06, 2008, 07:23:53 AM »

Hi.
I left amule runing and found this morning new crash.

Starting program: /home/vlad/software/amule/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0xb6dec920 (LWP 5679)]
 2008-12-05 22:57:08: amule.cpp(524): Initialising aMule
 2008-12-05 22:57:08: amule.cpp(543): Checking if there is an instance already running...
 2008-12-05 22:57:08: amule.cpp(566): No other instances are running.
 2008-12-05 22:57:08: ListenSocket.cpp(66): ListenSocket: Ok.
[New Thread 0xb672db90 (LWP 5690)]
 2008-12-05 22:57:09: DownloadQueue.cpp(110): Loading temp files from /mnt/amule/amule/Temp.
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 1 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 2 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 3 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 4 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 5 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 6 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(129): Loading PartFile 7 of 7
 2008-12-05 22:57:09: DownloadQueue.cpp(161): All PartFiles Loaded.
 2008-12-05 22:57:09: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/004.part.met to shares
 2008-12-05 22:57:09: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/006.part.met to shares
 2008-12-05 22:57:09: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/009.part.met to shares
 2008-12-05 22:57:09: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/028.part.met to shares
[New Thread 0xb5f2cb90 (LWP 5691)]
[New Thread 0xb572bb90 (LWP 5692)]
[Thread 0xb5f2cb90 (LWP 5691) exited]
[New Thread 0xb4bffb90 (LWP 5885)]
 2008-12-05 23:00:57: HTTPDownload.cpp(172): HTTP download thread started
[Thread 0xb4bffb90 (LWP 5885) exited]
 2008-12-05 23:00:58: HTTPDownload.cpp(326): Host: gruk.org:80
 2008-12-05 23:00:58: HTTPDownload.cpp(327): URL: http://gruk.org/server.met.gz
 2008-12-05 23:00:58: HTTPDownload.cpp(328): Response: 200 (Error: 0)
 2008-12-05 23:00:58: HTTPDownload.cpp(199): Download size: 1529
 2008-12-05 23:00:58: HTTPDownload.cpp(246): HTTP download thread ended
 2008-12-06 04:38:06: SafeFile.cpp(475): Invalid Kad tag; type=0xe5 name=
 2008-12-06 04:38:36: SafeFile.cpp(475): Invalid Kad tag; type=0xf0 name=

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6dec920 (LWP 5679)]
0x0808e377 in CUpDownClient::ClearDownloadBlockRequests (this=0xb802f50)
    at BaseClient.cpp:1178
1178               m_reqfile->RemoveBlockFromList(cur_block->StartOffset, cur_block->EndOffset);

(gdb) bt
#0  0x0808e377 in CUpDownClient::ClearDownloadBlockRequests (this=0xb802f50)
    at BaseClient.cpp:1178
#1  0x0808e9ed in CUpDownClient::Disconnected (this=0xb802f50,
    strReason=@0xbfe657a4, bFromSocket=false) at BaseClient.cpp:1242
#2  0x080a2553 in CClientList::ProcessDirectCallbackList (this=0xa031280)
    at ClientList.cpp:1113
#3  0x080a6588 in CClientList::Process (this=0xa031280) at ClientList.cpp:748
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x9f4f9a8) at amule.cpp:1454
#5  0xb7aaa921 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7b489ba in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b49bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b49cdb in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7b48e39 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7aaac81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7dba3e1 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0xb7d0a613 in wxapp_idle_callback ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb72983b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb729a311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb729d9a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#16 0xb729dec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb7589279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7d24075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0xb7dba24e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7db9e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7ae3fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#22 0xb7ae41b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0x08264cce in main (argc=0, argv=0x0) at amule-gui.cpp:94

(gdb) bt full
#0  0x0808e377 in CUpDownClient::ClearDownloadBlockRequests (this=0xb802f50)
    at BaseClient.cpp:1178
   cur_block = (Requested_Block_Struct *) 0x6500
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xb803100,
    _M_version = 171479734, _M_prior = 0x0, _M_next = 0xa389245},
  _M_current = {_M_node = 0xa3891e7}}
#1  0x0808e9ed in CUpDownClient::Disconnected (this=0xb802f50,
    strReason=@0xbfe657a4, bFromSocket=false) at BaseClient.cpp:1242
   bDelete = 191
#2  0x080a2553 in CClientList::ProcessDirectCallbackList (this=0xa031280)
    at ClientList.cpp:1113
   it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xa0313e8,
    _M_version = 0, _M_prior = 0x0, _M_next = 0xbfe65754}, _M_current = {
    _M_node = 0xb2a5a88}}
   curClient = (CUpDownClient *) 0xb802f50
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0xa0313e8,
    _M_version = 1, _M_prior = 0xbfe65740, _M_next = 0x0}, _M_current = {
    _M_node = 0xa0313e0}}
   cur_tick = 171481237
#3  0x080a6588 in CClientList::Process (this=0xa031280) at ClientList.cpp:748
   cur_tick = 171481237
   buddy = Connected
   current_it = {<__gnu_debug::_Safe_iterator_base> = {
---Type <return> to continue, or q <return> to quit---
    _M_sequence = 0xa0313b8, _M_version = 1, _M_prior = 0x0, _M_next = 0x0},
  _M_current = {_M_node = 0xa0313a4}}
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x9f4f9a8) at amule.cpp:1454
   msCur = 21499724
   msPrev1 = 21499724
   msPrev5 = 21496808
   msPrevSave = 21441114
   msPrevHist = 21499000
   msPrevOS = 21495727
   msPrevKnownMet = 19800421
#5  0xb7aaa921 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0xb7b489ba in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0xb7b49bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0xb7b49cdb in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0xb7b48e39 in wxEvtHandler::ProcessPendingEvents ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xb7aaac81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7dba3e1 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0xb7d0a613 in wxapp_idle_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#13 0xb72983b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb729a311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0xb729d9a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb729dec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb7589279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0xb7d24075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0xb7dba24e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0xb7db9e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb7ae3fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#22 0xb7ae41b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0x08264cce in main (argc=0, argv=0x0) at amule-gui.cpp:94
No locals.


(gdb) thread apply all bt

Thread 4 (Thread 0xb572bb90 (LWP 5692)):
#0  0xb804b424 in __kernel_vsyscall ()
#1  0xb8024ee2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb7b45e67 in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7b45ebf in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7b47544 in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7b475cf in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x083a0f58 in CTimerThread::Entry (this=0xa213a68) at Timer.cpp:64
#7  0xb7b47763 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b477dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb8021145 in start_thread () from /lib/libpthread.so.0
#10 0xb78c563e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb672db90 (LWP 5690)):
#0  0xb804b424 in __kernel_vsyscall ()
#1  0xb8028306 in nanosleep () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0xb7b4dc38 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7b4dc61 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7b45cbd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081df8cd in UploadBandwidthThrottler::Entry (this=0xa110c18)
    at UploadBandwidthThrottler.cpp:324
#6  0xb7b47763 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b477dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb8021145 in start_thread () from /lib/libpthread.so.0
#9  0xb78c563e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6dec920 (LWP 5679)):
#0  0x0808e377 in CUpDownClient::ClearDownloadBlockRequests (this=0xb802f50)
    at BaseClient.cpp:1178
#1  0x0808e9ed in CUpDownClient::Disconnected (this=0xb802f50,
    strReason=@0xbfe657a4, bFromSocket=false) at BaseClient.cpp:1242
#2  0x080a2553 in CClientList::ProcessDirectCallbackList (this=0xa031280)
    at ClientList.cpp:1113
#3  0x080a6588 in CClientList::Process (this=0xa031280) at ClientList.cpp:748
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x9f4f9a8) at amule.cpp:1454
#5  0xb7aaa921 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7b489ba in wxEvtHandler::ProcessEventIfMatches ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b49bd4 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b49cdb in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7b48e39 in wxEvtHandler::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7aaac81 in wxAppConsole::ProcessPendingEvents ()
   from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7dba3e1 in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0xb7d0a613 in wxapp_idle_callback ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb72983b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb729a311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb729d9a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#16 0xb729dec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb7589279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7d24075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0xb7dba24e in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7db9e21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7ae3fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#22 0xb7ae41b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0x08264cce in main (argc=0, argv=0x0) at amule-gui.cpp:94

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amule crash every time!
« Reply #4 on: December 06, 2008, 11:06:46 PM »

So my patch was useless, just as I feared.  :(

I can reproduce this nasty crash I reported with very good probability so I wonder why this is problem for you at all.
Well, I'm running aMule 24/7 and get no crashes.

Quote
Actually I encountered this crash once per few hours or days when downloading certain files.
Only with certain files ? Well, that's some information. Please send me a personal message with a link of such a file, and I'll try it.
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

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amule crash every time!
« Reply #5 on: December 07, 2008, 04:00:15 PM »

Try this patch which adds a mutex to protect the list which is getting corrupted.
(It's just 3 lines of code added, if you have problems with patch apply it by hand.)
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

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Amule crash every time!
« Reply #6 on: December 07, 2008, 09:25:56 PM »

Try this patch which adds a mutex to protect the list which is getting corrupted.
(It's just 3 lines of code added, if you have problems with patch apply it by hand.)


Hi, Stu.
Hm.
While i work with computer systems, i am not so good in programming
to apply it manually .
I need more info how to apply it.
Where to run it?
To run before/after compile?
How to run? 

Plese give newbe info ...  :-[
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amule crash every time!
« Reply #7 on: December 07, 2008, 09:37:43 PM »

It's a little change in the source, that's all. So you have to patch the source, then compile it, then run it just like always.
If you don't know how to run the 'patch' program just look at the patch:
Code: [Select]
Index: src/BaseClient.cpp
===================================================================
--- src/BaseClient.cpp (revision 9241)
+++ src/BaseClient.cpp (working copy)
@@ -1169,6 +1169,7 @@
 
 void CUpDownClient::ClearDownloadBlockRequests()
 {
+ wxMutexLocker lock(m_DownloadBlocksLocker);
  {
  std::list<Requested_Block_Struct*>::iterator it = m_DownloadBlocks_list.begin();
  for (; it != m_DownloadBlocks_list.end(); ++it) {
That means, open src/BaseClient.cpp, go to the area around line 1169, remove lines starting with '-' (there aren't any in this patch however), and add lines starting with '+' (without the '+' itself). Do the same for the other files in the patch.
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

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Amule crash every time!
« Reply #8 on: December 07, 2008, 10:29:30 PM »

OK.
got it -> patched -> compiled -> running ...

post results later ...

 
« Last Edit: December 07, 2008, 10:50:46 PM by din_vl »
Logged

din_vl

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: Amule crash every time!
« Reply #9 on: December 08, 2008, 06:09:22 AM »

I done everithing like you sad, but got another crash.  :(

[Thread debugging using libthread_db enabled]
[New Thread 0xb6dc2920 (LWP 16404)]
 2008-12-07 23:28:06: amule.cpp(524): Initialising aMule
 2008-12-07 23:28:06: amule.cpp(543): Checking if there is an instance already running...
 2008-12-07 23:28:06: amule.cpp(566): No other instances are running.
 2008-12-07 23:28:06: ListenSocket.cpp(66): ListenSocket: Ok.
[New Thread 0xb6711b90 (LWP 16412)]
 2008-12-07 23:28:07: DownloadQueue.cpp(110): Loading temp files from /mnt/amule/amule/Temp.
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 1 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 2 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 3 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 4 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 5 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 6 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 7 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 8 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(129): Loading PartFile 9 of 9
 2008-12-07 23:28:07: DownloadQueue.cpp(161): All PartFiles Loaded.
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/001.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/002.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/003.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/004.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/006.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/007.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/009.part.met to shares
 2008-12-07 23:28:07: SharedFileList.cpp(325): Adding file /mnt/amule/amule/Temp/028.part.met to shares
[New Thread 0xb5f10b90 (LWP 16413)]
[New Thread 0xb55ffb90 (LWP 16414)]
[Thread 0xb5f10b90 (LWP 16413) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6dc2920 (LWP 16404)]
0xb7add8e8 in operator+ () from /usr/lib/libwx_baseu-2.8.so.0

(gdb) bt
#0  0xb7add8e8 in operator+ () from /usr/lib/libwx_baseu-2.8.so.0
#1  0x0808e6e6 in CUpDownClient::Disconnected (this=0x9845688, strReason=@0xbf83d114, bFromSocket=false) at BaseClient.cpp:1221
#2  0x080a273f in CClientList::ProcessDirectCallbackList (this=0x9327430) at ClientList.cpp:1113
#3  0x080a6774 in CClientList::Process (this=0x9327430) at ClientList.cpp:748
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x92459a8) at amule.cpp:1454
#5  0xb7a80921 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7b1e9ba in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b1fbd4 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b1fcdb in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7b1ee39 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7a80c81 in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7d903e1 in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0xb7ce0613 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb726e3b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7270311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb72739a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#16 0xb7273ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb755f279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7cfa075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0xb7d9024e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7d8fe21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7ab9fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#22 0xb7aba1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0x08264f12 in main (argc=Cannot access memory at address 0x48
) at amule-gui.cpp:94


(gdb) bt full
#0  0xb7add8e8 in operator+ () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#1  0x0808e6e6 in CUpDownClient::Disconnected (this=0x9845688, strReason=@0xbf83d114, bFromSocket=false) at BaseClient.cpp:1221
   bDelete = 191
#2  0x080a273f in CClientList::ProcessDirectCallbackList (this=0x9327430) at ClientList.cpp:1113
   it2 = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x9327598, _M_version = 0, _M_prior = 0x0, _M_next = 0xbf83d0c4}, _M_current = {
    _M_node = 0x994ac38}}
   curClient = (CUpDownClient *) 0x9845688
   it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x9327598, _M_version = 1, _M_prior = 0xbf83d0b0, _M_next = 0x0}, _M_current = {
    _M_node = 0x9327590}}
   cur_tick = 332382986
#3  0x080a6774 in CClientList::Process (this=0x9327430) at ClientList.cpp:748
   cur_tick = 332382986
   buddy = Connected
   current_it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x9327568, _M_version = 1, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x9327554}}
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x92459a8) at amule.cpp:1454
   msCur = 7743103
   msPrev1 = 7743103
   msPrev5 = 7741209
   msPrevSave = 7687409
   msPrevHist = 7743000
   msPrevOS = 7741003
   msPrevKnownMet = 7200309
#5  0xb7a80921 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0xb7b1e9ba in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0xb7b1fbd4 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#8  0xb7b1fcdb in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#9  0xb7b1ee39 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#10 0xb7a80c81 in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#11 0xb7d903e1 in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#12 0xb7ce0613 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#13 0xb726e3b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#14 0xb7270311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0xb72739a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#16 0xb7273ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xb755f279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#18 0xb7cfa075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#19 0xb7d9024e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0xb7d8fe21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#21 0xb7ab9fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#22 0xb7aba1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#23 0x08264f12 in main (argc=Cannot access memory at address 0x48
) at amule-gui.cpp:94
No locals.



(gdb) thread apply all bt

Thread 4 (Thread 0xb55ffb90 (LWP 16414)):
#0  0xb8023424 in __kernel_vsyscall ()
#1  0xb7ffaee2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb7b1be67 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7b1bebf in wxCondition::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7b1d544 in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#5  0xb7b1d5cf in wxSemaphore::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x083a119c in CTimerThread::Entry (this=0x9537b70) at Timer.cpp:64
#7  0xb7b1d763 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b1d7dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7ff7145 in start_thread () from /lib/libpthread.so.0
#10 0xb789b63e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb6711b90 (LWP 16412)):
#0  0xb8023424 in __kernel_vsyscall ()
#1  0xb7ffe306 in nanosleep () from /lib/libpthread.so.0
#2  0xb7b23c38 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0xb7b23c61 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0xb7b1bcbd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081dfb11 in UploadBandwidthThrottler::Entry (this=0x9418178) at UploadBandwidthThrottler.cpp:324
#6  0xb7b1d763 in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b1d7dd in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7ff7145 in start_thread () from /lib/libpthread.so.0
#9  0xb789b63e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb6dc2920 (LWP 16404)):
#0  0xb7add8e8 in operator+ () from /usr/lib/libwx_baseu-2.8.so.0
#1  0x0808e6e6 in CUpDownClient::Disconnected (this=0x9845688, strReason=@0xbf83d114, bFromSocket=false) at BaseClient.cpp:1221
#2  0x080a273f in CClientList::ProcessDirectCallbackList (this=0x9327430) at ClientList.cpp:1113
#3  0x080a6774 in CClientList::Process (this=0x9327430) at ClientList.cpp:748
#4  0x0807b8cd in CamuleApp::OnCoreTimer (this=0x92459a8) at amule.cpp:1454
#5  0xb7a80921 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0xb7b1e9ba in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#7  0xb7b1fbd4 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#8  0xb7b1fcdb in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#9  0xb7b1ee39 in wxEvtHandler::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb7a80c81 in wxAppConsole::ProcessPendingEvents () from /usr/lib/libwx_baseu-2.8.so.0
#11 0xb7d903e1 in wxAppBase::ProcessIdle () from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
#12 0xb7ce0613 in wxapp_idle_callback () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#13 0xb726e3b1 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb7270311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb72739a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#16 0xb7273ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0xb755f279 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7cfa075 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0xb7d9024e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7d8fe21 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7ab9fba in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#22 0xb7aba1b7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#23 0x08264f12 in main (argc=Cannot access memory at address 0x48
) at amule-gui.cpp:94
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amule crash every time!
« Reply #10 on: December 09, 2008, 12:42:30 AM »

I'd say we're getting closer. At least it didn't crash where it crashed before.
Again no idea why it should crash on
Code: [Select]
AddDebugLogLineM(false, logClient, wxT("Direct callback failed to client ") + GetUserHash().Encode() + wxT(" on ip ") + GetFullIP());
If you're feeling adventurous, just remove that line from BaseClient.cpp (1220) and try again.
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