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-20071228 crashes in shared files  (Read 4362 times)

CtrlAltDel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
cvs-20071228 crashes in shared files
« on: December 28, 2007, 03:02:01 PM »

Code: [Select]
(gdb) bt
#0  0x0000000000664ecf in CSharedFilesCtrl::OnDrawItem (this=0x1325d50,
    item=0, dc=0x7fff248614e0, rect=@0x7fff248617e0, rectHL=@0x7fff24861820,
    highlighted=false) at SharedFilesCtrl.cpp:513
#1  0x00000000007b50cc in MuleExtern::wxListMainWindow::OnPaint (
    this=0x13275d0) at extern/wxWidgets/listctrl.cpp:2762
#2  0x00002b148730772d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#3  0x00002b14873078ec in wxEventHashTable::HandleEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#4  0x00002b1487307a2d in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#5  0x00002b14873079d0 in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#6  0x00002b1486c8c425 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00002b1486b62e48 in wxWindow::GtkSendPaintEvents ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b1486b631e5 in gtk_window_expose_callback ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002b148858dbbf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#10 0x00002b1489319dfc in g_closure_invoke ()
   from /usr/lib64/libgobject-2.0.so.0
#11 0x00002b148932c1fd in ?? () from /usr/lib64/libgobject-2.0.so.0
#12 0x00002b148932d989 in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
#13 0x00002b148932e043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#14 0x00002b1488694ff5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#15 0x00002b148858807e in gtk_main_do_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00002b1488a2cdcb in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#17 0x00002b1488a2d3aa in gdk_window_process_all_updates ()
   from /usr/lib64/libgdk-x11-2.0.so.0
#18 0x00002b14884fdec1 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00002b1488a1491e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#20 0x00002b1489b94064 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#21 0x00002b1489b9735d in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00002b1489b9782e in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#23 0x00002b1488588121 in gtk_main_iteration ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00002b1486b3b07d in wxApp::Yield ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#25 0x00002b1487309de0 in wxYield () from /usr/local/lib/libwx_baseu-2.8.so.0
#26 0x00002b1486b3293c in wxGUIAppTraits::WaitForChild ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#27 0x00002b148730c860 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
#28 0x00002b148730d179 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
#29 0x00002b148730a250 in wxDoExecuteWithCapture ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#30 0x000000000076c348 in get_backtrace (n=1) at MuleDebug.cpp:400
#31 0x000000000076cf11 in OnUnhandledException () at MuleDebug.cpp:83
#32 0x0000000000436d0a in CamuleApp::OnUnhandledException (this=0xe52320)
    at amule.cpp:2137
#33 0x00002b14872a6d42 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#34 0x00000000005fa6ae in main (argc=1, argv=0x7fff24863978)
    at amule-gui.cpp:92
Logged

CtrlAltDel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: cvs-20071228 crashes in shared files
« Reply #1 on: December 28, 2007, 03:03:18 PM »

Code: [Select]
(gdb) bt full
#0  0x0000000000664ecf in CSharedFilesCtrl::OnDrawItem (this=0x1325d50,
    item=0, dc=0x7fff248614e0, rect=@0x7fff248617e0, rectHL=@0x7fff24861820,
    highlighted=false) at SharedFilesCtrl.cpp:513
        columnRect = {x = 4, y = 0, width = 242, height = 20}
        clipper = {m_dc = @0x7fff248614e0}
        textBuffer = {<wxStringBase> = {static npos = 18446744073709551615,
    m_pchData = 0x2b14873292b8}, <No data fields>}
        columnWidth = 250
        i = 0
        file = (CKnownFile *) 0x13d5780
        textVOffset = 2
        SPARE_PIXELS_HORZ = 4
        columnLeft = 0
#1  0x00000000007b50cc in MuleExtern::wxListMainWindow::OnPaint (
    this=0x13275d0) at extern/wxWidgets/listctrl.cpp:2762
        line = 0
        visibleTo = 17
        rectLine = {x = 0, y = 0, width = 1624, height = 20}
        xOrig = 0
        lineHeight = 20
        visibleFrom = 0
        yOrig = 0
        dc = {<wxClientDC> = {<wxWindowDC> = {<wxDC> = {<wxDCBase> = {<wxObject>
 = {_vptr.wxObject = 0xc22190, static ms_classInfo = {
              m_className = 0x2b1487328248, m_objectSize = 16,
              m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
              static sm_first = 0x0, m_next = 0x2b1487575080,
              static sm_classTable = 0xe15010}, 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 = 1624, m_maxY = 20,
          m_clipX1 = 4, m_clipY1 = 0, m_clipX2 = 246, m_clipY2 = 20,
          m_logicalFunction = 5, m_backgroundMode = 106, m_mappingMode = 1,
          m_pen = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0xc21430,
                static ms_classInfo = {m_className = 0x2b1487328248,
                  m_objectSize = 16, m_objectConstructor = 0,
                  m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x0,
                  m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                m_refData = 0xe87070}, static ms_classInfo = {
                m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0, static sm_first = 0x0,
                m_next = 0x2b1486fd05a0, static sm_classTable = 0xe15010}},
            static ms_classInfo = {m_className = 0x2b1486ccd1fc,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b55310 <wxPen::wxCreateObject()>,
              m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0,
              static sm_first = 0x0, m_next = 0x2b1486fca4e0,
              static sm_classTable = 0xe15010}},
          m_brush = {<wxBrushBase> = {<wxGDIObject> = {<wxObject> = {
                  _vptr.wxObject = 0xc1d210, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x124cc80}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}}, <No data fields>},
            static ms_classInfo = {m_className = 0x2b1486ccc378,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b40050 <wxBrush::wxCreateObject()>, m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fc9fc0, static sm_classTable = 0xe15010}},
          m_backgroundBrush = {<wxBrushBase> = {<wxGDIObject> = {<wxObject> = {
                  _vptr.wxObject = 0xc1d210, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x124cc80}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}}, <No data fields>},
            static ms_classInfo = {m_className = 0x2b1486ccc378,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b40050 <wxBrush::wxCreateObject()>, m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fc9fc0, static sm_classTable = 0xe15010}},
          m_textForegroundColour = {<wxColourBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0xc20db0, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x1240c00}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}}, <No data fields>},
            static ms_classInfo = {m_className = 0x2b1486ccc478,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b41b00 <wxColour::wxCreateObject()>, m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fca040, static sm_classTable = 0xe15010}},
          m_textBackgroundColour = {<wxColourBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0xc20db0, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x124cb70}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}}, <No data fields>},
            static ms_classInfo = {m_className = 0x2b1486ccc478,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b41b00 <wxColour::wxCreateObject()>, m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fca040, static sm_classTable = 0xe15010}},
          m_font = {<wxFontBase> = {<wxGDIObject> = {<wxObject> = {
                  _vptr.wxObject = 0xc21470, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x1246d30}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}},
              static ms_encodingDefault = wxFONTENCODING_UTF8},
            static ms_classInfo = {m_className = 0x2b1486ccd004,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b52130 <wxFont::wxCreateObject()>,
              m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0,
              static sm_first = 0x0, m_next = 0x2b1486fca3a0,
              static sm_classTable = 0xe15010}},
          m_palette = {<wxPaletteBase> = {<wxGDIObject> = {<wxObject> = {
                  _vptr.wxObject = 0x2b1486f77510, static ms_classInfo = {
                    m_className = 0x2b1487328248, m_objectSize = 16,
                    m_objectConstructor = 0, m_baseInfo1 = 0x0,
                    m_baseInfo2 = 0x0, static sm_first = 0x0,
                    m_next = 0x2b1487575080, static sm_classTable = 0xe15010},
                  m_refData = 0x0}, static ms_classInfo = {
                  m_className = 0x2b1486cdf3c0, m_objectSize = 16,
                  m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0,
                  static sm_first = 0x0, m_next = 0x2b1486fd05a0,
                  static sm_classTable = 0xe15010}}, <No data fields>},
            static ms_classInfo = {m_className = 0x2b1486ccbd80,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486b39d70 <wxPalette::wxCreateObject()>, m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fc9d80, static sm_classTable = 0xe15010}},
          m_hasCustomPalette = false, static ms_classInfo = {
            m_className = 0x2b1486cdcf80, m_objectSize = 264,
            m_objectConstructor = 0, m_baseInfo1 = 0x2b1487574fa0,
            m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x2b1486fcf2a0,
            static sm_classTable = 0xe15010}},
        m_mm_to_pix_x = 3.9384615384615387,
        m_mm_to_pix_y = 3.9384615384615387, m_needComputeScaleX = false,
        m_needComputeScaleY = false, static ms_classInfo = {
          m_className = 0x2b1486ccc768, m_objectSize = 288,
          m_objectConstructor = 0, m_baseInfo1 = 0x2b1486fcec40,
          m_baseInfo2 = 0x0, static sm_first = 0x0, m_next = 0x2b1486fca200,
          static sm_classTable = 0xe15010}}, m_window = 0x13a46c0,
      m_penGC = 0x137b440, m_brushGC = 0x1359690, m_textGC = 0x1359610,
      m_bgGC = 0x137b4c0, m_cmap = 0xe7f040, m_isMemDC = false,
      m_isScreenDC = false, m_owner = 0x13275d0,
      m_currentClippingRegion = {<wxRegionBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x2b1486f7a890, static ms_classInfo = {
                m_className = 0x2b1487328248, m_objectSize = 16,
                m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                static sm_first = 0x0, m_next = 0x2b1487575080,
                static sm_classTable = 0xe15010}, m_refData = 0x13ed560},
            static ms_classInfo = {m_className = 0x2b1486cdf3c0,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0, static sm_first = 0x0,
              m_next = 0x2b1486fd05a0,
              static sm_classTable = 0xe15010}}, <No data fields>},
        static ms_classInfo = {m_className = 0x2b1486ccd270,
          m_objectSize = 16,
          m_objectConstructor = 0x2b1486b567f0 <wxRegion::wxCreateObject()>,
          m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0,
          static sm_first = 0x0, m_next = 0x2b1486fca660,
          static sm_classTable = 0xe15010}},
      m_paintClippingRegion = {<wxRegionBase> = {<wxGDIObject> = {<wxObject> = {_vptr.wxObject = 0x2b1486f7a890, static ms_classInfo = {
                m_className = 0x2b1487328248, m_objectSize = 16,
                m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                static sm_first = 0x0, m_next = 0x2b1487575080,
                static sm_classTable = 0xe15010}, m_refData = 0xf58640},
            static ms_classInfo = {m_className = 0x2b1486cdf3c0,
              m_objectSize = 16,
              m_objectConstructor = 0x2b1486c12590 <wxGDIObject::wxCreateObject()>, m_baseInfo1 = 0x2b1487574fa0, m_baseInfo2 = 0x0, static sm_first = 0x0,
...
Logged

CtrlAltDel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: cvs-20071228 crashes in shared files
« Reply #2 on: December 28, 2007, 03:03:30 PM »

Code: [Select]
...
              m_next = 0x2b1486fd05a0,
              static sm_classTable = 0xe15010}}, <No data fields>},
        static ms_classInfo = {m_className = 0x2b1486ccd270,
          m_objectSize = 16,
          m_objectConstructor = 0x2b1486b567f0 <wxRegion::wxCreateObject()>,
          m_baseInfo1 = 0x2b1486fd0360, m_baseInfo2 = 0x0,
          static sm_first = 0x0, m_next = 0x2b1486fca660,
          static sm_classTable = 0xe15010}}, m_context = 0x1323f20,
      m_layout = 0x139ee40, m_fontdesc = 0x1464730, static ms_classInfo = {
        m_className = 0x2b1486ccc800, m_objectSize = 408,
        m_objectConstructor = 0x2b1486b4c970 <wxWindowDC::wxCreateObject()>,
        m_baseInfo1 = 0x2b1486fca100, m_baseInfo2 = 0x0,
        static sm_first = 0x0, m_next = 0x2b1486fca2a0,
        static sm_classTable = 0xe15010}}, static ms_classInfo = {
      m_className = 0x2b1486ccc858, m_objectSize = 408,
      m_objectConstructor = 0x2b1486b4ca90 <wxClientDC::wxCreateObject()>,
      m_baseInfo1 = 0x2b1486fca140, m_baseInfo2 = 0x0, static sm_first = 0x0,
      m_next = 0x2b1486fca180, static sm_classTable = 0xe15010}},
  static ms_classInfo = {m_className = 0x2b1486ccc830, m_objectSize = 408,
    m_objectConstructor = 0x2b1486b4caf0 <wxPaintDC::wxCreateObject()>,
    m_baseInfo1 = 0x2b1486fca1c0, m_baseInfo2 = 0x0, static sm_first = 0x0,
    m_next = 0x2b1486fca140, static sm_classTable = 0xe15010}}
        dev_x = 0
        dev_y = 0
#2  0x00002b148730772d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#3  0x00002b14873078ec in wxEventHashTable::HandleEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#4  0x00002b1487307a2d in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#5  0x00002b14873079d0 in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#6  0x00002b1486c8c425 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#7  0x00002b1486b62e48 in wxWindow::GtkSendPaintEvents ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#8  0x00002b1486b631e5 in gtk_window_expose_callback ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#9  0x00002b148858dbbf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0x00002b1489319dfc in g_closure_invoke ()
   from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#11 0x00002b148932c1fd in ?? () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#12 0x00002b148932d989 in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#13 0x00002b148932e043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
No symbol table info available.
#14 0x00002b1488694ff5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x00002b148858807e in gtk_main_do_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0x00002b1488a2cdcb in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
No symbol table info available.
#17 0x00002b1488a2d3aa in gdk_window_process_all_updates ()
   from /usr/lib64/libgdk-x11-2.0.so.0
No symbol table info available.
#18 0x00002b14884fdec1 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#19 0x00002b1488a1491e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
No symbol table info available.
#20 0x00002b1489b94064 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#21 0x00002b1489b9735d in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#22 0x00002b1489b9782e in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#23 0x00002b1488588121 in gtk_main_iteration ()
   from /usr/lib64/libgtk-x11-2.0.so.0
No symbol table info available.
#24 0x00002b1486b3b07d in wxApp::Yield ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#25 0x00002b1487309de0 in wxYield () from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#26 0x00002b1486b3293c in wxGUIAppTraits::WaitForChild ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#27 0x00002b148730c860 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#28 0x00002b148730d179 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#29 0x00002b148730a250 in wxDoExecuteWithCapture ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#30 0x000000000076c348 in get_backtrace (n=1) at MuleDebug.cpp:400
        command = {<wxStringBase> = {static npos = 18446744073709551615,
    m_pchData = 0x1415cd8}, <No data fields>}
        bt_array = {0x76bc02, 0x76cf11, 0x436d0a, 0x2b14872a6d42, 0x5fa6ae,
  0x2b1487f15b54, 0x434259, 0x7fff24863740, 0x0, 0x0, 0x7fff24863730,
  0x7fff248630e0, 0x0, 0x0, 0x0, 0x0, 0x7fff24863710, 0x7fff24863718,
  0x7fff24863720, 0x7fff24863728, 0x7fff24863748, 0x0, 0x7fff24863750,
  0x76ccfc, 0xa00634, 0x0, 0x7fff248633f0, 0x7fff248633f8, 0x7fff24863400,
  0x0, 0x0, 0x0, 0x7fff248635e0, 0x0, 0xe96588, 0xe964a8, 0xe96510, 0xe965c0,
  0x0, 0x13bff50, 0x7fff24863408, 0x0, 0x0, 0xe9ea60, 0x13bff8c, 0x0,
  0x7fff248634c0, 0x7fff248634c8, 0x7fff248634d0, 0x0, 0xe9ea60, 0x13f6908,
  0x13f6818, 0x0, 0xea68f0, 0x2b148d81da70, 0x0, 0x2b1400000000,
  0x4000000000000000, 0x2b1487796a18, 0x2b148d819d18, 0x56bafd3,
  0x2b148d819400, 0x2b148624c90d, 0x420b49, 0x2b148d8191d0, 0x7, 0x32,
  0x807ae64e, 0x2b148624cd5a, 0x494fcd77, 0x807ae64e, 0xe87f1d6f0, 0x201eb99,
  0x7fff24863510, 0x7fff24863650, 0x7fff24863668, 0x2b14877977f0, 0x0,
  0x2b148d819d18, 0x2b148778d000, 0x2b14877cc060, 0x2b14877aaff0,
  0x2b14877a5cf8, 0x100000000, 0x10000098b, 0x100000000, 0x2b148778d358,
  0x7fff248636a0, 0x7fff24863650, 0x7fff24863668, 0x807ae64e, 0x2b148d819d18,
  0x2b148624cf3f, 0x0, 0x2b148d819d18, 0x1, 0x0, 0x7fff00000001, 0x0}
        bt_strings = (char **) 0x149f9c0
        num_entries = 7
        libname = 0x7fff24863110
        funcname = 0x7fff248630c0
        address = 0x7fff24863070
        AllAddresses = {<wxStringBase> = {static npos = 18446744073709551615,
    m_pchData = 0xed5488}, <No data fields>}
        out = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}
        hasLineNumberInfo = false
        trace = {<wxStringBase> = {static npos = 18446744073709551615,
    m_pchData = 0x7fff24863710}, <No data fields>}
#31 0x000000000076cf11 in OnUnhandledException () at MuleDebug.cpp:83
        name = 0x81d740 "16CInvalidParamsEx"
        status = 0
        dem = 0x145e200 "Sans"
        t = (std::type_info *) 0x81d720
#32 0x0000000000436d0a in CamuleApp::OnUnhandledException (this=0xe52320)
    at amule.cpp:2137
No locals.
#33 0x00002b14872a6d42 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#34 0x00000000005fa6ae in main (argc=1, argv=0x7fff24863978)
    at amule-gui.cpp:92
No locals.
 (gdb)thread apply all bt

Thread 1 (Thread 0x2b148d81bea0 (LWP 7645)):
#0  0x0000000000664ecf in CSharedFilesCtrl::OnDrawItem (this=0x1325d50,
    item=0, dc=0x7fff248614e0, rect=@0x7fff248617e0, rectHL=@0x7fff24861820,
    highlighted=false) at SharedFilesCtrl.cpp:513
#1  0x00000000007b50cc in MuleExtern::wxListMainWindow::OnPaint (
    this=0x13275d0) at extern/wxWidgets/listctrl.cpp:2762
#2  0x00002b148730772d in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#3  0x00002b14873078ec in wxEventHashTable::HandleEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#4  0x00002b1487307a2d in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#5  0x00002b14873079d0 in wxEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#6  0x00002b1486c8c425 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#7  0x00002b1486b62e48 in wxWindow::GtkSendPaintEvents ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#8  0x00002b1486b631e5 in gtk_window_expose_callback ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#9  0x00002b148858dbbf in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#10 0x00002b1489319dfc in g_closure_invoke ()
   from /usr/lib64/libgobject-2.0.so.0
#11 0x00002b148932c1fd in ?? () from /usr/lib64/libgobject-2.0.so.0
#12 0x00002b148932d989 in g_signal_emit_valist ()
   from /usr/lib64/libgobject-2.0.so.0
#13 0x00002b148932e043 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#14 0x00002b1488694ff5 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#15 0x00002b148858807e in gtk_main_do_event ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00002b1488a2cdcb in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#17 0x00002b1488a2d3aa in gdk_window_process_all_updates ()
   from /usr/lib64/libgdk-x11-2.0.so.0
#18 0x00002b14884fdec1 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00002b1488a1491e in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#20 0x00002b1489b94064 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#21 0x00002b1489b9735d in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00002b1489b9782e in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#23 0x00002b1488588121 in gtk_main_iteration ()
   from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00002b1486b3b07d in wxApp::Yield ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#25 0x00002b1487309de0 in wxYield () from /usr/local/lib/libwx_baseu-2.8.so.0
#26 0x00002b1486b3293c in wxGUIAppTraits::WaitForChild ()
   from /usr/local/lib/libwx_gtk2u_core-2.8.so.0
#27 0x00002b148730c860 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
#28 0x00002b148730d179 in wxExecute () from /usr/local/lib/libwx_baseu-2.8.so.0
#29 0x00002b148730a250 in wxDoExecuteWithCapture ()
   from /usr/local/lib/libwx_baseu-2.8.so.0
#30 0x000000000076c348 in get_backtrace (n=1) at MuleDebug.cpp:400
#31 0x000000000076cf11 in OnUnhandledException () at MuleDebug.cpp:83
#32 0x0000000000436d0a in CamuleApp::OnUnhandledException (this=0xe52320)
    at amule.cpp:2137
#33 0x00002b14872a6d42 in wxEntry () from /usr/local/lib/libwx_baseu-2.8.so.0
#34 0x00000000005fa6ae in main (argc=1, argv=0x7fff24863978)
    at amule-gui.cpp:92
(gdb)
Logged

a3linux

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: cvs-20071228 crashes in shared files
« Reply #3 on: December 29, 2007, 03:09:56 PM »

I think I met this problem with the recent days' CVS aMule too.

I am using Fedora 8 and wxGTK-2.8.4 and wxGTK-devel-2.8.4 from Fedora 8 Respository!
Gcc 4.1.2 as Fedora 8 default!
See my trace log,

Code: [Select]
Terminated after throwing an instance of 'CInvalidParamsEx'
        what(): CRunTimeException::CInvalidArgsException: Not a valid range.
        backtrace:
[2] ?? in /usr/lib/libstdc++.so.6 [0x5e36685]
[3] ?? in /usr/lib/libstdc++.so.6 [0x5e366c2]
[4] ?? in /usr/lib/libstdc++.so.6 [0x5e367fa]
[5] CRangeMap<unsigned int, unsigned long long>::do_insert(unsigned long long, CRangeMapHelper<unsigned int, unsigned long long>, bool) in RangeMap.h:438
[6] CRangeMap<unsigned int, unsigned long long>::iterator_base<__gnu_debug::_Safe_iterator<std::_Rb_tree_iterator<std::pair<unsigned long long const, CRangeMapHelper<unsigned int, unsigned long long> > >, __gnu_debug_def::map<unsigned long long, CRangeMapHelper<unsigned int, unsigned long long>, std::less<unsigned long long>, std::allocator<std::pair<unsigned long long const, CRangeMapHelper<unsigned int, unsigned long long> > > > >, unsigned int&, unsigned int*> CRangeMap<unsigned int, unsigned long long>::insert<unsigned int>(unsigned long long, unsigned long long, unsigned int const&) in RangeMap.h:424
[7] CBarShader::FillRange(unsigned long long, unsigned long long, unsigned int) in BarShader.cpp:135
[8] CSharedFilesCtrl::DrawAvailabilityBar(CKnownFile*, wxDC*, wxRect const&) const in SharedFilesCtrl.cpp:651
[9] CSharedFilesCtrl::OnDrawItem(int, wxDC*, wxRect const&, wxRect const&, bool) in SharedFilesCtrl.cpp:580
[10] MuleExtern::wxListMainWindow::OnPaint(wxPaintEvent&) in listctrl.cpp:2762
[11] wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const in /usr/lib/libwx_baseu-2.8.so.0[0x29cc2f5]
[12] wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x2a7680f]
[13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/libwx_baseu-2.8.so.0[0x2a7695d]
[14] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x2a76ac6]
[15] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_baseu-2.8.so.0[0x2a76a6b]
[16] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x289d403]
[17] wxWindow::GtkSendPaintEvents() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x27465be]
[18] ?? in /usr/lib/libwx_gtk2u_core-2.8.so.0 [0x27469dd]
[19] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0x79da030]
[20] g_closure_invoke in /lib/libgobject-2.0.so.0[0x2ddf83]
[21] ?? in /lib/libgobject-2.0.so.0 [0x2ee48d]
[22] g_signal_emit_valist in /lib/libgobject-2.0.so.0[0x2ef75f]
[23] g_signal_emit in /lib/libgobject-2.0.so.0[0x2efb59]
[24] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0x7b65bb4]
[25] gtk_widget_send_expose in /usr/lib/libgtk-x11-2.0.so.0[0x7b65813]
[26] gtk_main_do_event in /usr/lib/libgtk-x11-2.0.so.0[0x79d6c78]
[27] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x64ddad0]
[28] gdk_window_process_all_updates in /usr/lib/libgdk-x11-2.0.so.0[0x64ddc41]
[29] ?? in /usr/lib/libgtk-x11-2.0.so.0 [0x790d410]
[30] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x64bb94f]
[31] ?? in /lib/libglib-2.0.so.0 [0x13c541]
[32] g_main_context_dispatch in /lib/libglib-2.0.so.0[0x13e10c]
[33] ?? in /lib/libglib-2.0.so.0 [0x14154f]
[34] g_main_loop_run in /lib/libglib-2.0.so.0[0x1418f9]
[35] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x79d63ea]
[36] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x2732b9c]
[37] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x27d433e]
[38] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.8.so.0[0x27d3931]
[39] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0x2a09a9a]
[40] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0x2a09b57]
[41] main in amule-gui.cpp:92
[42] __libc_start_main in /lib/libc.so.6[0x6de390]
[43] wxAppBase::MainLoop() in :0
If anybody know much about this Crash?
« Last Edit: December 29, 2007, 03:13:25 PM by a3linux »
Logged

a3linux

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: cvs-20071228 crashes in shared files(Update the right backtraces)
« Reply #4 on: December 29, 2007, 03:23:06 PM »

(gdb) bt
Code: [Select]
#0  0x00110402 in __kernel_vsyscall ()
#1  0x00862891 in raise () from /lib/libpthread.so.0
#2  0x08397d2a in OnUnhandledException () at MuleDebug.cpp:86
#3  0x05e36685 in ?? () from /usr/lib/libstdc++.so.6
#4  0x05e366c2 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x05e367fa in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x0842dc67 in CRangeMap<unsigned int, unsigned long long>::do_insert (
    this=0x8822a38, start=4290048000, entry=
      {first = 4808704, second = 16765440}, merge=true) at RangeMap.h:438
#7  0x0842e9c7 in CRangeMap<unsigned int, unsigned long long>::insert<unsigned int> (this=0x8822a38, startPos=4290048000, endPos=4808704, value=@0xbfcc7374)
    at RangeMap.h:424
#8  0x0842a4fc in CBarShader::FillRange (this=0x8822a20, start=4290048000,
    end=4808704, color=16765440) at BarShader.cpp:135
#9  0x0828ceca in CSharedFilesCtrl::DrawAvailabilityBar (this=0x9c7a060,
    file=0x9d668e8, dc=0xbfcc7598, rect=@0xbfcc743c) at SharedFilesCtrl.cpp:654
#10 0x0828df10 in CSharedFilesCtrl::OnDrawItem (this=0x9c7a060, item=13,
    dc=0xbfcc7598, rect=@0xbfcc777c, rectHL=@0xbfcc77a4, highlighted=false)
    at SharedFilesCtrl.cpp:578
#11 0x08445dd9 in MuleExtern::wxListMainWindow::OnPaint (this=0x9c7a970)
    at extern/wxWidgets/listctrl.cpp:2762
#12 0x029cc2f5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0x02a7680f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0x02a7695d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0x02a76ac6 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#16 0x02a76a6b in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0289d403 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x027465be in wxWindow::GtkSendPaintEvents ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x027469dd in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0x079da030 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x09c0d780 in ?? ()
#22 0xbfcc8064 in ?? ()
#23 0x09c7a970 in ?? ()
#24 0x00000001 in ?? ()
#25 0x09c7af30 in ?? ()
#26 0x09c0d780 in ?? ()
#27 0x09c7a970 in ?? ()
#28 0x09223da0 in ?? ()
#29 0x02120000 in ?? ()
#30 0x002ddc3b in g_closure_unref () from /lib/libgobject-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Logged

a3linux

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: cvs-20071228 crashes in shared files
« Reply #5 on: December 29, 2007, 03:25:53 PM »

(gdb) bt full
Code: [Select]
#0  0x00110402 in __kernel_vsyscall ()
No symbol table info available.
#1  0x00862891 in raise () from /lib/libpthread.so.0
No symbol table info available.
#2  0x08397d2a in OnUnhandledException () at MuleDebug.cpp:86
        t = (struct std::type_info *) 0x84b2fb4
#3  0x05e36685 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x05e366c2 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x05e367fa in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x0842dc67 in CRangeMap<unsigned int, unsigned long long>::do_insert (
    this=0x8822a38, start=4290048000, entry=
      {first = 4808704, second = 16765440}, merge=true) at RangeMap.h:438
        it = {<__gnu_debug::_Safe_iterator_base> = {_M_sequence = 0x0,
    _M_version = 0, _M_prior = 0x0, _M_next = 0x0}, _M_current = {
    _M_node = 0x8822a3c}}
#7  0x0842e9c7 in CRangeMap<unsigned int, unsigned long long>::insert<unsigned int> (this=0x8822a38, startPos=4290048000, endPos=4808704, value=@0xbfcc7374)
    at RangeMap.h:424
        entry = {first = 4808704, second = 16765440}
#8  0x0842a4fc in CBarShader::FillRange (this=0x8822a20, start=4290048000,
    end=4808704, color=16765440) at BarShader.cpp:135
No locals.
#9  0x0828ceca in CSharedFilesCtrl::DrawAvailabilityBar (this=0x9c7a060,
    file=0x9d668e8, dc=0xbfcc7598, rect=@0xbfcc743c) at SharedFilesCtrl.cpp:654
        color = 16765440
        i = 441
        list = (
    const ArrayOfUInts16 &) @0x9d66a20: {<__gnu_norm::vector<short unsigned int,std::allocator<short unsigned int> >> = {<__gnu_norm::_Vector_base<short unsigned int,std::allocator<short unsigned int> >> = {
      _M_impl = {<std::allocator<short unsigned int>> = {<__gnu_cxx::new_allocator<short unsigned int>> = {<No data fields>}, <No data fields>},
        _M_start = 0x9e5a6c8, _M_finish = 0x9e5ac70,
        _M_end_of_storage = 0x9e5ac70}}, <No data fields>}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::vector<short unsigned int, std::allocator<short unsigned int> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0,
      _M_const_iterators = 0x0, _M_version = 3}, <No data fields>},
  _M_guaranteed_capacity = 724}
        s_ChunkBar = {m_Width = 112, m_Height = 18, m_FileSize = 7041771165,
  m_Modifiers = 0x9c2b200, m_used3dlevel = 5, m_spanlist = {
    m_ranges = {<__gnu_norm::map<long long unsigned int,CRangeMapHelper<unsigned int, long long unsigned int>,std::less<long long unsigned int>,std::allocator<std::pair<const long long unsigned int, CRangeMapHelper<unsigned int, long long unsigned int> > > >> = {_M_t = {
          _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const long long unsigned int, CRangeMapHelper<unsigned int, long long unsigned int> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const long long unsigned
int, CRangeMapHelper<unsigned int, long long unsigned int> > > >> = {<No data fields>}, <No data fields>},
            _M_key_compare = {<> = {<No data fields>}, <No data fields>},
            _M_header = {_M_color = std::_S_red, _M_parent = 0x9efe1e8,
              _M_left = 0x9efde70, _M_right = 0x9f00128},
            _M_node_count = 96}}}, <__gnu_debug::_Safe_sequence<__gnu_debug_def::map<long long unsigned int, CRangeMapHelper<unsigned int, long long unsigned int>, std::less<long long unsigned int>, std::allocator<std::pair<const long long unsigned int, CRangeMapHelper<unsigned int, long long unsigned int> > > > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0,
          _M_const_iterators = 0x0,
          _M_version = 1}, <No data fields>}, <No data fields>}}}
#10 0x0828df10 in CSharedFilesCtrl::OnDrawItem (this=0x9c7a060, item=13,
    dc=0xbfcc7598, rect=@0xbfcc777c, rectHL=@0xbfcc77a4, highlighted=false)
    at SharedFilesCtrl.cpp:578
        barRect = {x = 1256, y = 261, width = 112, height = 18}
        columnRect = {x = 1256, y = 260, width = 112, height = 20}
        clipper = {m_dc = @0xbfcc7598}
        textBuffer = {<wxStringBase> = {static npos = 4294967295,
    m_pchData = 0x2a98ab8}, <No data fields>}
        columnWidth = 120
        i = 9
        file = (class CKnownFile *) 0x9d668e8
        textVOffset = 2
        SPARE_PIXELS_HORZ = 4
        columnLeft = 1252
#11 0x08445dd9 in MuleExtern::wxListMainWindow::OnPaint (this=0x9c7a970)
    at extern/wxWidgets/listctrl.cpp:2762
        line = 13
        visibleTo = 20
        rectLine = {x = 0, y = 260, width = 1712, height = 20}
        xOrig = 0
        lineHeight = 20
        visibleFrom = 0
        yOrig = 0
        dc = <incomplete type>
        dev_x = 0
        dev_y = 0
#12 0x029cc2f5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#13 0x02a7680f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#14 0x02a7695d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#15 0x02a76ac6 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#16 0x02a76a6b in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
#17 0x0289d403 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#18 0x027465be in wxWindow::GtkSendPaintEvents ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#19 0x027469dd in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
No symbol table info available.
#20 0x079da030 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x09c0d780 in ?? ()
No symbol table info available.
#22 0xbfcc8064 in ?? ()
No symbol table info available.
#23 0x09c7a970 in ?? ()
No symbol table info available.
#24 0x00000001 in ?? ()
No symbol table info available.
#25 0x09c7af30 in ?? ()
No symbol table info available.
#26 0x09c0d780 in ?? ()
No symbol table info available.
#27 0x09c7a970 in ?? ()
No symbol table info available.
#28 0x09223da0 in ?? ()
No symbol table info available.
#29 0x02120000 in ?? ()
No symbol table info available.
#30 0x002ddc3b in g_closure_unref () from /lib/libgobject-2.0.so.0
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Logged

a3linux

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: cvs-20071228 crashes in shared files
« Reply #6 on: December 29, 2007, 03:27:40 PM »

Code: [Select]
(gdb) thread apply all bt
[cdoe]
Thread 5 (Thread -1270723696 (LWP 32194)):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x0085e902 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x02a73ccc in wxConditionInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#3  0x02a73d1f in wxCondition::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#4  0x02a749dc in wxSemaphoreInternal::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#5  0x02a74a6f in wxSemaphore::WaitTimeout ()
   from /usr/lib/libwx_baseu-2.8.so.0
#6  0x0833d79a in CTimerThread::Entry (this=0x9d7c270) at Timer.cpp:63
#7  0x02a75038 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#8  0x02a750ad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#9  0x0085a50b in start_thread () from /lib/libpthread.so.0
#10 0x0079bb2e in clone () from /lib/libc.so.6

Thread 3 (Thread -1249477744 (LWP 32192)):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x00861d26 in nanosleep () from /lib/libpthread.so.0
#2  0x02a7aad8 in wxMicroSleep () from /usr/lib/libwx_baseu-2.8.so.0
#3  0x02a7ab01 in wxMilliSleep () from /usr/lib/libwx_baseu-2.8.so.0
#4  0x02a733dd in wxThread::Sleep () from /usr/lib/libwx_baseu-2.8.so.0
#5  0x081aa7fb in UploadBandwidthThrottler::Entry (this=0x9ccf280)
    at UploadBandwidthThrottler.cpp:324
#6  0x02a75038 in wxThreadInternal::PthreadStart ()
   from /usr/lib/libwx_baseu-2.8.so.0
#7  0x02a750ad in wxPthreadStart () from /usr/lib/libwx_baseu-2.8.so.0
#8  0x0085a50b in start_thread () from /lib/libpthread.so.0
#9  0x0079bb2e in clone () from /lib/libc.so.6

Thread 2 (Thread -1208928560 (LWP 32184)):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x00862891 in raise () from /lib/libpthread.so.0
#2  0x08397d2a in OnUnhandledException () at MuleDebug.cpp:86
#3  0x05e36685 in ?? () from /usr/lib/libstdc++.so.6
#4  0x05e366c2 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x05e367fa in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x0842dc67 in CRangeMap<unsigned int, unsigned long long>::do_insert (
    this=0x8822a38, start=4290048000, entry=
      {first = 4808704, second = 16765440}, merge=true) at RangeMap.h:438
#7  0x0842e9c7 in CRangeMap<unsigned int, unsigned long long>::insert<unsigned int> (this=0x8822a38, startPos=4290048000, endPos=4808704, value=@0xbfcc7374)
    at RangeMap.h:424
#8  0x0842a4fc in CBarShader::FillRange (this=0x8822a20, start=4290048000,
    end=4808704, color=16765440) at BarShader.cpp:135
#9  0x0828ceca in CSharedFilesCtrl::DrawAvailabilityBar (this=0x9c7a060,
    file=0x9d668e8, dc=0xbfcc7598, rect=@0xbfcc743c) at SharedFilesCtrl.cpp:654
#10 0x0828df10 in CSharedFilesCtrl::OnDrawItem (this=0x9c7a060, item=13,
    dc=0xbfcc7598, rect=@0xbfcc777c, rectHL=@0xbfcc77a4, highlighted=false)
    at SharedFilesCtrl.cpp:578
#11 0x08445dd9 in MuleExtern::wxListMainWindow::OnPaint (this=0x9c7a970)
    at extern/wxWidgets/listctrl.cpp:2762
#12 0x029cc2f5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0x02a7680f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0x02a7695d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0x02a76ac6 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#16 0x02a76a6b in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0289d403 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x027465be in wxWindow::GtkSendPaintEvents ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x027469dd in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0x079da030 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x09c0d780 in ?? ()
#22 0xbfcc8064 in ?? ()
#23 0x09c7a970 in ?? ()
#24 0x00000001 in ?? ()
#25 0x09c7af30 in ?? ()
#26 0x09c0d780 in ?? ()
#27 0x09c7a970 in ?? ()
#28 0x09223da0 in ?? ()
#29 0x02120000 in ?? ()
#30 0x002ddc3b in g_closure_unref () from /lib/libgobject-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (LWP 32184):
#0  0x00110402 in __kernel_vsyscall ()
#1  0x00862891 in raise () from /lib/libpthread.so.0
#2  0x08397d2a in OnUnhandledException () at MuleDebug.cpp:86
#3  0x05e36685 in ?? () from /usr/lib/libstdc++.so.6
#4  0x05e366c2 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x05e367fa in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x0842dc67 in CRangeMap<unsigned int, unsigned long long>::do_insert (
    this=0x8822a38, start=4290048000, entry=
      {first = 4808704, second = 16765440}, merge=true) at RangeMap.h:438
#7  0x0842e9c7 in CRangeMap<unsigned int, unsigned long long>::insert<unsigned int> (this=0x8822a38, startPos=4290048000, endPos=4808704, value=@0xbfcc7374)
    at RangeMap.h:424
#8  0x0842a4fc in CBarShader::FillRange (this=0x8822a20, start=4290048000,
    end=4808704, color=16765440) at BarShader.cpp:135
#9  0x0828ceca in CSharedFilesCtrl::DrawAvailabilityBar (this=0x9c7a060,
    file=0x9d668e8, dc=0xbfcc7598, rect=@0xbfcc743c) at SharedFilesCtrl.cpp:654
#10 0x0828df10 in CSharedFilesCtrl::OnDrawItem (this=0x9c7a060, item=13,
    dc=0xbfcc7598, rect=@0xbfcc777c, rectHL=@0xbfcc77a4, highlighted=false)
    at SharedFilesCtrl.cpp:578
#11 0x08445dd9 in MuleExtern::wxListMainWindow::OnPaint (this=0x9c7a970)
    at extern/wxWidgets/listctrl.cpp:2762
#12 0x029cc2f5 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#13 0x02a7680f in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.8.so.0
#14 0x02a7695d in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#15 0x02a76ac6 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#16 0x02a76a6b in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.8.so.0
#17 0x0289d403 in wxScrollHelperEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#18 0x027465be in wxWindow::GtkSendPaintEvents ()
   from /usr/lib/libwx_gtk2u_core-2.8.so.0
#19 0x027469dd in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0x079da030 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x09c0d780 in ?? ()
#22 0xbfcc8064 in ?? ()
#23 0x09c7a970 in ?? ()
#24 0x00000001 in ?? ()
#25 0x09c7af30 in ?? ()
#26 0x09c0d780 in ?? ()
#27 0x09c7a970 in ?? ()
#28 0x09223da0 in ?? ()
#29 0x02120000 in ?? ()
#30 0x002ddc3b in g_closure_unref () from /lib/libgobject-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
#0  0x00110402 in __kernel_vsyscall ()
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-20071228 crashes in shared files
« Reply #7 on: December 29, 2007, 09:47:08 PM »

The problem seems to be here:
Code: [Select]
void CSharedFilesCtrl::DrawAvailabilityBar(CKnownFile* file, wxDC* dc, const wxRect& rect ) const
{
// Reference to the availability list
const ArrayOfUInts16& list = ( file->IsPartFile() ? ((CPartFile*)file)->m_SrcpartFrequency : file->m_AvailPartFrequency );

static CBarShader s_ChunkBar;

s_ChunkBar.SetFileSize( file->GetFileSize() );
s_ChunkBar.SetHeight( rect.GetHeight() );
s_ChunkBar.SetWidth( rect.GetWidth() );
s_ChunkBar.Set3dDepth( CPreferences::Get3DDepth() );
s_ChunkBar.Fill( RGB(255, 0, 0) );

for ( unsigned int i = 0; i < list.size(); ++i ) {
if ( list[i] ) {
COLORREF color = RGB(0, (210-(22*( list[i] - 1 ) ) < 0) ? 0 : 210-(22*( list[i] - 1 ) ), 255);
s_ChunkBar.FillRange(PARTSIZE*(i),PARTSIZE*(i+1),color);
}
}

    s_ChunkBar.Draw(dc, rect.GetLeft(), rect.GetTop(), CPreferences::UseFlatBar() );
}
From your bakctraces, we can see that FillRange is beeing called with the following parameters:
Code: [Select]
#8  0x0842a4fc in CBarShader::FillRange (this=0x8822a20, start=4290048000, end=4808704, color=16765440) at BarShader.cpp:135
The start value seems a little bit too big, maybe we are having an overflow here.

EDIT: PARTFILE is 9.728.000, so
start / PARTFILE = 4.290.048.000 / 9.728.000 == 441
4.290.048.000 == 0xFFB4F00
end = PARTFILE * (441 + 1) = 4.299.776.000 == 0x100496000

So it is definitely an overflow.
« Last Edit: December 29, 2007, 09:54:00 PM by phoenix »
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-20071228 crashes in shared files
« Reply #8 on: December 29, 2007, 10:09:03 PM »

I have fixed it, please test tomorrow svn tarball to confirm that it is wokring. Notice that you must use the same (big) file you used before to repeat the crash.

Cheers!
Logged

CtrlAltDel

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 14
Re: cvs-20071228 crashes in shared files
« Reply #9 on: December 30, 2007, 09:43:41 AM »

I have fixed it, please test tomorrow svn tarball to confirm that it is wokring. Notice that you must use the same (big) file you used before to repeat the crash.

Yes, it works now. Thanks, good work!

There is one other error message I get, it does not crash amule or its GUI, but whenever I open Transfers-window (or when a file selected the first time, or change the sizes of top and bottom halfs of the page by dragging the separator up or down), I get this to the command line:

** (amule:28516): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed

As I said, it does not prevent me using amule, but might be something to check? Can I provide some further info?
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-20071228 crashes in shared files
« Reply #10 on: January 02, 2008, 05:14:55 PM »

Hi CtrlAltDel,

Thanks for the feedback!

The error message you have posted above is not from amule, in spite of what it looks like. It is from either wx or gtk2, and unfortunately I am not able to reproduce it here. It is probably related to some default on your gtk theme that is causing a conflict with aMule default sizes. The problem is most probably that aMule is doing some wrong assumption about interface.

One thing that you can do is to change your gtk2 theme to default or some other theme to see if the message disappears.

Cheers!
Logged