aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: CVS 20080101 Crash trying to switch to upload queue view  (Read 4103 times)

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
CVS 20080101 Crash trying to switch to upload queue view
« on: January 04, 2008, 03:08:34 AM »

I'm using the latest CVS packages for Mandriva Linux 2008 from OldFrog. I got this crash when trying to switch from upload view to upload queue view:

(gdb) bt
Code: [Select]
#0  0x0819d9f1 in CUploadingView::DrawCell ()
#1  0x0819f040 in CQueuedView::DrawCell ()
#2  0x0819c847 in CClientListCtrl::OnDrawItem ()
#3  0x082b37c6 in MuleExtern::wxListMainWindow::OnPaint ()
#4  0xb7893138 in wxAppConsole::HandleEvent (this=0x86b9fa8, handler=0x8ebbab8, func=<error reading variable>, event=@0xbfacf1b0) at src/common/appbase.cpp:320
#5  0xb793f300 in wxEvtHandler::ProcessEventIfMatches (entry=@0x868c6a0, handler=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1204
#6  0xb793f449 in wxEventHashTable::HandleEvent (this=0x868c680, event=@0xbfacf1b0, self=0x8ebbab8) at src/common/event.cpp:877
#7  0xb793f5dd in wxEvtHandler::ProcessEvent (this=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1266
#8  0xb793f560 in wxEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/common/event.cpp:1273
#9  0xb7c6f5d9 in wxScrollHelperEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/generic/scrlwing.cpp:211
#10 0xb7b17900 in wxWindow::GtkSendPaintEvents (this=0x8ebbab8) at src/gtk/window.cpp:3762
#11 0xb7b17d09 in gtk_window_expose_callback (widget=0x8e491d0, gdk_event=0xbfacf814, win=0x8ebbab8) at src/gtk/window.cpp:514
#12 0xb735356c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#13 0xb70cae9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb70de60c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#15 0xb70dff46 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb70e057b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb7479fa3 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#18 0xb734d7bc in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb71a6c71 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#20 0xb71a72b4 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#21 0xb72b24cf in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#22 0xb718c533 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#23 0xb7010d00 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#24 0xb7012932 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb7015d44 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#26 0xb7016068 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0xb734d9ff in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7b037bd in wxEventLoop::Run (this=0x8f56698) at src/gtk/evtloop.cpp:76
#29 0xb7ba98cf in wxAppBase::MainLoop (this=0x86b9fa8) at src/common/appcmn.cpp:308
#30 0xb7ba8e8f in wxAppBase::OnRun (this=0x4) at src/common/appcmn.cpp:363
#31 0xb78d13cc in wxEntry (argc=@0xb79a71ac, argv=0x86a8810) at src/common/init.cpp:449
#32 0xb78d1486 in wxEntry (argc=@0xbfacfae0, argv=0xbfacfb64) at src/common/init.cpp:461
#33 0x0814a845 in main ()
#34 0xb75eff90 in __libc_start_main () from /lib/i686/libc.so.6
#35 0x08068e81 in _start ()

(gdb) thread apply all bt
Code: [Select]
Thread 4 (Thread -1279140976 (LWP 22749)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ec948c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb793c76f in wxConditionInternal::WaitTimeout (this=0x873a278, milliseconds=100) at src/unix/threadpsx.cpp:405
#3  0xb793c7ce in wxCondition::WaitTimeout (this=0x8f6e884, milliseconds=100) at include/wx/thrimpl.cpp:256
#4  0xb793d277 in wxSemaphoreInternal::WaitTimeout (this=0x8f6e880, milliseconds=100) at src/unix/threadpsx.cpp:552
#5  0xb793d30e in wxSemaphore::WaitTimeout (this=0x8f7ff60, milliseconds=100) at include/wx/thrimpl.cpp:320
#6  0x08245381 in CTimerThread::Entry ()
#7  0xb793dc1a in wxThreadInternal::PthreadStart (thread=0x8f7ff40) at src/unix/threadpsx.cpp:766
#8  0xb793dc7b in wxPthreadStart (ptr=0x8f7ff40) at src/unix/threadpsx.cpp:718
#9  0xb7ec5462 in start_thread () from /lib/i686/libpthread.so.0
#10 0xb76a982e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread -1262355568 (LWP 22745)):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7ecc546 in nanosleep () from /lib/i686/libpthread.so.0
#2  0xb79434c9 in wxMicroSleep (microseconds=17000) at src/unix/utilsunx.cpp:191
#3  0xb79434ef in wxMilliSleep (milliseconds=17) at src/unix/utilsunx.cpp:212
#4  0xb793be7b in wxThread::Sleep (milliseconds=17) at src/unix/threadpsx.cpp:986
#5  0x0810b1ae in UploadBandwidthThrottler::Entry ()
#6  0xb793dc1a in wxThreadInternal::PthreadStart (thread=0x8f1aad0) at src/unix/threadpsx.cpp:766
#7  0xb793dc7b in wxPthreadStart (ptr=0x8f1aad0) at src/unix/threadpsx.cpp:718
#8  0xb7ec5462 in start_thread () from /lib/i686/libpthread.so.0
#9  0xb76a982e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread -1233877296 (LWP 22732)):
#0  0x0819d9f1 in CUploadingView::DrawCell ()
#1  0x0819f040 in CQueuedView::DrawCell ()
#2  0x0819c847 in CClientListCtrl::OnDrawItem ()
#3  0x082b37c6 in MuleExtern::wxListMainWindow::OnPaint ()
#4  0xb7893138 in wxAppConsole::HandleEvent (this=0x86b9fa8, handler=0x8ebbab8, func=<error reading variable>, event=@0xbfacf1b0) at src/common/appbase.cpp:320
#5  0xb793f300 in wxEvtHandler::ProcessEventIfMatches (entry=@0x868c6a0, handler=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1204
#6  0xb793f449 in wxEventHashTable::HandleEvent (this=0x868c680, event=@0xbfacf1b0, self=0x8ebbab8) at src/common/event.cpp:877
#7  0xb793f5dd in wxEvtHandler::ProcessEvent (this=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1266
#8  0xb793f560 in wxEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/common/event.cpp:1273
#9  0xb7c6f5d9 in wxScrollHelperEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/generic/scrlwing.cpp:211
#10 0xb7b17900 in wxWindow::GtkSendPaintEvents (this=0x8ebbab8) at src/gtk/window.cpp:3762
#11 0xb7b17d09 in gtk_window_expose_callback (widget=0x8e491d0, gdk_event=0xbfacf814, win=0x8ebbab8) at src/gtk/window.cpp:514
#12 0xb735356c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#13 0xb70cae9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb70de60c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#15 0xb70dff46 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb70e057b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb7479fa3 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#18 0xb734d7bc in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb71a6c71 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#20 0xb71a72b4 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#21 0xb72b24cf in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
---Type <return> to continue, or q <return> to quit---
#22 0xb718c533 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#23 0xb7010d00 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#24 0xb7012932 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb7015d44 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
#26 0xb7016068 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#27 0xb734d9ff in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7b037bd in wxEventLoop::Run (this=0x8f56698) at src/gtk/evtloop.cpp:76
#29 0xb7ba98cf in wxAppBase::MainLoop (this=0x86b9fa8) at src/common/appcmn.cpp:308
#30 0xb7ba8e8f in wxAppBase::OnRun (this=0x4) at src/common/appcmn.cpp:363
#31 0xb78d13cc in wxEntry (argc=@0xb79a71ac, argv=0x86a8810) at src/common/init.cpp:449
#32 0xb78d1486 in wxEntry (argc=@0xbfacfae0, argv=0xbfacfb64) at src/common/init.cpp:461
#33 0x0814a845 in main ()
#34 0xb75eff90 in __libc_start_main () from /lib/i686/libc.so.6
#35 0x08068e81 in _start ()
Logged

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #1 on: January 04, 2008, 03:08:52 AM »

(gdb) bt full
Code: [Select]
#0  0x0819d9f1 in CUploadingView::DrawCell ()
No symbol table info available.
#1  0x0819f040 in CQueuedView::DrawCell ()
No symbol table info available.
#2  0x0819c847 in CClientListCtrl::OnDrawItem ()
No symbol table info available.
#3  0x082b37c6 in MuleExtern::wxListMainWindow::OnPaint ()
No symbol table info available.
#4  0xb7893138 in wxAppConsole::HandleEvent (this=0x86b9fa8, handler=0x8ebbab8, func=<error reading variable>, event=@0xbfacf1b0) at src/common/appbase.cpp:320
No locals.
#5  0xb793f300 in wxEvtHandler::ProcessEventIfMatches (entry=@0x868c6a0, handler=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1204
        tableId1 = <value optimized out>
        tableId2 = <value optimized out>
#6  0xb793f449 in wxEventHashTable::HandleEvent (this=0x868c680, event=@0xbfacf1b0, self=0x8ebbab8) at src/common/event.cpp:877
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8e26ccc: {<wxBaseArrayPtrVoid> = {m_nSize = 2, m_nCount = 2, m_pItems = 0x8e26ed8}, <No data fields>}
        count = 2
        eventType = 0
        eTTnode = <value optimized out>
#7  0xb793f5dd in wxEvtHandler::ProcessEvent (this=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1266
No locals.
#8  0xb793f560 in wxEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/common/event.cpp:1273
No locals.
#9  0xb7c6f5d9 in wxScrollHelperEvtHandler::ProcessEvent (this=0x8eba920, event=@0xbfacf1b0) at src/generic/scrlwing.cpp:211
        evType = 10166
        processed = <value optimized out>
#10 0xb7b17900 in wxWindow::GtkSendPaintEvents (this=0x8ebbab8) at src/gtk/window.cpp:3762
        dc = {<wxDC> = {<wxDCBase> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0,
          m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, m_colour = true, m_ok = true,
      m_clipping = true, m_isInteractive = false, m_isBBoxValid = false, m_logicalOriginX = 0, m_logicalOriginY = 0, m_deviceOriginX = 0, m_deviceOriginY = 0, m_logicalScaleX = 1,
      m_logicalScaleY = 1, m_userScaleX = 1, m_userScaleY = 1, m_scaleX = 1, m_scaleY = 1, m_signX = 1, m_signY = 1, m_minX = 0, m_minY = 0, m_maxX = 0, m_maxY = 0, m_clipX1 = 0,
      m_clipY1 = 0, m_clipX2 = 1543, m_clipY2 = 536, m_logicalFunction = 5, m_backgroundMode = 106, m_mappingMode = 1, m_pen = {<wxGDIObject> = {<wxObject> = {
            _vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
              static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
            m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
            static sm_classTable = 0x868d008}}, static ms_classInfo = {m_className = 0xb7c909d8, m_objectSize = 8, m_objectConstructor = 0xb7b077a0 <wxPen::wxCreateObject()>,
          m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d436f8, static sm_classTable = 0x868d008}},
      m_brush = {<wxBrushBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0,
                m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {
              m_className = 0xb7ca1e14, m_objectSize = 8, m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0,
              static sm_first = 0x849f800, m_next = 0xb7d4724c, static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c8fc98,
          m_objectSize = 8, m_objectConstructor = 0xb7aee180 <wxBrush::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d434cc,
          static sm_classTable = 0x868d008}}, m_backgroundBrush = {<wxBrushBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {
                m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4,
                static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
              m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
              static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c8fc98, m_objectSize = 8,
          m_objectConstructor = 0xb7aee180 <wxBrush::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d434cc,
          static sm_classTable = 0x868d008}}, m_textForegroundColour = {<wxColourBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {
---Type <return> to continue, or q <return> to quit---
                m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4,
                static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
              m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
              static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c8fd84, m_objectSize = 8,
          m_objectConstructor = 0xb7af0270 <wxColour::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d43504,
          static sm_classTable = 0x868d008}}, m_textBackgroundColour = {<wxColourBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {
                m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4,
                static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
              m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
              static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c8fd84, m_objectSize = 8,
          m_objectConstructor = 0xb7af0270 <wxColour::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d43504,
          static sm_classTable = 0x868d008}}, m_font = {<wxFontBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4,
                m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008},
              m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8, m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>,
              m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c, static sm_classTable = 0x868d008}},
          static ms_encodingDefault = wxFONTENCODING_ISO8859_2}, static ms_classInfo = {m_className = 0xb7c90804, m_objectSize = 8,
          m_objectConstructor = 0xb7b03aa0 <wxFont::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d43674,
          static sm_classTable = 0x868d008}}, m_palette = {<wxPaletteBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {
                m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4,
                static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
              m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
              static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c8f720, m_objectSize = 8,
          m_objectConstructor = 0xb7ae6940 <wxPalette::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d433c4,
          static sm_classTable = 0x868d008}}, m_hasCustomPalette = false, static ms_classInfo = {m_className = 0xb7c9fbc4, m_objectSize = 188, m_objectConstructor = 0,
        m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d46824, static sm_classTable = 0x868d008}}, m_mm_to_pix_x = 3.7004405286343611,
    m_mm_to_pix_y = 3.7366548042704628, m_needComputeScaleX = false, m_needComputeScaleY = false, static ms_classInfo = {m_className = 0xb7c90024, m_objectSize = 208,
      m_objectConstructor = 0, m_baseInfo1 = 0xb7d46280, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d435c4, static sm_classTable = 0x868d008}}, m_window = 0x91bd820,
  m_penGC = 0x0, m_brushGC = 0x0, m_textGC = 0x0, m_bgGC = 0x0, m_cmap = 0x86d9c18, m_isMemDC = false, m_isScreenDC = false, m_owner = 0x8ebbab8,
  m_currentClippingRegion = {<wxRegionBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8,
            m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0},
        static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8, m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338,
          m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c, static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c90a4c,
      m_objectSize = 8, m_objectConstructor = 0xb7b09200 <wxRegion::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d437d8,
      static sm_classTable = 0x868d008}}, m_paintClippingRegion = {<wxRegionBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {
            m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4,
            static sm_classTable = 0x868d008}, m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7ca1e14, m_objectSize = 8,
          m_objectConstructor = 0xb7be3960 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d4724c,
          static sm_classTable = 0x868d008}}, <No data fields>}, static ms_classInfo = {m_className = 0xb7c90a4c, m_objectSize = 8,
      m_objectConstructor = 0xb7b09200 <wxRegion::wxCreateObject()>, m_baseInfo1 = 0xb7d47120, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d437d8,
      static sm_classTable = 0x868d008}}, m_context = 0x8eadef0, m_layout = 0x8ea69d0, m_fontdesc = 0x90c5000, static ms_classInfo = {m_className = 0xb7c900e8, m_objectSize = 268,
    m_objectConstructor = 0xb7afcc10 <wxWindowDC::wxCreateObject()>, m_baseInfo1 = 0xb7d43560, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d43604,
    static sm_classTable = 0x868d008}}
        erase_event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0x849dbd8, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, m_eventObject = 0x8ebbab8,
    m_eventType = 10167, m_timeStamp = 0, m_id = -239, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0xb7965b9c, m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a93c8,
      static sm_classTable = 0x868d008}}, m_dc = 0xbfacf07c, static ms_classInfo = {m_className = 0xb7c8dee0, m_objectSize = 40,
    m_objectConstructor = 0xb7ad6540 <wxEraseEvent::wxCreateObject()>, m_baseInfo1 = 0xb79a93e0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d42e5c,
    static sm_classTable = 0x868d008}}
---Type <return> to continue, or q <return> to quit---
        pizza = (GtkPizza *) 0x8e491d0
        nc_paint_event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0xb7d18808, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, m_eventObject = 0x8ebbab8,
    m_eventType = 10168, m_timeStamp = 0, m_id = -239, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0xb7965b9c, m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a93c8,
      static sm_classTable = 0x868d008}}, static ms_classInfo = {m_className = 0xb7c8dea4, m_objectSize = 36, m_objectConstructor = 0xb7ad65c0 <wxNcPaintEvent::wxCreateObject()>,
    m_baseInfo1 = 0xb79a93e0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d42e44, static sm_classTable = 0x868d008}}
        paint_event = {<wxEvent> = {<wxObject> = {_vptr.wxObject = 0xb7d18828, static ms_classInfo = {m_className = 0xb79606e4, m_objectSize = 8, m_objectConstructor = 0,
        m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a83a4, static sm_classTable = 0x868d008}, m_refData = 0x0}, m_eventObject = 0x8ebbab8,
    m_eventType = 10166, m_timeStamp = 0, m_id = -239, m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false, static ms_classInfo = {
      m_className = 0xb7965b9c, m_objectSize = 36, m_objectConstructor = 0, m_baseInfo1 = 0xb79a8338, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb79a93c8,
      static sm_classTable = 0x868d008}}, static ms_classInfo = {m_className = 0xb7c8de70, m_objectSize = 36, m_objectConstructor = 0xb7ad6640 <wxPaintEvent::wxCreateObject()>,
    m_baseInfo1 = 0xb79a93e0, m_baseInfo2 = 0x0, static sm_first = 0x849f800, m_next = 0xb7d42e2c, static sm_classTable = 0x868d008}}
#11 0xb7b17d09 in gtk_window_expose_callback (widget=0x8e491d0, gdk_event=0xbfacf814, win=0x8ebbab8) at src/gtk/window.cpp:514
No locals.
#12 0xb735356c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#13 0xb70cae9d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb70de60c in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#15 0xb70dff46 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0xb70e057b in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0xb7479fa3 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#18 0xb734d7bc in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0xb71a6c71 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#20 0xb71a72b4 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#21 0xb72b24cf in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#22 0xb718c533 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#23 0xb7010d00 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#24 0xb7012932 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#25 0xb7015d44 in wxWindow::GetLayoutDirection () at src/gtk/window.cpp:3351
No symbol table info available.
#26 0xb7016068 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0xb734d9ff in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#28 0xb7b037bd in wxEventLoop::Run (this=0x8f56698) at src/gtk/evtloop.cpp:76
        exitcode = -1
---Type <return> to continue, or q <return> to quit---
#29 0xb7ba98cf in wxAppBase::MainLoop (this=0x86b9fa8) at src/common/appcmn.cpp:308
        mainLoop = {<wxEventLoopPtr> = {m_ptr = 0x8f56698}, m_pp = 0x86b9fe8, m_pOld = 0x0}
#30 0xb7ba8e8f in wxAppBase::OnRun (this=0x4) at src/common/appcmn.cpp:363
No locals.
#31 0xb78d13cc in wxEntry (argc=@0xb79a71ac, argv=0x86a8810) at src/common/init.cpp:449
No locals.
#32 0xb78d1486 in wxEntry (argc=@0xbfacfae0, argv=0xbfacfb64) at src/common/init.cpp:461
No locals.
#33 0x0814a845 in main ()
No symbol table info available.
#34 0xb75eff90 in __libc_start_main () from /lib/i686/libc.so.6
No symbol table info available.
#35 0x08068e81 in _start ()
No symbol table info available.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #2 on: January 05, 2008, 12:51:50 AM »

Hi Tsiolkovsky,

Sorry, but I see no crash in this backtrace. What was the message that preceded the crash? Sometimes it is just a signal that gdb caught that made it stop, you should make gdb ignore it, or just type continue.

Cheers!
Logged

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #3 on: January 05, 2008, 05:47:35 AM »

These are the messages before i did a bt:

Code: [Select]
gdb amule
GNU gdb 6.6-3mdv2008.0 (Mandriva Linux release 2008.0)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandriva-linux-gnu"...
Using host libthread_db library "/lib/i686/libthread_db.so.1".
(gdb) run
Starting program: /usr/local/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread -1233877296 (LWP 22732)]
Initialising aMule
Checking if there is an instance already running...
No other instances are running.
[New Thread -1262355568 (LWP 22745)]
Loading temp files from /home/rene/.aMule/Temp.
Loading PartFile 1 of 1
All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:50013
*** TCP socket (TCP) listening on 0.0.0.0:50010
*** Client UDP socket (extended eMule) at 0.0.0.0:50015
Adding file /home/rene/.aMule/Temp/001.part.met to shares
[New Thread -1270748272 (LWP 22748)]
[New Thread -1279140976 (LWP 22749)]
[Thread -1270748272 (LWP 22748) exited]
[New Thread -1293657200 (LWP 25190)]
[Thread -1293657200 (LWP 25190) exited]
[New Thread -1293657200 (LWP 25246)]
[Thread -1293657200 (LWP 25246) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233877296 (LWP 22732)]
0x0819d9f1 in CUploadingView::DrawCell ()
(gdb) bt
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #4 on: January 05, 2008, 11:37:52 AM »

Hi Tsiolkovsky,

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.This is a crash indeed :(

The problem is that although wx seems to have been compiled with debug information, the same is not true for aMule, look at the aMule backtrace part:
Code: [Select]
#0  0x0819d9f1 in CUploadingView::DrawCell ()
No symbol table info available.
#1  0x0819f040 in CQueuedView::DrawCell ()
No symbol table info available.
#2  0x0819c847 in CClientListCtrl::OnDrawItem ()
No symbol table info available.
#3  0x082b37c6 in MuleExtern::wxListMainWindow::OnPaint ()
No symbol table info available.
See the "No symbol table info available" message? While the wx part:
Code: [Select]
#4  0xb7893138 in wxAppConsole::HandleEvent (this=0x86b9fa8, handler=0x8ebbab8, func=<error reading variable>, event=@0xbfacf1b0) at src/common/appbase.cpp:320
No locals.
#5  0xb793f300 in wxEvtHandler::ProcessEventIfMatches (entry=@0x868c6a0, handler=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1204
        tableId1 = <value optimized out>
        tableId2 = <value optimized out>
#6  0xb793f449 in wxEventHashTable::HandleEvent (this=0x868c680, event=@0xbfacf1b0, self=0x8ebbab8) at src/common/event.cpp:877
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8e26ccc: {<wxBaseArrayPtrVoid> = {m_nSize = 2, m_nCount = 2, m_pItems = 0x8e26ed8}, <No data fields>}
        count = 2
        eventType = 0
        eTTnode = <value optimized out>
#7  0xb793f5dd in wxEvtHandler::ProcessEvent (this=0x8ebbab8, event=@0xbfacf1b0) at src/common/event.cpp:1266
No locals.
...

Would it be possible to compile aMule with debug information and retry? If you do so, please use a recent tarball:
http://www.hirnriss.net/files/cvs/aMule-CVS-20080105.tar.bz2

And this is a suggestion on how to configure/compile:
./configure --enable-ccache --with-denoise-level=3 --enable-debug --disable-optimize --enable-verbose --enable-geoip --enable-cas --enable-wxcas --enable-amule-gui --enable-webserver --enable-amulecmd --enable-amule-daemon --prefix=/home/myuser/usr/local/amule && make && make install

Then aMule will be installed in /home/myuser/usr/local/amule/bin and it should be run like this:
/home/myuser/usr/local/amule/bin/amule

Cheers!
Logged

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #5 on: January 05, 2008, 03:28:02 PM »

Hm I don't know how to compile, I just used the package from OldFrog which is supposed to have debug information. I'll ask him to check your reply.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #6 on: January 06, 2008, 03:20:04 AM »

Ok, but where did you get your wxWidgets from? Distro's wx usually does not have debug info.
Logged

Tsiolkovsky

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 28
Re: CVS 20080101 Crash trying to switch to upload queue view
« Reply #7 on: January 06, 2008, 05:11:36 PM »

I got it from Mandriva. They have a repository with packages that install debug info for normal packages. For example here
Logged