aMule Forum

English => Backtraces => Topic started by: nich on July 31, 2004, 12:44:16 AM

Title: cvs-20040730, wx2.5.2 and gtk2 on sorting QR
Post by: nich on July 31, 2004, 12:44:16 AM
It was running fine for a few long hours already (don't quite remember, but probably more than 8 hours) till I decided to mess a bit with it. Double clicked over one of the downloads and scrolled down. Then I just pressed it to sort by QR and it crashed. No response at all after it.

It was with cvs-20040730, wxGTK-2.5.2 and GTK 2.

Crashing:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x40cf14d3 in strlen () from /lib/libc.so.6
Ugly bt:
Code: [Select]
(gdb) bt
#0  0x40cf14d3 in strlen () from /lib/libc.so.6
#1  0x4026bbd3 in wxWindowDC::DoDrawText(wxString const&, int, int) (this=0xbfffe430, text=@0x8c3e884, x=44, y=2) at src/gtk/dcclient.cpp:1476
#2  0x4030fb14 in wxDCBase::DrawText(wxString const&, int, int) (this=0xbfffe430, text=@0x8c3e884, x=44, y=2) at dc.h:261
#3  0x0818eb6d in CDownloadListCtrl::DrawSourceItem(wxDC*, int, wxRect const&, CtrlItem_Struct*) (this=0x89b0b60, dc=0xbfffe430, nColumn=0, rect=@0xbfffe400,
    lpCtrlItem=0x8e50ad0) at DownloadListCtrl.cpp:1067
#4  0x0818bb8f in CDownloadListCtrl::OnDrawItem(int, wxDC*, wxRect const&, wxRect const&, bool) (this=0x89b0b60, item=28, dc=0xbfffe6c0, rect=@0xbfffe690, rectHL=@0xbfffe5f0,
    highlighted=false) at DownloadListCtrl.cpp:493
#5  0x081d7fc5 in wxODListMainWindow::OnPaint(wxPaintEvent&) (this=0x89b1af8) at listctrl.cpp:3003
#6  0x404fe29a in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0x8600b68, handler=0x89b1af8, func=
      {__pfn = 0x81d7c1a , __delta = 0}, event=@0xbfffe920) at src/common/appbase.cpp:297
#7  0x40598ee6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=@0x85ef500, handler=0x89b1af8, event=@0xbfffe920)
    at src/common/event.cpp:1169
#8  0x40597f24 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0x85ef4d8, event=@0xbfffe920, self=0x89b1af8) at src/common/event.cpp:837
#9  0x405990fe in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x89b1af8, event=@0xbfffe920) at src/common/event.cpp:1231
#10 0x4028ada9 in wxWindow::GtkSendPaintEvents() (this=0x89b1af8) at src/gtk/window.cpp:3912
#11 0x40282ede in gtk_window_expose_callback (widget=0x89812b4, gdk_event=0xbfffef00, win=0x89b1af8) at src/gtk/window.cpp:547
#12 0x406c3f7c in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x089812b4 in ?? ()
#14 0xbfffef00 in ?? ()
#15 0x089b1af8 in ?? ()
#16 0x4095c29c in g_type_value_table_peek () from /usr/lib/libgobject-2.0.so.0
#17 0x089b2738 in ?? ()
[Edit] As Xaignar requested, the first few in the full bt:
Code: [Select]
(gdb) bt full
#0  0x40cf14d3 in strlen () from /lib/libc.so.6
No symbol table info available.
#1  0x4026bbd3 in wxWindowDC::DoDrawText(wxString const&, int, int) (this=0xbfffe430, text=@0x8c3e884, x=44, y=2) at src/gtk/dcclient.cpp:1476
        wdata = {m_str = 0x0}
        data = {m_str = 0x0}
        w = 1076951708
        h = -1073749864
        width = 3
        height = 3
#2  0x4030fb14 in wxDCBase::DrawText(wxString const&, int, int) (this=0xbfffe430, text=@0x8c3e884, x=44, y=2) at dc.h:261
No locals.
#3  0x0818eb6d in CDownloadListCtrl::DrawSourceItem(wxDC*, int, wxRect const&, CtrlItem_Struct*) (this=0x89b0b60, dc=0xbfffe430, nColumn=0, rect=@0xbfffe400,
    lpCtrlItem=0x8e50ad0) at DownloadListCtrl.cpp:1067
        cur_rec = {x = 24, y = 2, width = 303, height = 22}
        point = {x = 4, y = 3}
        point2 = {x = 24, y = 3}
        clientImage = 14 '\016'
        clipper = {m_dc = @0xbfffe430}
        buffer = { = {static npos = 4294967195, m_pchData = 0x405a7544 ""}, }
        lpUpDownClient = (CUpDownClient *) 0x8c3e838
#4  0x0818bb8f in CDownloadListCtrl::OnDrawItem(int, wxDC*, wxRect const&, wxRect const&, bool) (this=0x89b0b60, item=28, dc=0xbfffe6c0, rect=@0xbfffe690, rectHL=@0xbfffe5f0,
    highlighted=false) at DownloadListCtrl.cpp:493
        listitem = { = {_vptr.wxObject = 0x8360a98, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0,
      m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x0}, m_mask = 98, m_itemId = 0,
  m_col = 0, m_state = 0, m_stateMask = 0, m_text = { = {static npos = 4294967195, m_pchData = 0x89b334c "File Name"}, }, m_image = -1,
  m_data = 0, m_format = 0, m_width = 311, m_attr = 0x0, static ms_classInfo = {m_className = 0x0, m_objectSize = 0, m_objectConstructor = 0, m_baseInfo1 = 0x0,
    m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x0, static sm_classTable = 0x85f2060}}
        target_rec = {x = 4, y = 2, width = 303, height = 22}
        iCurrent = 0
        buffer = { = { = {_vptr.wxObject = 0x4043c068, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8,
        m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060},
      m_refData = 0x8f270f8}, m_visible = false, static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12,
      m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0,
      static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403ca143 "wxBitmap", m_objectSize = 12,
    m_objectConstructor = 0x40258df2 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c410,
    static sm_classTable = 0x85f2060}}
        tmp_dc = { = { = { = { = {_vptr.wxObject = 0x4043c948, static ms_classInfo = {m_className = 0x405a60cd "wxObject",
            m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30,
            static sm_classTable = 0x85f2060}, m_refData = 0x0}, m_colour = true, m_ok = true, m_clipping = true, m_isInteractive = false, m_isBBoxValid = true,
        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 = 1674, m_maxY = 22, m_clipX1 = 4, m_clipY1 = 2, m_clipX2 = 305, m_clipY2 = 24,
        m_logicalFunction = 5, m_backgroundMode = 106, m_mappingMode = 1, m_pen = { = { = {_vptr.wxObject = 0x4043d1c8, static ms_classInfo = {
                m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
                m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8636820}, m_visible = false, static ms_classInfo = {
              m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4,
              m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403cb904 "wxPen",
            m_objectSize = 12, m_objectConstructor = 0x4027643c , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
            m_next = 0x4045c868, static sm_classTable = 0x85f2060}}, m_brush = { = { = {_vptr.wxObject = 0x4043c0e8, static ms_classInfo = {
                m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
                m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8636970}, m_visible = false, static ms_classInfo = {
              m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4,
              m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {
            m_className = 0x403ca1a0 "wxBrush", m_objectSize = 12, m_objectConstructor = 0x4025cc74 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0,
            static sm_first = 0x8405f68, m_next = 0x4045c464, static sm_classTable = 0x85f2060}}, m_backgroundBrush = { = { = {
              _vptr.wxObject = 0x4043c0e8, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8636970}, m_visible = false,
            static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 ,
              m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {
---Type to continue, or q to quit---
            m_className = 0x403ca1a0 "wxBrush", m_objectSize = 12, m_objectConstructor = 0x4025cc74 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0,
            static sm_first = 0x8405f68, m_next = 0x4045c464, static sm_classTable = 0x85f2060}}, m_textForegroundColour = { = { = {
              _vptr.wxObject = 0x4043c1a8, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x862b320}, m_visible = false,
            static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 ,
              m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {
            m_className = 0x403ca531 "wxColour", m_objectSize = 12, m_objectConstructor = 0x4025f4fc , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0,
            static sm_first = 0x8405f68, m_next = 0x4045c698, static sm_classTable = 0x85f2060}}, m_textBackgroundColour = { = { = {
              _vptr.wxObject = 0x4043c1a8, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x86365c8}, m_visible = false,
            static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 ,
              m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {
            m_className = 0x403ca531 "wxColour", m_objectSize = 12, m_objectConstructor = 0x4025f4fc , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0,
            static sm_first = 0x8405f68, m_next = 0x4045c698, static sm_classTable = 0x85f2060}}, m_font = { = { = { = {
                _vptr.wxObject = 0x4043cd88, static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                  m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8beae40}, m_visible = false,
              static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 ,
                m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}},
            static ms_encodingDefault = wxFONTENCODING_SYSTEM}, static ms_classInfo = {m_className = 0x403cb713 "wxFont", m_objectSize = 12,
            m_objectConstructor = 0x4027345a , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7d8,
            static sm_classTable = 0x85f2060}}, m_palette = { = { = {_vptr.wxObject = 0x4043bf08, static ms_classInfo = {
                m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
                m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x0}, m_visible = false, static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject",
              m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
              m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403c9d40 "wxPalette", m_objectSize = 12,
            m_objectConstructor = 0x402567d8 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c3b0,
            static sm_classTable = 0x85f2060}}, m_hasCustomPalette = false, static ms_classInfo = {m_className = 0x403de5cc "wxDCBase", m_objectSize = 216,
          m_objectConstructor = 0, m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045f254, static sm_classTable = 0x85f2060}},
      m_mm_to_pix_x = 3.9751552795031055, m_mm_to_pix_y = 4.2489626556016598, m_needComputeScaleX = false, m_needComputeScaleY = false, static ms_classInfo = {
        m_className = 0x403ca92c "wxDC", m_objectSize = 236, m_objectConstructor = 0, m_baseInfo1 = 0x4045f218, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
        m_next = 0x4045c764, static sm_classTable = 0x85f2060}}, m_window = 0x8e459d8, m_penGC = 0x8beade0, m_brushGC = 0x8bead08, m_textGC = 0x8bead50, m_bgGC = 0x8beaf20,
    m_cmap = 0x8610140, m_isMemDC = true, m_isScreenDC = false, m_owner = 0x0, m_currentClippingRegion = { = { = {_vptr.wxObject = 0x4043d488,
          static ms_classInfo = {m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
            static sm_first = 0x8405f68, m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8d492b8}, m_visible = false, static ms_classInfo = {
          m_className = 0x403cb738 "wxGDIObject", m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4,
          m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403cba57 "wxRegion",
        m_objectSize = 12, m_objectConstructor = 0x40278554 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
        m_next = 0x4045c940, static sm_classTable = 0x85f2060}}, m_paintClippingRegion = { = { = {_vptr.wxObject = 0x4043d488, static ms_classInfo = {
            m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
            m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x0}, m_visible = false, static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject",
          m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
          m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403cba57 "wxRegion", m_objectSize = 12,
        m_objectConstructor = 0x40278554 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c940,
        static sm_classTable = 0x85f2060}}, m_context = 0x8e307a0, m_layout = 0x8e30850, m_fontdesc = 0x8d49420, static ms_classInfo = {m_className = 0x403cad66 "wxWindowDC",
      m_objectSize = 304, m_objectConstructor = 0x40265436 , m_baseInfo1 = 0x4045c6e0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
      m_next = 0x4045c77c, static sm_classTable = 0x85f2060}}, m_selected = { = { = {_vptr.wxObject = 0x4043c068, static ms_classInfo = {
          m_className = 0x405a60cd "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
          m_next = 0x405dbe30, static sm_classTable = 0x85f2060}, m_refData = 0x8f270f8}, m_visible = false, static ms_classInfo = {m_className = 0x403cb738 "wxGDIObject",
        m_objectSize = 12, m_objectConstructor = 0x402746f4 , m_baseInfo1 = 0x405dbdf4, m_baseInfo2 = 0x0, static sm_first = 0x8405f68,
        m_next = 0x4045c7f0, static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403ca143 "wxBitmap", m_objectSize = 12,
      m_objectConstructor = 0x40258df2 , m_baseInfo1 = 0x4045c7d8, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c410,
      static sm_classTable = 0x85f2060}}, static ms_classInfo = {m_className = 0x403cadd2 "wxMemoryDC", m_objectSize = 316,
    m_objectConstructor = 0x4026e9c8 , m_baseInfo1 = 0x4045c71c, m_baseInfo2 = 0x0, static sm_first = 0x8405f68, m_next = 0x4045c7a0,
    static sm_classTable = 0x85f2060}}
        content = (CtrlItem_Struct *) 0x8e50ad0
        iTextOffset = 2
        iOffset = 4
        tree_show = false
---Type to continue, or q to quit---
        tree_start = 0
        tree_end = 0
        cur_rec = {x = 4, y = 0, width = 303, height = 22}