aMule Forum
English => Backtraces => Topic started by: feralertx on November 30, 2005, 09:43:42 AM
-
Hi people! Im experiencing lots of crashes with the latest amule CVS.
The one for this backtrace is CVS 29/11/05, Im using Debian Sarge and wxGTK 2.6 which i compiled myself by hand.
This is the output of amule -v:
aMule CVS using wxGTK1 v2.6.1 (Snapshot: Tue Nov 29 07:01:58 CET 2005) (OS: Linux)
Its a weird crash because the window is still visible on the screen (only the frame, the contents of if dont get draw). I wasnt doing anything with it when it happend since i just left it running when i went to sleep and discovered the crash when i woke up.
The backtrace:
(gdb) bt
#0 0x4034dc75 in wxGDIObject::IsNull () from /usr/lib/libwx_gtk_core-2.6.so.0
#1 0x40bbccfb in gdk_get_show_events () from /usr/lib/libgdk-1.2.so.0
#2 0x0ab20f68 in ?? ()
#3 0x00000145 in ?? ()
#4 0x40bf2a56 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#5 0x40bf403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#6 0x40bf44f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#7 0x40bf4724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#8 0x40afd25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#9 0x40349fd8 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0x403dcab3 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#11 0x403dcc1a in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#12 0x406d35f8 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081514c8 in main (argc=1, argv=0xbffff9e4) at amule-gui.cpp:15
(gdb) bt full
#0 0x4034dc75 in wxGDIObject::IsNull () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#1 0x40bbccfb in gdk_get_show_events () from /usr/lib/libgdk-1.2.so.0
No symbol table info available.
#2 0x0ab20f68 in ?? ()
No symbol table info available.
#3 0x00000145 in ?? ()
No symbol table info available.
#4 0x40bf2a56 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#5 0x40bf403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#6 0x40bf44f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#7 0x40bf4724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#8 0x40afd25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#9 0x40349fd8 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#10 0x403dcab3 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#11 0x403dcc1a in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#12 0x406d35f8 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#13 0x081514c8 in main (argc=1, argv=0xbffff9e4) at amule-gui.cpp:150
No locals.
(gdb) thread apply all bt
Thread 6 (Thread 1147501488 (LWP 24185)):
#0 0x40027436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
#1 0x40024893 in _L_mutex_lock_26 () from /lib/tls/libpthread.so.0
#2 0x44700a50 in ?? ()
#3 0x40777708 in wxEvtHandler::sm_eventTableEntries ()
from /usr/lib/libwx_base-2.6.so.0
#4 0x44657978 in ?? ()
#5 0x406e0df0 in wxObjectList::CreateNode () from /usr/lib/libwx_base-2.6.so.0
#6 0x407353af in wxMutexInternal::Lock () from /usr/lib/libwx_base-2.6.so.0
#7 0x407379f8 in wxMutex::Lock () from /usr/lib/libwx_base-2.6.so.0
#8 0x407377c2 in wxMutexGuiEnter () from /usr/lib/libwx_base-2.6.so.0
#9 0x403306e5 in wxApp::WakeUpIdle () from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0x4068de4b in wxWakeUpIdle () from /usr/lib/libwx_base-2.6.so.0
#11 0x40739965 in wxEvtHandler::AddPendingEvent ()
from /usr/lib/libwx_base-2.6.so.0
#12 0x4032356a in wxPostEvent () from /usr/lib/libwx_gtk_core-2.6.so.0
#13 0x0826174a in CTimerThread::Entry (this=0x867db20) at Timer.cpp:60
#14 0x40735ddb in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_base-2.6.so.0
#15 0x40735caf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#16 0x40022b63 in start_thread () from /lib/tls/libpthread.so.0
#17 0x4093518a in clone () from /lib/tls/libc.so.6
Thread 2 (Thread 1097071536 (LWP 24181)):
#0 0x40027dfc in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
#1 0x4073e088 in wxMicroSleep () from /usr/lib/libwx_base-2.6.so.0
#2 0x4073e0b5 in wxMilliSleep () from /usr/lib/libwx_base-2.6.so.0
#3 0x407363cf in wxThread::Sleep () from /usr/lib/libwx_base-2.6.so.0
#4 0x0811fa82 in UploadBandwidthThrottler::Entry (this=0x8d9e3f8)
at UploadBandwidthThrottler.cpp:354
#5 0x40735ddb in wxThreadInternal::PthreadStart ()
from /usr/lib/libwx_base-2.6.so.0
#6 0x40735caf in wxPthreadStart () from /usr/lib/libwx_base-2.6.so.0
#7 0x40022b63 in start_thread () from /lib/tls/libpthread.so.0
#8 0x4093518a in clone () from /lib/tls/libc.so.6
Thread 1 (Thread 1086440064 (LWP 24175)):
#0 0x4034dc75 in wxGDIObject::IsNull () from /usr/lib/libwx_gtk_core-2.6.so.0
#1 0x40bbccfb in gdk_get_show_events () from /usr/lib/libgdk-1.2.so.0
#2 0x0ab20f68 in ?? ()
#3 0x00000145 in ?? ()
#4 0x40bf2a56 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#5 0x40bf403d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#6 0x40bf44f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#7 0x40bf4724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#8 0x40afd25f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#9 0x40349fd8 in wxEventLoop::Run () from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0x403dcab3 in wxAppBase::MainLoop () from /usr/lib/libwx_gtk_core-2.6.so.0
#11 0x403dcc1a in wxAppBase::OnRun () from /usr/lib/libwx_gtk_core-2.6.so.0
#12 0x406d35f8 in wxEntry () from /usr/lib/libwx_base-2.6.so.0
#13 0x081514c8 in main (argc=1, argv=0xbffff9e4) at amule-gui.cpp:150
Thnx!!
-
It crashed again, after about 12 hours running, again i wasnt at the machine when it happened and this time there isnt a ghost amule window running.
Oh and BTW i just realized i said i was using ubuntu, my mistake, its debian sarge what im using, ill see if i can edit the first post.
Surprise! the gdb commands only produce this output, weird, aint it?:
Adding file /xmule/Temp/003.part.met to shares
Adding file /xmule/Temp/011.part.met to shares
Adding file /xmule/Temp/046.part.met to shares
Adding file /xmule/Temp/042.part.met to shares
Adding file /xmule/Temp/051.part.met to shares
Adding file /xmule/Temp/013.part.met to shares
Adding file /xmule/Temp/075.part.met to shares
Adding file /xmule/Temp/004.part.met to shares
[New Thread 1130617776 (LWP 24879)]
[Thread 1130617776 (zombie) exited]
[New Thread 1130617776 (LWP 24885)]
[New Thread 1139006384 (LWP 24891)]
[New Thread 1122229168 (LWP 24892)]
[Thread 1130617776 (zombie) exited]
[Thread 1139006384 (zombie) exited]
[Thread 1122229168 (zombie) exited]
Couldn't get registers: No existe tal proceso.
(gdb) bt
Cannot fetch general-purpose registers for thread 1122229168: generic error
(gdb) bt full
Cannot fetch general-purpose registers for thread 1122229168: generic error
(gdb) thread apply all bt
Cannot find new threads: generic error
(gdb)
I edit the post to show you the output of gdb when i tried to run amule again:
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n)y
thread_db_get_info: cannot get thread info: generic error
looks like it was still running?? As it didnt let me run it again i had to exit gdb and start it again.
Thanks for looking into it.
-
Another crash, well not really a crash. The computer slowed down and even moving the cursor took forever.
This is the output of the top command:
Tasks: 51 total, 1 running, 50 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.2% us, 20.0% sy, 0.0% ni, 0.0% id, 77.6% wa, 0.9% hi, 0.3% si
Mem: 516456k total, 513040k used, 3416k free, 200k buffers
Swap: 586144k total, 586144k used, 0k free, 4728k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
42 root 16 0 0 0 0 S 13.6 0.0 85:09.53 kswapd0
13872 leia 16 0 23972 928 7132 S 2.2 0.2 2:51.59 x-window-manage
24918 leia 15 0 943m 451m 17m S 1.4 89.5 855:54.81 amule
You can see amule eating up all memory.
These are the last lines of the amule output i managed to copy before i closed the xterm (i tried ctrl-c first but even when the amule window closed the memory wouldnt get released, so i couldnt do the gdb commands this time):
Adding file /xmule/Temp/051.part.met to shares
Adding file /xmule/Temp/042.part.met to shares
[New Thread 1130609584 (LWP 26028)]
[Thread 1130609584 (zombie) exited]
[New Thread 1130609584 (LWP 26033)]
[Thread 1130609584 (zombie) exited]
Invalid Kad tag; type=0x1f name=0x00
Invalid Kad tag; type=0xbd name=0x00
[New Thread 1130609584 (LWP 26060)]
[New Thread 1138998192 (LWP 26064)]
[New Thread 1122220976 (LWP 26065)]
[Thread 1130609584 (zombie) exited]
[Thread 1138998192 (zombie) exited]
[Thread 1122220976 (zombie) exited]
Gdk-ERROR **: BadWindow (invalid Window parameter)
serial 690106291 error_code 3 request_code 15 minor_code 0
Program received signal SIGINT, Interrupt.
[Switching to Thread 1086440064 (LWP 24918)]
0x406ded1f in wxListBase::~wxListBase () from /usr/lib/libwx_base-2.6.so.0
-
I experience the same issues too.
Seems that a piece of code introduced few days ago, at some time, starts eat up all the memory it can, then starts the kernel oom-killer and kill amuled.
Bye
-
Again the memory issue.
Same thing, amule eating up all system memory, computer slowed down, difficult to move the cursor or do anything (took forever). I managed to kill the amule process and give the dgb commands this time:
(gdb) bt
#0 0x40a7c484 in ?? () from /usr/lib/libgtk-1.2.so.0
#1 0x40af05c0 in gtk_label_get () from /usr/lib/libgtk-1.2.so.0
#2 0x40af0e27 in gtk_label_get () from /usr/lib/libgtk-1.2.so.0
#3 0x403d4a76 in wxStaticText::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#4 0x404772f9 in wxWindowBase::GetBestFittingSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#5 0x4045a16f in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#6 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#7 0x4045b721 in wxSizer::GetMinSize () from /usr/lib/libwx_gtk_core-2.6.so.0
#8 0x4045a198 in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#9 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0x4045b721 in wxSizer::GetMinSize () from /usr/lib/libwx_gtk_core-2.6.so.0
#11 0x4047723f in wxWindowBase::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#12 0x404aa7a6 in wxSplitterWindow::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#13 0x404772f9 in wxWindowBase::GetBestFittingSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#14 0x4045a16f in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#15 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
#16 0x4045e248 in wxStaticBoxSizer::CalcMin ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#17 0x4045b25b in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#18 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#19 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#20 0x404a093c in wxPanel::OnSize () from /usr/lib/libwx_gtk_core-2.6.so.0
#21 0x4068d808 in wxAppConsole::HandleEvent ()
from /usr/lib/libwx_base-2.6.so.0
#22 0x40739ad0 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_base-2.6.so.0
#23 0x40738f1f in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_base-2.6.so.0
#24 0x40739c70 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_base-2.6.so.0
#25 0x40360151 in wxWindow::DoSetSize () from /usr/lib/libwx_gtk_core-2.6.so.0
#26 0x4045a3ec in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#27 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#28 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#29 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#30 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#31 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#32 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#33 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#34 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#35 0x08158b45 in CamuleDlg::ShowTransferRate (this=Error accessing memory address 0xbffff4d8: No existe tal proceso.
) at amuleDlg.cpp:786
(gdb) bt full
#0 0x40a7c484 in ?? () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#1 0x40af05c0 in gtk_label_get () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#2 0x40af0e27 in gtk_label_get () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#3 0x403d4a76 in wxStaticText::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#4 0x404772f9 in wxWindowBase::GetBestFittingSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#5 0x4045a16f in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#6 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#7 0x4045b721 in wxSizer::GetMinSize () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#8 0x4045a198 in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#9 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#10 0x4045b721 in wxSizer::GetMinSize () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#11 0x4047723f in wxWindowBase::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#12 0x404aa7a6 in wxSplitterWindow::DoGetBestSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#13 0x404772f9 in wxWindowBase::GetBestFittingSize ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#14 0x4045a16f in wxSizerItem::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#15 0x4045dd67 in wxBoxSizer::CalcMin () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#16 0x4045e248 in wxStaticBoxSizer::CalcMin ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#17 0x4045b25b in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#18 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#19 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#20 0x404a093c in wxPanel::OnSize () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#21 0x4068d808 in wxAppConsole::HandleEvent ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#22 0x40739ad0 in wxEvtHandler::ProcessEventIfMatches ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#23 0x40738f1f in wxEventHashTable::HandleEvent ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#24 0x40739c70 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#25 0x40360151 in wxWindow::DoSetSize () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#26 0x4045a3ec in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#27 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#28 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#29 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#30 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#31 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#32 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#33 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#34 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#35 0x08158b45 in CamuleDlg::ShowTransferRate (this=Error accessing memory address 0xbffff4d8: No existe tal proceso.
) at amuleDlg.cpp:786
kBpsUp = Error accessing memory address 0xbffff4d8: No existe tal proceso.
(gdb) thread apply all bt
Cannot find new threads: generic error
-
Same high memory use problem.
Also, it would be nice a little note to let me know if this backtraces are of any use at all, because as the computer has no memory it takes quite a long time to get them. I dont mind to keep making and posting them, but only if they are of any use, or if i better pass on to another CVS please let me know too. Hope you can understand that, thanks.
The gdb output:
(gdb) bt
#0 CColorFrameCtrl::GetEventHashTable (this=0x8d858a0)
at ColorFrameCtrl.cpp:56
#1 0x40739c60 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_base-2.6.so.0
#2 0x40360151 in wxWindow::DoSetSize () from /usr/lib/libwx_gtk_core-2.6.so.0
#3 0x4045a3ec in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#4 0x4045d9e7 in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#5 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#6 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#7 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#8 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#9 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#10 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#11 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#12 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#13 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#14 0x4045e1d5 in wxStaticBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#15 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#16 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#17 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#18 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#19 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#20 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#21 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#22 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#23 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#24 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#25 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#26 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#27 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#28 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#29 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#30 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
#31 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
#32 0x081662ea in CKadDlg::UpdateGraph (this=Error accessing memory address 0xbffff548: No existe tal proceso.
) at KadDlg.cpp:134
Error accessing memory address 0xbffff548: No existe tal proceso.
(gdb)
(gdb) bt full
#0 CColorFrameCtrl::GetEventHashTable (this=Error accessing memory address 0xbfffeb90: No existe tal proceso.
) at ColorFrameCtrl.cpp:56
No locals.
#1 0x40739c60 in wxEvtHandler::ProcessEvent ()
from /usr/lib/libwx_base-2.6.so.0
No symbol table info available.
#2 0x40360151 in wxWindow::DoSetSize () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#3 0x4045a3ec in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#4 0x4045d9e7 in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#5 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#6 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#7 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#8 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#9 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#10 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#11 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#12 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#13 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#14 0x4045e1d5 in wxStaticBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#15 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#16 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#17 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#18 0x4045da8a in wxBoxSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#19 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#20 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#21 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#22 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#23 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#24 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#25 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#26 0x4045a422 in wxSizerItem::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#27 0x4045c424 in wxGridSizer::SetItemBounds ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#28 0x4045cfbc in wxFlexGridSizer::RecalcSizes ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#29 0x4045b266 in wxSizer::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#30 0x4045b6f9 in wxSizer::SetDimension ()
from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#31 0x40479b03 in wxWindowBase::Layout () from /usr/lib/libwx_gtk_core-2.6.so.0
No symbol table info available.
#32 0x081662ea in CKadDlg::UpdateGraph (this=Error accessing memory address 0xbffff548: No existe tal proceso.
) at KadDlg.cpp:134
apfKad = Error accessing memory address 0xbffff548: No existe tal proceso.
(gdb)
(gdb) thread apply all bt
Cannot find new threads: generic error
-
I also have that memory-eating-problem but in my case it was every morning between 7:30am and 8am... amule startet eating the ram, then the swap until finally the kernel killed it... so I took a look at my daily cronjobs which are started every day 7:35am... after manually starting some of them, i figured out that ntpdate is to blame...
i guess there is a problem when the system time is set while amule is running...
here the syslog-lines:
Dec 4 07:36:49 harry ntpdate[31058]: step time server 192.53.103.104 offset -8.707925 sec
-> amule starts eating memory
Dec 4 16:19:10 harry ntpdate[25075]: step time server 192.53.103.104 offset -3.157561 sec
-> amule starts eating memory
Dec 4 16:20:46 harry ntpdate[25275]: adjust time server 192.53.103.104 offset -0.010019 sec
-> normal operation
Dec 4 16:22:04 harry ntpdate[25483]: adjust time server 192.53.103.104 offset -0.003184 sec
-> normal operation
so i think there is somewhere in the new code a passage where the current system time is used and when it is changed by more then a second (because time() only gives full seconds) then amule starts eating memory and finally gets killed by the kernel...
now i am going to let ntpdate run every hour so there will be no more time-sets by more then a second and tomorrow we will see whether amule took its daily crashing or not- :)
-
Interesting. Good detective work, Uwe.