aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crashing with co from 20041203  (Read 2257 times)

nich

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
Crashing with co from 20041203
« on: December 04, 2004, 04:12:34 AM »

aMule cvs from this morning, wxGTK 2.5.3, GTK 2 and Unicode:
Crashing:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 23101)]
0x40f3faf4 in __after_morecore_hook () from /lib/libc.so.6
Bt:
Code: [Select]
(gdb) bt
#0  0x40f3faf4 in __after_morecore_hook () from /lib/libc.so.6
#1  0x404772af in wxWindowBase::GetSize() const (this=0x8bed400) at window.h:267
#2  0x401f58c8 in wxTaskBarIconArea::SetTrayIcon(wxBitmap const&) (this=0x8bed400, bmp=@0xbfffec80) at src/unix/taskbarx11.cpp:147
#3  0x401f62f4 in wxTaskBarIcon::SetIcon(wxIcon const&, wxString const&) (this=0x8a9b500, icon=@0x8a9b558, tooltip=@0x8a9b6a0) at src/unix/taskbarx11.cpp:295
#4  0x081eb7f0 in CMuleTrayIcon::UpdateTray() (this=0x8a9b500) at MuleTrayIcon.cpp:191
#5  0x081eb7c0 in CMuleTrayIcon::SetTrayToolTip(wxString const&) (this=0x8a9b500, Tip=@0xbfffeda0) at MuleTrayIcon.cpp:181
#6  0x082d8662 in CamuleDlg::ShowTransferRate() (this=0x88c4440) at amuleDlg.cpp:696
#7  0x082d9adb in CamuleDlg::OnGUITimer(wxTimerEvent&) (this=0x88c4440) at amuleDlg.cpp:1024
#8  0x40610f1a in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x85fe508, handler=0x88c4440, func=
      {__pfn = 0x82d9940 , __delta = 0}, event=@0xbfffef30) at src/common/appbase.cpp:305
#9  0x406b1876 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x85dce30, handler=0x88c4440, event=@0xbfffef30)
    at src/common/event.cpp:1169
#10 0x406b08b4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x85dccc0, event=@0xbfffef30, self=0x88c4440) at src/common/event.cpp:837
#11 0x406b1a8e in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x88c4440, event=@0xbfffef30) at src/common/event.cpp:1231
#12 0x4046850d in wxTimerBase::Notify() (this=0x8a92440) at src/common/timercmn.cpp:61
#13 0x403664c4 in timeout_callback (data=0x8a92440) at src/gtk/timer.cpp:47
#14 0x40ce4a1f in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#15 0x08a92440 in ?? ()
#16 0x40d390fc in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
#17 0xbfffefb8 in ?? ()
#18 0x400390aa in pthread_mutex_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
bt full:
Code: [Select]
(gdb) bt full
#0  0x40f3faf4 in __after_morecore_hook () from /lib/libc.so.6
No symbol table info available.
#1  0x404772af in wxWindowBase::GetSize() const (this=0x8bed400) at window.h:267
        w = 1080562581
        h = -1073746984
#2  0x401f58c8 in wxTaskBarIconArea::SetTrayIcon(wxBitmap const&) (this=0x8bed400, bmp=@0xbfffec80) at src/unix/taskbarx11.cpp:147
        winsize = {x = -1073746872, y = 1077153527}
        bmpsize = {x = -1073746816, y = 145339736}
        iconsize = {x = -1073746872, y = 1077167734}
        region = { = { = {_vptr.wxObject = 0xbfffec80, static ms_classInfo = {m_className = 0x406e05f0, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40737488, static sm_classTable = 0x85de060}, m_refData = 0x40562b24}, m_visible = 40,
    static ms_classInfo = {m_className = 0x404bad10, m_objectSize = 12, m_objectConstructor = 0x4035e5d4 , m_baseInfo1 = 0x4073744c,
      m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40569b10, static sm_classTable = 0x85de060}}, static ms_classInfo = {m_className = 0x404bb47c,
    m_objectSize = 12, m_objectConstructor = 0x40362490 , m_baseInfo1 = 0x40569af8, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0,
    m_next = 0x40569c60, static sm_classTable = 0x85de060}}
#3  0x401f62f4 in wxTaskBarIcon::SetIcon(wxIcon const&, wxString const&) (this=0x8a9b500, icon=@0x8a9b558, tooltip=@0x8a9b6a0) at src/unix/taskbarx11.cpp:295
        bmp = { = { = {_vptr.wxObject = 0x40547de8, static ms_classInfo = {m_className = 0x406e05f0, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40737488, static sm_classTable = 0x85de060}, m_refData = 0x8a9caf8}, m_visible = false,
    static ms_classInfo = {m_className = 0x404bad10, m_objectSize = 12, m_objectConstructor = 0x4035e5d4 , m_baseInfo1 = 0x4073744c,
      m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40569b10, static sm_classTable = 0x85de060}}, static ms_classInfo = {m_className = 0x404b7bb4,
    m_objectSize = 12, m_objectConstructor = 0x40340e3c , m_baseInfo1 = 0x40569af8, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0,
    m_next = 0x40569734, static sm_classTable = 0x85de060}}
#4  0x081eb7f0 in CMuleTrayIcon::UpdateTray() (this=0x8a9b500) at MuleTrayIcon.cpp:191
No locals.
#5  0x081eb7c0 in CMuleTrayIcon::SetTrayToolTip(wxString const&) (this=0x8a9b500, Tip=@0xbfffeda0) at MuleTrayIcon.cpp:181
No locals.
#6  0x082d8662 in CamuleDlg::ShowTransferRate() (this=0x88c4440) at amuleDlg.cpp:696
        kBpsUp = 0
        kBpsDown = 0
        buffer = { = {static npos = 4294967195, m_pchData = 0x8bf0adc}, }
        label = (class wxStaticText *) 0x89b68b8
        percentDown = 0
        buffer2 = { = {static npos = 4294967195, m_pchData = 0x8beef4c}, }
        bmp = (class wxStaticBitmap *) 0x0
#7  0x082d9adb in CamuleDlg::OnGUITimer(wxTimerEvent&) (this=0x88c4440) at amuleDlg.cpp:1024
        msPrev1 = 18471
        msPrev5 = 19391
        msPrevGraph = 18070
        msPrevStats = 0
        msPrevHist = 19000
        msCur = 19391
        bStatsVisible = false
        msGraphUpdate = 3000
        sStatsUpdate = 5
#8  0x40610f1a in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x85fe508, handler=0x88c4440, func=
      {__pfn = 0x82d9940 , __delta = 0}, event=@0xbfffef30) at src/common/appbase.cpp:305
No locals.
#9  0x406b1876 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x85dce30, handler=0x88c4440, event=@0xbfffef30)
    at src/common/event.cpp:1169
        tableId1 = 6129
        tableId2 = -1
#10 0x406b08b4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x85dccc0, event=@0xbfffef30, self=0x88c4440) at src/common/event.cpp:837
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8a7450c: { = {m_nSize = 1, m_nCount = 1, m_pItems = 0x8a745d0}, }
        count = 1
        eventType = 10084
        eTTnode = (EventTypeTable * const) 0x8a74508
#11 0x406b1a8e in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x88c4440, event=@0xbfffef30) at src/common/event.cpp:1231
No locals.
#12 0x4046850d in wxTimerBase::Notify() (this=0x8a92440) at src/common/timercmn.cpp:61
        event = { = { = {_vptr.wxObject = 0x83efda8, static ms_classInfo = {m_className = 0x406e05f0, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40737488, static sm_classTable = 0x85de060}, m_refData = 0x0}, m_eventObject = 0x8a92440,
    m_eventType = 10084, m_timeStamp = 0, m_id = 6129, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0x406f03e0, m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0x4073744c, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x40737914,
      static sm_classTable = 0x85de060}}, m_interval = 100, static ms_classInfo = {m_className = 0x404e5a5c, m_objectSize = 40,
    m_objectConstructor = 0x40468314 , m_baseInfo1 = 0x4073792c, m_baseInfo2 = 0x0, static sm_first = 0x83f13f0, m_next = 0x4056cc28,
    static sm_classTable = 0x85de060}}
#13 0x403664c4 in timeout_callback (data=0x8a92440) at src/gtk/timer.cpp:47
        timer = (wxTimer *) 0x8a92440
#14 0x40ce4a1f in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#15 0x08a92440 in ?? ()
No symbol table info available.
#16 0x40d390fc in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#17 0xbfffefb8 in ?? ()
No symbol table info available.
#18 0x400390aa in pthread_mutex_unlock () from /lib/libpthread.so.0
No symbol table info available.
Anything else, just ask. It was after Kry reverted some stuff, iirc.
Logged

Avi

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Crashing with co from 20041203
« Reply #1 on: December 04, 2004, 04:36:04 PM »

Odd, I wonder how can a Window have these crazy size values:
Code: [Select]
#1  0x404772af in wxWindowBase::GetSize() const (this=0x8bed400) at window.h:267
[b]        w = 1080562581
        h = -1073746984[/b]
?(

Was aMule minimized at that time or something?
Logged