Hi!
After some time (ten minutes or some hours) cvs 20070915 crashes.
I use debian sid amd64, glibc 2.6.1, gcc 4.2.1 and wxwidgets 2.8.4.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47861326311424 (LWP 1713)]
CMuleTrayIcon::SetTrayIcon (this=0x1000584e000, Icon=1, percent=8) at MuleTrayIcon.cpp:208
208 Bar_ySize = LowId_Icon_size;
(gdb) bt
#0 CMuleTrayIcon::SetTrayIcon (this=0x1000584e000, Icon=1, percent=8) at MuleTrayIcon.cpp:208
#1 0x00000000005a5695 in CamuleDlg::ShowTransferRate (this=0x10ce870) at amuleDlg.cpp:823
#2 0x00000000005a5b3e in CamuleDlg::OnGUITimer (this=0x10ce870) at amuleDlg.cpp:1066
#3 0x00002b878d9de4bd in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x00002b878d9de67c in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00002b878d9de7bd in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6 0x00002b878d371da6 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7 0x00002b878d26aa44 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00002b878fc7c4cb in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x00002b878fc7bd93 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0x00002b878fc7f08d in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00002b878fc7f39a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00002b87902535e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002b878d2628ed in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00002b878d2f32ab in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b878d97db3c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x000000000059f602 in main (argc=1, argv=0x1) at amule-gui.cpp:95
#17 0x00002b878e61bb44 in __libc_start_main () from /lib/libc.so.6
#18 0x000000000044f0d9 in _start ()
(gdb) bt full
#0 CMuleTrayIcon::SetTrayIcon (this=0x1000584e000, Icon=1, percent=8) at MuleTrayIcon.cpp:208
col = {<wxColourBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x1b3ab20, static ms_classInfo = {m_className = 0x2b878d9fef48, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878dc4b660, static sm_classTable = 0xd60010},
m_refData = 0x7fff1e82d8d0}, static ms_classInfo = {m_className = 0x2b878d3d6a70, m_objectSize = 16,
m_objectConstructor = 0x2b878d32a070 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b878dc4b580, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80,
m_next = 0x2b878d6aa2c0, static sm_classTable = 0xd60010}}, <No data fields>}, static ms_classInfo = {m_className = 0x2b878d3c39f8, m_objectSize = 16,
m_objectConstructor = 0x2b878d2523b0 <wxColour::wxCreateObject()>, m_baseInfo1 = 0x2b878d6a9ea0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878d6a3ae0,
static sm_classTable = 0xd60010}}
brush = {<wxBrushBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x37e, static ms_classInfo = {m_className = 0x2b878d9fef48, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878dc4b660, static sm_classTable = 0xd60010},
m_refData = 0x2b878d36680b}, static ms_classInfo = {m_className = 0x2b878d3d6a70, m_objectSize = 16,
m_objectConstructor = 0x2b878d32a070 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b878dc4b580, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80,
m_next = 0x2b878d6aa2c0, static sm_classTable = 0xd60010}}, <No data fields>}, static ms_classInfo = {m_className = 0x2b878d3c38f8, m_objectSize = 16,
m_objectConstructor = 0x2b878d2507a0 <wxBrush::wxCreateObject()>, m_baseInfo1 = 0x2b878d6a9ea0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878d6a3a60,
static sm_classTable = 0xd60010}}
new_mask = <value optimized out>
TempBMP = {<wxBitmapBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x7fff1e82d8c0, static ms_classInfo = {m_className = 0x2b878d9fef48, m_objectSize = 16,
m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878dc4b660, static sm_classTable = 0xd60010},
m_refData = 0x3478d366374}, static ms_classInfo = {m_className = 0x2b878d3d6a70, m_objectSize = 16,
m_objectConstructor = 0x2b878d32a070 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b878dc4b580, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80,
m_next = 0x2b878d6aa2c0, static sm_classTable = 0xd60010}}, static sm_handlers = {<wxObjectList> = {<wxListBase> = {<wxObject> = {_vptr.wxObject = 0xb62770,
static ms_classInfo = {m_className = 0x2b878d9fef48, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80,
m_next = 0x2b878dc4b660, static sm_classTable = 0xd60010}, m_refData = 0x0}, m_count = 0, m_destroy = false, m_nodeFirst = 0x0, m_nodeLast = 0x0,
m_keyType = wxKEY_NONE}, <No data fields>}, static ms_classInfo = {m_className = 0x2b878d9fe6d4, m_objectSize = 56,
m_objectConstructor = 0x2b878d9896d0 <wxList::wxCreateObject()>, m_baseInfo1 = 0x2b878dc4b580, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878dc4b4a0,
static sm_classTable = 0xd60010}}, static ms_classInfo = {m_className = 0x2b878d3d33e8, m_objectSize = 16, m_objectConstructor = 0, m_baseInfo1 = 0x2b878d6a9ea0,
m_baseInfo2 = 0x0, static sm_first = 0xb6ed80, m_next = 0x2b878d6a7840, static sm_classTable = 0xd60010}}, static ms_classInfo = {m_className = 0x2b878d3c3840,
m_objectSize = 16, m_objectConstructor = 0x2b878d24cd00 <wxBitmap::wxCreateObject()>, m_baseInfo1 = 0x2b878d6a9ea0, m_baseInfo2 = 0x0, static sm_first = 0xb6ed80,
m_next = 0x2b878d6a3940, static sm_classTable = 0xd60010}}
Bar_ySize = <value optimized out>
#1 0x00000000005a5695 in CamuleDlg::ShowTransferRate (this=0x10ce870) at amuleDlg.cpp:823
buffer2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x0}, <No data fields>}
kBpsUp = 23.968071
kBpsDown = 2221.8855
buffer = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x42e5308}, <No data fields>}
label = (wxStaticText *) 0x56b7600
bmp = <value optimized out>
#2 0x00000000005a5b3e in CamuleDlg::OnGUITimer (this=0x10ce870) at amuleDlg.cpp:1066
msCur = 2253059
bStatsVisible = false
msGraphUpdate = <value optimized out>
msPrev1 = 2252444
msPrev5 = 2253059
msPrevStats = 0
msPrevGraph = 2253059
#3 0x00002b878d9de4bd in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4 0x00002b878d9de67c in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5 0x00002b878d9de7bd in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6 0x00002b878d371da6 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7 0x00002b878d26aa44 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8 0x00002b878fc7c4cb in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#9 0x00002b878fc7bd93 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0x00002b878fc7f08d in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00002b878fc7f39a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00002b87902535e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#13 0x00002b878d2628ed in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#14 0x00002b878d2f32ab in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0x00002b878d97db3c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x000000000059f602 in main (argc=1, argv=0x1) at amule-gui.cpp:95
No locals.
#17 0x00002b878e61bb44 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#18 0x000000000044f0d9 in _start ()
No symbol table info available.
(gdb) thread apply all bt
Thread 4 (Thread 1098918224 (LWP 1723)):
#0 0x00002b878c4a1997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00002b878d9dbed9 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#2 0x00002b878d9dc80e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3 0x0000000000669235 in CTimerThread::Entry (this=0xdecc20) at Timer.cpp:63
#4 0x00002b878d9dcdda in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00002b878c49d317 in start_thread () from /lib/libpthread.so.0
#6 0x00002b878e6d1c8d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 2 (Thread 1082132816 (LWP 1721)):
#0 0x00002b878c4a47b1 in ?? () from /lib/libpthread.so.0
#1 0x00002b878d9e20bc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2 0x000000000053fa09 in UploadBandwidthThrottler::Entry (this=0x5858510) at UploadBandwidthThrottler.cpp:321
#3 0x00002b878d9dcdda in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x00002b878c49d317 in start_thread () from /lib/libpthread.so.0
#5 0x00002b878e6d1c8d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()
Thread 1 (Thread 47861326311424 (LWP 1713)):
#0 CMuleTrayIcon::SetTrayIcon (this=0x1000584e000, Icon=1, percent=8) at MuleTrayIcon.cpp:208
#1 0x00000000005a5695 in CamuleDlg::ShowTransferRate (this=0x10ce870) at amuleDlg.cpp:823
#2 0x00000000005a5b3e in CamuleDlg::OnGUITimer (this=0x10ce870) at amuleDlg.cpp:1066
#3 0x00002b878d9de4bd in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x00002b878d9de67c in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00002b878d9de7bd in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6 0x00002b878d371da6 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#7 0x00002b878d26aa44 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8 0x00002b878fc7c4cb in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x00002b878fc7bd93 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#10 0x00002b878fc7f08d in ?? () from /usr/lib/libglib-2.0.so.0
#11 0x00002b878fc7f39a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#12 0x00002b87902535e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002b878d2628ed in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x00002b878d2f32ab in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b878d97db3c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#16 0x000000000059f602 in main (argc=1, argv=0x1) at amule-gui.cpp:95
#17 0x00002b878e61bb44 in __libc_start_main () from /lib/libc.so.6
#18 0x000000000044f0d9 in _start ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
Sorry for my bad English.