aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: 05 March 2008 SVN crash (kind of)  (Read 11823 times)

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
05 March 2008 SVN crash (kind of)
« on: April 06, 2008, 11:09:39 AM »

amule was quietly reduced in the bottom icon area (KDE 3.5), with a couple of files to download. I come back and I find it crashed. More precisely, the amule icon was still in the systray, but clicking (right, left, double click) on it had no effect whatsoever. amule still appears in the processes list.

Compiled from SVN, was running it into gdb.

gdb message:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47601729763632 (LWP 23772)]
0x000000000068958e in CMuleTrayIcon::SetTrayIcon (this=0x100017d7400, Icon=2, percent=2) at MuleTrayIcon.cpp:213
213                             Bar_ySize = HighId_Icon_size;

(gdb) bt
#0  0x000000000068958e in CMuleTrayIcon::SetTrayIcon (this=0x100017d7400, Icon=2, percent=2) at MuleTrayIcon.cpp:213
#1  0x0000000000620b7d in CamuleDlg::UpdateTrayIcon (this=0x1398b60, percent=2) at amuleDlg.cpp:345
#2  0x0000000000620ff1 in CamuleDlg::ShowTransferRate (this=0x1398b60) at amuleDlg.cpp:814
#3  0x0000000000621526 in CamuleDlg::OnGUITimer (this=0x1398b60) at amuleDlg.cpp:1056
#4  0x00002b4b1d6f266f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b4b1d6f280f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002b4b1d6f2959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002b4b1d079d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b4b1cf70a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002b4b1fdb470b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002b4b1fdb3fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002b4b1fdb72dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002b4b1fdb75ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002b4b203b2883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002b4b1cf6850d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b4b1cff9c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002b4b1d69180c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0000000000618f8c in main (argc=1, argv=0x7fff8ee08d18) at amule-gui.cpp:92

(gdb) bt full
#0  0x000000000068958e in CMuleTrayIcon::SetTrayIcon (this=0x100017d7400, Icon=2, percent=2) at MuleTrayIcon.cpp:213
        Bar_ySize = 0
        NewSize = 32767
#1  0x0000000000620b7d in CamuleDlg::UpdateTrayIcon (this=0x1398b60, percent=2) at amuleDlg.cpp:345
No locals.
#2  0x0000000000620ff1 in CamuleDlg::ShowTransferRate (this=0x1398b60) at amuleDlg.cpp:814
        percentDown = 2
        buffer2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x17f7ba0}, <No data fields>}
        kBpsUp = 17.9729748
        kBpsDown = 3.85028601
        buffer = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x1a1ff68}, <No data fields>}
        label = (struct wxStaticText *) 0x15cd000
        bmp = (struct wxStaticBitmap *) 0x46144e
#3  0x0000000000621526 in CamuleDlg::OnGUITimer (this=0x1398b60) at amuleDlg.cpp:1056
        msCur = 78109142
        bStatsVisible = false
        msGraphUpdate = 3000
        sStatsUpdate = 30
        msPrev1 = 78108824
        msPrev5 = 78109142
        msPrevStats = 66465038
        msPrevGraph = 78108017
#4  0x00002b4b1d6f266f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00002b4b1d6f280f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00002b4b1d6f2959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00002b4b1d079d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002b4b1cf70a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0x00002b4b1fdb470b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00002b4b1fdb3fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00002b4b1fdb72dd in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00002b4b1fdb75ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002b4b203b2883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#14 0x00002b4b1cf6850d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#15 0x00002b4b1cff9c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0x00002b4b1d69180c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x0000000000618f8c in main (argc=1, argv=0x7fff8ee08d18) at amule-gui.cpp:92
No locals.

(gdb) thread apply all bt

Thread 4 (Thread 1098918224 (LWP 23783)):
#0  0x00002b4b1bec6997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002b4b1d6f0039 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00002b4b1d6f096e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x0000000000730e36 in CTimerThread::Entry (this=0xf3a210) at Timer.cpp:64
#4  0x00002b4b1d6f0f3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b4b1bec2317 in start_thread () from /lib/libpthread.so.0
#6  0x00002b4b1e5f5d5d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 23781)):
#0  0x00002b4b1bec97b1 in ?? () from /lib/libpthread.so.0
#1  0x00002b4b1d6f62fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000059b2dd in UploadBandwidthThrottler::Entry (this=0x17feb80) at UploadBandwidthThrottler.cpp:324
#3  0x00002b4b1d6f0f3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002b4b1bec2317 in start_thread () from /lib/libpthread.so.0
#5  0x00002b4b1e5f5d5d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 47601729763632 (LWP 23772)):
#0  0x000000000068958e in CMuleTrayIcon::SetTrayIcon (this=0x100017d7400, Icon=2, percent=2) at MuleTrayIcon.cpp:213
#1  0x0000000000620b7d in CamuleDlg::UpdateTrayIcon (this=0x1398b60, percent=2) at amuleDlg.cpp:345
#2  0x0000000000620ff1 in CamuleDlg::ShowTransferRate (this=0x1398b60) at amuleDlg.cpp:814
#3  0x0000000000621526 in CamuleDlg::OnGUITimer (this=0x1398b60) at amuleDlg.cpp:1056
#4  0x00002b4b1d6f266f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002b4b1d6f280f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002b4b1d6f2959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002b4b1d079d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b4b1cf70a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002b4b1fdb470b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002b4b1fdb3fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002b4b1fdb72dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002b4b1fdb75ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002b4b203b2883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002b4b1cf6850d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002b4b1cff9c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002b4b1d69180c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0000000000618f8c in main (argc=1, argv=0x7fff8ee08d18) at amule-gui.cpp:92

I hope that helps
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #1 on: April 08, 2008, 07:34:29 AM »

Oops! I just realized there is a dedicated forum for GDB backtraces. If some forum admin wants to move this thread next door...

[EDIT] Thank you!
« Last Edit: April 08, 2008, 01:55:57 PM by Brezhonneg »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: 05 March 2008 SVN crash (kind of)
« Reply #2 on: April 09, 2008, 11:38:14 PM »

Please try tomorrows tarball, there have been changes in the TrayIcon code.
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

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #3 on: April 10, 2008, 05:52:08 PM »

OK, I'm running SVN Thu Apr 10 now. Is there anything I should do to try and trigger the bug (I have no idea what might trigger it), or is it just wait and see?
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #4 on: April 11, 2008, 07:26:30 AM »

Bad news, it crashed again.

I am now using SVN Apr 10. I was doing some file searching when suddenly, I could not click on anything (well, I could click, but it had no effect, the mouse cursor seemed not affected by what was under it, ie its shape was not changing when I hovered over a text field, etc...). I reduced the window, which should have sent it to tray. Instead, aMule was still appearing next to the other applications in the bottom bar, and clicking on the icon in the tray had no effect (any click). Restoring the window by clicking on the reduced thing in the bottom bar brought up a blank window.

Here is what gdb had to say about this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47024350849328 (LWP 2099)]
0x0000000000688f30 in CMuleTrayIcon::SetTrayIcon (this=0x100017e7000, Icon=2, percent=6) at MuleTrayIcon.cpp:211
211                             Bar_ySize = HighId_Icon_size;
(gdb) bt
#0  0x0000000000688f30 in CMuleTrayIcon::SetTrayIcon (this=0x100017e7000, Icon=2, percent=6) at MuleTrayIcon.cpp:211
#1  0x0000000000621193 in CamuleDlg::UpdateTrayIcon (this=0x13ad4f0, percent=6) at amuleDlg.cpp:341
#2  0x0000000000621607 in CamuleDlg::ShowTransferRate (this=0x13ad4f0) at amuleDlg.cpp:810
#3  0x0000000000621acf in CamuleDlg::OnGUITimer (this=0x13ad4f0) at amuleDlg.cpp:1047
#4  0x00002ac4aef8166f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ac4aef8180f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002ac4aef81959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002ac4ae908d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002ac4ae7ffa14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002ac4b164370b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002ac4b1642fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002ac4b16462dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002ac4b16465ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002ac4b1c41883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002ac4ae7f750d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002ac4ae888c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002ac4aef2080c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00000000006194c4 in main (argc=1, argv=0x7ffffd57bbe8) at amule-gui.cpp:92
(gdb) bt full
#0  0x0000000000688f30 in CMuleTrayIcon::SetTrayIcon (this=0x100017e7000, Icon=2, percent=6) at MuleTrayIcon.cpp:211
        Bar_ySize = 0
        NewSize = 32767
#1  0x0000000000621193 in CamuleDlg::UpdateTrayIcon (this=0x13ad4f0, percent=6) at amuleDlg.cpp:341
No locals.
#2  0x0000000000621607 in CamuleDlg::ShowTransferRate (this=0x13ad4f0) at amuleDlg.cpp:810
        percentDown = 6
        buffer2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x80}, <No data fields>}
        kBpsUp = 17.9958801
        kBpsDown = 13.3669434
        buffer = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x18b0cf8}, <No data fields>}
        label = (struct wxStaticText *) 0x15e1400
        bmp = (struct wxStaticBitmap *) 0x4616ee
#3  0x0000000000621acf in CamuleDlg::OnGUITimer (this=0x13ad4f0) at amuleDlg.cpp:1047
        msCur = 78681987
        msGraphUpdate = 3000
        sStatsUpdate = 30
        msPrev1 = 78681682
        msPrev5 = 78681987
        msPrevStats = 30018693
        msPrevGraph = 78681079
#4  0x00002ac4aef8166f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00002ac4aef8180f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00002ac4aef81959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00002ac4ae908d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002ac4ae7ffa14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0x00002ac4b164370b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00002ac4b1642fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00002ac4b16462dd in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00002ac4b16465ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002ac4b1c41883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x00002ac4ae7f750d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#15 0x00002ac4ae888c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0x00002ac4aef2080c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x00000000006194c4 in main (argc=1, argv=0x7ffffd57bbe8) at amule-gui.cpp:92
No locals.
(gdb) thread apply all bt

Thread 4 (Thread 1098918224 (LWP 2110)):
#0  0x00002ac4ad755997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002ac4aef7f039 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00002ac4aef7f96e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x0000000000730206 in CTimerThread::Entry (this=0xf342c0) at Timer.cpp:64
#4  0x00002ac4aef7ff3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ac4ad751317 in start_thread () from /lib/libpthread.so.0
#6  0x00002ac4afe84d5d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 2108)):
#0  0x00002ac4ad7587b1 in ?? () from /lib/libpthread.so.0
#1  0x00002ac4aef852fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000059b5b9 in UploadBandwidthThrottler::Entry (this=0x180e960) at UploadBandwidthThrottler.cpp:324
#3  0x00002ac4aef7ff3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002ac4ad751317 in start_thread () from /lib/libpthread.so.0
#5  0x00002ac4afe84d5d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 47024350849328 (LWP 2099)):
#0  0x0000000000688f30 in CMuleTrayIcon::SetTrayIcon (this=0x100017e7000, Icon=2, percent=6) at MuleTrayIcon.cpp:211
#1  0x0000000000621193 in CamuleDlg::UpdateTrayIcon (this=0x13ad4f0, percent=6) at amuleDlg.cpp:341
#2  0x0000000000621607 in CamuleDlg::ShowTransferRate (this=0x13ad4f0) at amuleDlg.cpp:810
#3  0x0000000000621acf in CamuleDlg::OnGUITimer (this=0x13ad4f0) at amuleDlg.cpp:1047
#4  0x00002ac4aef8166f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ac4aef8180f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002ac4aef81959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002ac4ae908d76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002ac4ae7ffa14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002ac4b164370b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002ac4b1642fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002ac4b16462dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002ac4b16465ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002ac4b1c41883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002ac4ae7f750d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002ac4ae888c8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002ac4aef2080c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x00000000006194c4 in main (argc=1, argv=0x7ffffd57bbe8) at amule-gui.cpp:92
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n)


I hope this helps.
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #5 on: April 11, 2008, 08:42:23 AM »

It just happened again. This time, I was not using aMule at all.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 05 March 2008 SVN crash (kind of)
« Reply #6 on: April 11, 2008, 12:06:00 PM »

Your sustem tray (kicker, or any other) is crashing and causing aMule to crash.
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #7 on: April 11, 2008, 12:21:12 PM »

Sounds odd, but you must know better than me. Other icons in the systray are not affected by kicker crashes, so there must be a way around this problem for sure...
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 05 March 2008 SVN crash (kind of)
« Reply #8 on: April 11, 2008, 01:42:49 PM »

Just try it: open aMule, then "killall -9 kicker" and see the result. It should be the same.

About workarounding it... it would have to be at wxWidgets-level.
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #9 on: April 11, 2008, 03:27:51 PM »

Nope, the result is that kicker goes away, gdb does not say anything, I restart kicker, and everything is fine except that the systray icon is now a reduced window titled "systray icon" and if I maximize it, I get the icon in the upper left corner of the screen. Anyways, amule does not crash.

I hope that helps.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 05 March 2008 SVN crash (kind of)
« Reply #10 on: April 11, 2008, 06:25:23 PM »

Funny. It crashes here, and in every other kde I know.

Oh well, that's for the developers to check.
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #11 on: April 11, 2008, 07:02:35 PM »

I'm running KDE 3.5.8, packaged by Kubuntu (7.10) on a 64bits system (and OS).

Anyways, a kicker crash is usually quite visible on screen, and at least in one of the occurences of the crash, I happened to be in front of my screen and did not notice anything like a kicker crash. Just my 2 cents (or less)
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #12 on: April 22, 2008, 04:54:24 AM »

The bug is still present in today's SVN version (21 April).

Also please note that it also happens when the systray icon is not used (option ticked out in the settings)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 48007703730480 (LWP 9696)]
0x0000000000697d74 in CMuleTrayIcon::SetTrayIcon (this=0x1aaac00f9b0, Icon=2, percent=0) at MuleTrayIcon.cpp:211
211                             Bar_ySize = HighId_Icon_size;
(gdb) bt
#0  0x0000000000697d74 in CMuleTrayIcon::SetTrayIcon (this=0x1aaac00f9b0, Icon=2, percent=0) at MuleTrayIcon.cpp:211
#1  0x000000000062f50f in CamuleDlg::UpdateTrayIcon (this=0x13d0f50, percent=0) at amuleDlg.cpp:359
#2  0x000000000062f983 in CamuleDlg::ShowTransferRate (this=0x13d0f50) at amuleDlg.cpp:828
#3  0x000000000062fe4b in CamuleDlg::OnGUITimer (this=0x13d0f50) at amuleDlg.cpp:1065
#4  0x00002ba9a35e466f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ba9a35e480f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002ba9a35e4959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002ba9a2f6bd76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002ba9a2e62a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002ba9a5ca670b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002ba9a5ca5fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002ba9a5ca92dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002ba9a5ca95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002ba9a62a4883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002ba9a2e5a50d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002ba9a2eebc8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002ba9a358380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0000000000626834 in main (argc=1, argv=0x7fff08f17558) at amule-gui.cpp:92
(gdb) bt full
#0  0x0000000000697d74 in CMuleTrayIcon::SetTrayIcon (this=0x1aaac00f9b0, Icon=2, percent=0) at MuleTrayIcon.cpp:211
        Bar_ySize = 0
        NewSize = 32767
#1  0x000000000062f50f in CamuleDlg::UpdateTrayIcon (this=0x13d0f50, percent=0) at amuleDlg.cpp:359
No locals.
#2  0x000000000062f983 in CamuleDlg::ShowTransferRate (this=0x13d0f50) at amuleDlg.cpp:828
        percentDown = 0
        buffer2 = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x80}, <No data fields>}
        kBpsUp = 18.0297222
        kBpsDown = 0
        buffer = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x1d54068}, <No data fields>}
        label = (struct wxStaticText *) 0x1605000
        bmp = (struct wxStaticBitmap *) 0x461a74
#3  0x000000000062fe4b in CamuleDlg::OnGUITimer (this=0x13d0f50) at amuleDlg.cpp:1065
        msCur = 775079
        msGraphUpdate = 3000
        sStatsUpdate = 30
        msPrev1 = 774368
        msPrev5 = 775079
        msPrevStats = 0
        msPrevGraph = 774062
#4  0x00002ba9a35e466f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00002ba9a35e480f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00002ba9a35e4959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#7  0x00002ba9a2f6bd76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002ba9a2e62a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0x00002ba9a5ca670b in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#10 0x00002ba9a5ca5fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x00002ba9a5ca92dd in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x00002ba9a5ca95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#13 0x00002ba9a62a4883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x00002ba9a2e5a50d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#15 0x00002ba9a2eebc8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#16 0x00002ba9a358380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x0000000000626834 in main (argc=1, argv=0x7fff08f17558) at amule-gui.cpp:92
No locals.
(gdb) thread apply all bt

Thread 4 (Thread 1098918224 (LWP 9709)):
#0  0x00002ba9a1db8997 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00002ba9a35e2039 in wxConditionInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x00002ba9a35e296e in wxSemaphoreInternal::WaitTimeout () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x000000000073f25a in CTimerThread::Entry (this=0xf452f0) at Timer.cpp:64
#4  0x00002ba9a35e2f3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ba9a1db4317 in start_thread () from /lib/libpthread.so.0
#6  0x00002ba9a44e7d5d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 9707)):
#0  0x00002ba9a1dbb7b1 in ?? () from /lib/libpthread.so.0
#1  0x00002ba9a35e82fc in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#2  0x000000000059db45 in UploadBandwidthThrottler::Entry (this=0x1821e00) at UploadBandwidthThrottler.cpp:324
#3  0x00002ba9a35e2f3a in wxThreadInternal::PthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x00002ba9a1db4317 in start_thread () from /lib/libpthread.so.0
#5  0x00002ba9a44e7d5d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 48007703730480 (LWP 9696)):
#0  0x0000000000697d74 in CMuleTrayIcon::SetTrayIcon (this=0x1aaac00f9b0, Icon=2, percent=0) at MuleTrayIcon.cpp:211
#1  0x000000000062f50f in CamuleDlg::UpdateTrayIcon (this=0x13d0f50, percent=0) at amuleDlg.cpp:359
#2  0x000000000062f983 in CamuleDlg::ShowTransferRate (this=0x13d0f50) at amuleDlg.cpp:828
#3  0x000000000062fe4b in CamuleDlg::OnGUITimer (this=0x13d0f50) at amuleDlg.cpp:1065
#4  0x00002ba9a35e466f in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x00002ba9a35e480f in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#6  0x00002ba9a35e4959 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7  0x00002ba9a2f6bd76 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002ba9a2e62a14 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002ba9a5ca670b in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00002ba9a5ca5fd3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x00002ba9a5ca92dd in ?? () from /usr/lib/libglib-2.0.so.0
#12 0x00002ba9a5ca95ea in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x00002ba9a62a4883 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002ba9a2e5a50d in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#15 0x00002ba9a2eebc8b in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00002ba9a358380c in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0000000000626834 in main (argc=1, argv=0x7fff08f17558) at amule-gui.cpp:92
Logged

Brezhonneg

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 23
Re: 05 March 2008 SVN crash (kind of)
« Reply #13 on: April 22, 2008, 05:31:41 AM »

I can also add that I currently have a lot of problems connecting to servers and staying connected to them, so I often disconnect and reconnect these days. I guess this is related with this bug because aMule crashes so often at the moment that it is practically unusable. Just a wild guess based on the 'HighId_Icon_size' part of the trace.

Cheers
Logged

kuanto

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: 05 March 2008 SVN crash (kind of)
« Reply #14 on: April 22, 2008, 03:54:39 PM »

I can also add that I currently have a lot of problems connecting to servers and staying connected to them, so I often disconnect and reconnect these days. I guess this is related with this bug because aMule crashes so often at the moment that it is practically unusable. Just a wild guess based on the 'HighId_Icon_size' part of the trace.

Cheers


Try filtering all messages (Preferences->Message filter->Filter all messages). It works for me for the same crash.

http://forum.amule.org/index.php?topic=14543.msg77316#msg77316
Logged
Pages: [1] 2