crash occurred 30 seconds after connecting to the server, I was doing nothing on the amule window.
amule 2.2.2 , wxGTK 2.8.9, ubuntu 8.10 amd64
actually is not the first time that amule crashes directly after starting
luca@luca-desktop:~$ gdb amule
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8384de6780 (LWP 7862)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread 0x426f6950 (LWP 7868)]
HTTP download thread started
ListenSocket: Ok.
[New Thread 0x42ef7950 (LWP 7886)]
Loading temp files from /media/seagate9_/musica/amule/temp.
Loading PartFile 49 of 49
All PartFiles Loaded.
[New Thread 0x41c4c950 (LWP 7934)]
[New Thread 0x436f8950 (LWP 7935)]
Host: amule.sourceforge.net:80
URL: http://amule.sourceforge.net/lastversion
Response: 200 (Error: 0)
Download size: 6
HTTP download thread ended
[Thread 0x426f6950 (LWP 7868) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f8384de6780 (LWP 7862)]
0x00000000006cf738 in CMuleTrayIcon::SetTrayIcon (this=0x1000de26f40, Icon=2, percent=8) at MuleTrayIcon.cpp:211
211 Bar_ySize = HighId_Icon_size;
(gdb) bt
#0 0x00000000006cf738 in CMuleTrayIcon::SetTrayIcon (this=0x1000de26f40, Icon=2, percent=8) at MuleTrayIcon.cpp:211
#1 0x0000000000657543 in CamuleDlg::UpdateTrayIcon (this=0xd98e120, percent=8) at amuleDlg.cpp:365
#2 0x0000000000657a36 in CamuleDlg::ShowTransferRate (this=0xd98e120) at amuleDlg.cpp:832
#3 0x0000000000657fed in CamuleDlg::OnGUITimer (this=0xd98e120) at amuleDlg.cpp:1069
#4 0x00007f838331c389 in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#5 0x00007f838331d564 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#6 0x00007f838331d657 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#7 0x00007f8383a96f86 in wxTimerBase::Notify () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00007f83839b375b in timeout_callback () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9 0x00007f837ff8f4fb in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007f837ff8ed3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00007f837ff9250d in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00007f837ff92a3d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00007f8381e1f7a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007f83839ab118 in wxEventLoop::Run () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00007f8383a252cb in wxAppBase::MainLoop () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00007f83832c140d in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#17 0x000000000064cf55 in main (argc=1, argv=0x7fff8ce152d8) at amule-gui.cpp:95
(gdb) bt full
#0 0x00000000006cf738 in CMuleTrayIcon::SetTrayIcon (this=0x1000de26f40, Icon=2, percent=8) at MuleTrayIcon.cpp:211
Bar_ySize = 0
NewSize = 4596327
#1 0x0000000000657543 in CamuleDlg::UpdateTrayIcon (this=0xd98e120, percent=8) at amuleDlg.cpp:365
No locals.
#2 0x0000000000657a36 in CamuleDlg::ShowTransferRate (this=0xd98e120) at amuleDlg.cpp:832
percentDown = 8
buffer2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x0}, <No data fields>}
kBpsUp = 11.5566368
kBpsDown = 21.7108116
buffer = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x7f8370019538}, <No data fields>}
label = (struct wxStaticText *) 0xa937fc0
bmp = (struct wxStaticBitmap *) 0x0
#3 0x0000000000657fed in CamuleDlg::OnGUITimer (this=0xd98e120) at amuleDlg.cpp:1069
msCur = 479654
msGraphUpdate = 3000
sStatsUpdate = 30
msPrev1 = 478796
msPrev5 = 479654
msPrevStats = 0
msPrevGraph = 477514
#4 0x00007f838331c389 in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
No locals.
#5 0x00007f838331d564 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
No locals.
#6 0x00007f838331d657 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
No locals.
#7 0x00007f8383a96f86 in wxTimerBase::Notify () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No locals.
#8 0x00007f83839b375b in timeout_callback () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No locals.
#9 0x00007f837ff8f4fb in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00007f837ff8ed3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00007f837ff9250d in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00007f837ff92a3d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00007f8381e1f7a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x00007f83839ab118 in wxEventLoop::Run () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No locals.
#15 0x00007f8383a252cb in wxAppBase::MainLoop () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No locals.
#16 0x00007f83832c140d in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
No locals.
#17 0x000000000064cf55 in main (argc=1, argv=0x7fff8ce152d8) at amule-gui.cpp:95
No locals.
(gdb) thread apply all bt
Thread 5 (Thread 0x436f8950 (LWP 7935)):
#0 0x00007f83849e755d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007f8383319d79 in wxConditionInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#2 0x00007f838331b102 in wxSemaphoreInternal::WaitTimeout () from /usr/local/lib/libwx_baseu-2.8.so.0
#3 0x000000000078f03d in CTimerThread::Entry (this=0x2c0c0e0) at Timer.cpp:64
#4 0x00007f838331b2ea in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#5 0x00007f83849e33ea in start_thread () from /lib/libpthread.so.0
#6 0x00007f83825c4c6d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x41c4c950 (LWP 7934)):
#0 0x00007f83849e9f4b in read () from /lib/libpthread.so.0
#1 0x0000000000778532 in CFile::doRead (this=0x41c4bba0, buffer=0x7f83709a2bd0, count=9728000) at CFile.cpp:304
#2 0x0000000000788e08 in CFileDataIO::Read (this=0x41c4bba0, buffer=0x7f83709a2bd0, count=9728000) at SafeFile.cpp:72
#3 0x00000000006e6966 in CKnownFile::CreateHashFromFile (file=0x41c4bba0, Length=9728000, Output=0x41c4b850,
pShaHashOut=0x0) at KnownFile.cpp:776
#4 0x00000000005c0762 in CHashingTask::CreateNextPartHash (this=0xa440830, file=0x41c4bba0, owner=0x7f8368005fc0,
toHash=CHashingTask::EH_MD4) at ThreadTasks.cpp:220
#5 0x00000000005c1659 in CHashingTask::Entry (this=0xa440830) at ThreadTasks.cpp:148
#6 0x00000000007c7f6b in CThreadScheduler::Entry (this=0xa31fbb0) at ThreadScheduler.cpp:291
#7 0x00000000007d4c4d in CTaskThread::Entry (this=0xadceca0) at ThreadScheduler.cpp:61
#8 0x00007f838331b2ea in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#9 0x00007f83849e33ea in start_thread () from /lib/libpthread.so.0
#10 0x00007f83825c4c6d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x42ef7950 (LWP 7886)):
#0 0x00007f83849ea851 in nanosleep () from /lib/libpthread.so.0
#1 0x00007f8383320f9c in wxMicroSleep () from /usr/local/lib/libwx_baseu-2.8.so.0
#2 0x00000000005c5d9a in UploadBandwidthThrottler::Entry (this=0xa364230) at UploadBandwidthThrottler.cpp:324
#3 0x00007f838331b2ea in wxThreadInternal::PthreadStart () from /usr/local/lib/libwx_baseu-2.8.so.0
#4 0x00007f83849e33ea in start_thread () from /lib/libpthread.so.0
#5 0x00007f83825c4c6d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f8384de6780 (LWP 7862)):
#0 0x00000000006cf738 in CMuleTrayIcon::SetTrayIcon (this=0x1000de26f40, Icon=2, percent=8) at MuleTrayIcon.cpp:211
#1 0x0000000000657543 in CamuleDlg::UpdateTrayIcon (this=0xd98e120, percent=8) at amuleDlg.cpp:365
#2 0x0000000000657a36 in CamuleDlg::ShowTransferRate (this=0xd98e120) at amuleDlg.cpp:832
#3 0x0000000000657fed in CamuleDlg::OnGUITimer (this=0xd98e120) at amuleDlg.cpp:1069
#4 0x00007f838331c389 in wxEvtHandler::ProcessEventIfMatches () from /usr/local/lib/libwx_baseu-2.8.so.0
#5 0x00007f838331d564 in wxEventHashTable::HandleEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#6 0x00007f838331d657 in wxEvtHandler::ProcessEvent () from /usr/local/lib/libwx_baseu-2.8.so.0
#7 0x00007f8383a96f86 in wxTimerBase::Notify () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00007f83839b375b in timeout_callback () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9 0x00007f837ff8f4fb in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007f837ff8ed3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00007f837ff9250d in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00007f837ff92a3d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00007f8381e1f7a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007f83839ab118 in wxEventLoop::Run () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00007f8383a252cb in wxAppBase::MainLoop () from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00007f83832c140d in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#17 0x000000000064cf55 in main (argc=1, argv=0x7fff8ce152d8) at amule-gui.cpp:95
(gdb)