aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bad news. Client corruption  (Read 3174 times)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Bad news. Client corruption
« on: September 08, 2004, 01:41:10 PM »

Please, look at the client dump in the end of the bt, either this client has never been constructed or we have a serious memory corruption problem. Most likely it has something to do with the last changes Xaignar did in listctrl.cpp or MuleListCtrl.cpp.

Code: [Select]
(gdb) bt
#0  0x002d87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00dd4e49 in raise () from /lib/tls/libc.so.6
#2  0x00dd6872 in abort () from /lib/tls/libc.so.6
#3  0x00848034 in wxFatalSignalHandler () at src/unix/utilsunx.cpp:964
#4  
#5  0x00812b7c in wxStringData::IsEmpty (this=0x5) at string.h:213
#6  0x0080f04b in wxStringBase::operator= (this=0xfef9b2d0, stringSrc=@0x9b41fb4) at src/common/string.cpp:735
#7  0x08169b9c in wxString::operator= (this=0xfef9b2d0, _ctor_arg=@0x9b41fb4) at string.h:925
#8  0x082c305b in CUploadListCtrl::OnDrawItem (this=0x8ead948, item=0, dc=0xfef9b350, rect=@0xfef9b4b0,
    rectHL=@0xfef9b4c0, highlighted=false) at UploadListCtrl.cpp:451
#9  0x081fe543 in wxODListMainWindow::OnPaint (this=0x8eae8d0) at listctrl.cpp:3051
#10 0x007a40a4 in wxAppConsole::HandleEvent (this=0x86ce028, handler=0x8eae8d0, func=
      {__pfn = 0x81fdfa8 , __delta = 0}, event=@0xfef9b7e0)
    at src/common/appbase.cpp:305
#11 0x008420a1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x8607720, handler=0x8eae8d0, event=@0xfef9b7e0)
    at src/common/event.cpp:1169
#12 0x0084102e in wxEventHashTable::HandleEvent (this=0x86076f8, event=@0xfef9b7e0, self=0x8eae8d0)
    at src/common/event.cpp:837
#13 0x008422b4 in wxEvtHandler::ProcessEvent (this=0x8eae8d0, event=@0xfef9b7e0) at src/common/event.cpp:1231
#14 0x004483d8 in wxWindow::GtkSendPaintEvents (this=0x8eae8d0) at src/gtk/window.cpp:4027
#15 0x00440395 in gtk_window_expose_callback (widget=0x8e7a9f8, gdk_event=0xfef9bde0, win=0x8eae8d0)
    at src/gtk/window.cpp:543
#16 0x05201854 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x001d9160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0x001ed195 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#19 0x001ebf2e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0x001ec454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0x052ff3b5 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x051feb0d in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x0016b6d3 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#24 0x0016b7da in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x051800ae in gtk_container_set_reallocate_redraws () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x008cc1f3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#27 0x008c8e4a in g_main_depth () from /usr/lib/libglib-2.0.so.0
#28 0x008c9f28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0x008ca260 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x008ca8a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#31 0x051fe403 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x0042f5ee in wxEventLoop::Run (this=0x9095e70) at src/gtk/evtloop.cpp:82
#33 0x004b63db in wxAppBase::MainLoop (this=0x86ce028) at src/common/appcmn.cpp:262
#34 0x004b6547 in wxAppBase::OnRun (this=0x86ce028) at src/common/appcmn.cpp:330
#35 0x007e669f in wxEntry (argc=@0xfef9c0f0, argv=0xfef9c174) at src/common/init.cpp:410
#36 0x082c6c85 in main (argc=1, argv=0xfef9c174) at amule.cpp:175
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: Bad news. Client corruption
« Reply #1 on: September 08, 2004, 01:44:02 PM »

Backtrace was too big, had to break it in 3:
Code: [Select]
(gdb) bt full
#5  0x00812b7c in wxStringData::IsEmpty (this=0x5) at string.h:213
No locals.
#6  0x0080f04b in wxStringBase::operator= (this=0xfef9b2d0, stringSrc=@0x9b41fb4) at src/common/string.cpp:735
No locals.
#7  0x08169b9c in wxString::operator= (this=0xfef9b2d0, _ctor_arg=@0x9b41fb4) at string.h:925
No locals.
#8  0x082c305b in CUploadListCtrl::OnDrawItem (this=0x8ead948, item=0, dc=0xfef9b350, rect=@0xfef9b4b0,
    rectHL=@0xfef9b4c0, highlighted=false) at UploadListCtrl.cpp:451
        listitem = { = {_vptr.wxObject = 0x8359390, static ms_classInfo = {
      m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
      m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
    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 = 0x8eb08cc "Client Software"}, }, m_image = -1, m_data = 0, m_format = 0,
  m_width = 100, m_attr = 0x0, static ms_classInfo = {m_className = 0x0, m_objectSize = 0, m_objectConstructor = 0,
    m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x0,
    static sm_classTable = 0x86bf008}}
        cx = 100
        clipper = (class wxDCClipper *) 0x9c65750
        iColumn = 2
        iCurrent = 2
        mypen = { = { = {_vptr.wxObject = 0x60e368, static ms_classInfo = {
        m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
      m_refData = 0x0}, m_visible = false, static ms_classInfo = {m_className = 0x58694c "wxGDIObject",
      m_objectSize = 12, m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
      m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0, static sm_classTable = 0x86bf008}},
  static ms_classInfo = {m_className = 0x586bad "wxPen", m_objectSize = 12,
    m_objectConstructor = 0x433aa0 , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
    static sm_first = 0x841e208, m_next = 0x627948, static sm_classTable = 0x86bf008}}
        client = (CUpDownClient *) 0x9b41e00
        cur_rec = {left = 429, top = 0, right = 517, bottom = 20}
        rbuffer = { = {static npos = 4294967195, m_pchData = 0x84f7f4 ""}, }
        Sbuffer = { = {static npos = 4294967195, m_pchData = 0x9bea4d4 "?"}, }
        file = (class CKnownFile *) 0x0
        iCount = 11
#9  0x081fe543 in wxODListMainWindow::OnPaint (this=0x8eae8d0) at listctrl.cpp:3051
        dbDC = { = { = { = { = {_vptr.wxObject = 0x60da48,
          static ms_classInfo = {m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0,
            m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
            static sm_classTable = 0x86bf008}, 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 = 1180, m_maxY = 23, m_clipX1 = 429, m_clipY1 = 0, m_clipX2 = 517, m_clipY2 = 20,
        m_logicalFunction = 5, m_backgroundMode = 106, m_mappingMode = 1, m_pen = { = { = {
              _vptr.wxObject = 0x60e368, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
              m_refData = 0x8720c78}, m_visible = false, static ms_classInfo = {
              m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x586bad "wxPen",
            m_objectSize = 12, m_objectConstructor = 0x433aa0 , m_baseInfo1 = 0x6278b8,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627948, static sm_classTable = 0x86bf008}},
        m_brush = { = { = {_vptr.wxObject = 0x60d1e8, static ms_classInfo = {
                m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                static sm_classTable = 0x86bf008}, m_refData = 0x8720dc8}, m_visible = false,
            static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585704 "wxBrush",
            m_objectSize = 12, m_objectConstructor = 0x41a548 , m_baseInfo1 = 0x6278b8,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627548, static sm_classTable = 0x86bf008}},
        m_backgroundBrush = { = { = {_vptr.wxObject = 0x60d1e8, static ms_classInfo = {
                m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                static sm_classTable = 0x86bf008}, m_refData = 0x8720dc8}, m_visible = false,
            static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585704 "wxBrush",
            m_objectSize = 12, m_objectConstructor = 0x41a548 , m_baseInfo1 = 0x6278b8,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627548, static sm_classTable = 0x86bf008}},
        m_textForegroundColour = { = { = {_vptr.wxObject = 0x60d2a8, static ms_classInfo = {
                m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                static sm_classTable = 0x86bf008}, m_refData = 0x870ebe0}, m_visible = false,
            static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585a51 "wxColour",
            m_objectSize = 12, m_objectConstructor = 0x41cf52 , m_baseInfo1 = 0x6278b8,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627778, static sm_classTable = 0x86bf008}},
        m_textBackgroundColour = { = { = {_vptr.wxObject = 0x60d2a8, static ms_classInfo = {
                m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                static sm_classTable = 0x86bf008}, m_refData = 0x8720a20}, m_visible = false,
            static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585a51 "wxColour",
            m_objectSize = 12, m_objectConstructor = 0x41cf52 , m_baseInfo1 = 0x6278b8,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627778, static sm_classTable = 0x86bf008}},
        m_font = { = { = { = {_vptr.wxObject = 0x60dec8, static ms_classInfo = {
                  m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                  m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                  static sm_classTable = 0x86bf008}, m_refData = 0x86fee40}, m_visible = false,
              static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_encodingDefault = wxFONTENCODING_ISO8859_1},
          static ms_classInfo = {m_className = 0x586927 "wxFont", m_objectSize = 12,
            m_objectConstructor = 0x430c16 , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
            static sm_first = 0x841e208, m_next = 0x6278b8, static sm_classTable = 0x86bf008}},
        m_palette = { = { = {_vptr.wxObject = 0x60d028, static ms_classInfo = {
                m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                static sm_classTable = 0x86bf008}, m_refData = 0x0}, m_visible = false, static ms_classInfo = {
              m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
              m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
              static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585250 "wxPalette",
            m_objectSize = 12, m_objectConstructor = 0x4134d8 ,
            m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x62748c,
            static sm_classTable = 0x86bf008}}, m_hasCustomPalette = false, static ms_classInfo = {
          m_className = 0x597838 "wxDCBase", m_objectSize = 216, m_objectConstructor = 0, m_baseInfo1 = 0x88b1f4,
          m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x62a1b4, static sm_classTable = 0x86bf008}},
      m_mm_to_pix_x = 4.0894568690095845, m_mm_to_pix_y = 4.4521739130434783, m_needComputeScaleX = false,
      m_needComputeScaleY = false, static ms_classInfo = {m_className = 0x585df4 "wxDC", m_objectSize = 236,
        m_objectConstructor = 0, m_baseInfo1 = 0x62a178, m_baseInfo2 = 0x0, static sm_first = 0x841e208,
        m_next = 0x627820, static sm_classTable = 0x86bf008}}, m_window = 0x8e33cf8, m_penGC = 0x9147a68,
    m_brushGC = 0x92565f8, m_textGC = 0x872e3e8, m_bgGC = 0x914e968, m_cmap = 0x86e6198, m_isMemDC = true,
    m_isScreenDC = false, m_owner = 0x0, m_currentClippingRegion = { = { = {
          _vptr.wxObject = 0x60e648, static ms_classInfo = {m_className = 0x84e74d "wxObject", m_objectSize = 8,
            m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x841e208,
            m_next = 0x88b230, static sm_classTable = 0x86bf008}, m_refData = 0x9cedb28}, m_visible = false,
        static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
          m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
          m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0, static sm_classTable = 0x86bf008}},
      static ms_classInfo = {m_className = 0x586cf7 "wxRegion", m_objectSize = 12,
        m_objectConstructor = 0x435b70 , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
        static sm_first = 0x841e208, m_next = 0x627a20, static sm_classTable = 0x86bf008}},
    m_paintClippingRegion = { = { = {_vptr.wxObject = 0x60e648, static ms_classInfo = {
            m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
          m_refData = 0x0}, m_visible = false, static ms_classInfo = {m_className = 0x58694c "wxGDIObject",
          m_objectSize = 12, m_objectConstructor = 0x431e60 ,
          m_baseInfo1 = 0x88b1f4, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
          static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x586cf7 "wxRegion",
        m_objectSize = 12, m_objectConstructor = 0x435b70 , m_baseInfo1 = 0x6278b8,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627a20, static sm_classTable = 0x86bf008}},
    m_context = 0x9d0c9b0, m_layout = 0x9873f08, m_fontdesc = 0x9cec490, static ms_classInfo = {
      m_className = 0x58621e "wxWindowDC", m_objectSize = 304,
      m_objectConstructor = 0x4230a8 , m_baseInfo1 = 0x6277c0, m_baseInfo2 = 0x0,
      static sm_first = 0x841e208, m_next = 0x62785c, static sm_classTable = 0x86bf008}},
  m_selected = { = { = {_vptr.wxObject = 0x60d168, static ms_classInfo = {
          m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
          m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
        m_refData = 0x8f60f00}, m_visible = false, static ms_classInfo = {m_className = 0x58694c "wxGDIObject",
        m_objectSize = 12, m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0, static sm_classTable = 0x86bf008}},
    static ms_classInfo = {m_className = 0x5856a7 "wxBitmap", m_objectSize = 12,
      m_objectConstructor = 0x415bcc , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
      static sm_first = 0x841e208, m_next = 0x6274f4, static sm_classTable = 0x86bf008}}, static ms_classInfo = {
    m_className = 0x58628a "wxMemoryDC", m_objectSize = 316,
    m_objectConstructor = 0x42be3c , m_baseInfo1 = 0x6277d8, m_baseInfo2 = 0x0,
    static sm_first = 0x841e208, m_next = 0x627880, static sm_classTable = 0x86bf008}}
        buffer = { = { = {_vptr.wxObject = 0x60d168, static ms_classInfo = {
        m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
      m_refData = 0x8f60f00}, m_visible = false, static ms_classInfo = {m_className = 0x58694c "wxGDIObject",
      m_objectSize = 12, m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
      m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0, static sm_classTable = 0x86bf008}},
  static ms_classInfo = {m_className = 0x5856a7 "wxBitmap", m_objectSize = 12,
    m_objectConstructor = 0x415bcc , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
    static sm_first = 0x841e208, m_next = 0x6274f4, static sm_classTable = 0x86bf008}}
        rect = {x = 0, y = 0, width = 1180, height = 20}
        highl = {x = 0, y = 0, width = 1180, height = 20}
        line = 0
        last = {x = 0, y = 0, width = 1180, height = 20}
        width = 0
        height = 1575597
        visibleTo = 2
        rectLine = {x = 1, y = 0, width = 1180, height = 20}
        xOrig = 0
        lineHeight = 20
        visibleFrom = 0
        yOrig = 0
        dc = { = { = { = { = { = {_vptr.wxObject = 0x841dbd8,
            static ms_classInfo = {m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0,
              m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
              static sm_classTable = 0x86bf008}, m_refData = 0x0}, m_colour = true, m_ok = true,
          m_clipping = false, 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 = 0, m_clipY2 = 0,
          m_logicalFunction = 5, m_backgroundMode = 106, m_mappingMode = 1, m_pen = { = { = {
                _vptr.wxObject = 0x60e368, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                  m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                m_refData = 0x8720bf8}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x586bad "wxPen",
              m_objectSize = 12, m_objectConstructor = 0x433aa0 , m_baseInfo1 = 0x6278b8,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627948,
              static sm_classTable = 0x86bf008}}, m_brush = { = { = {
                _vptr.wxObject = 0x60d1e8, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                  m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                m_refData = 0x8720dc8}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585704 "wxBrush",
              m_objectSize = 12, m_objectConstructor = 0x41a548 ,
              m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627548,
              static sm_classTable = 0x86bf008}}, m_backgroundBrush = { = { = {
                _vptr.wxObject = 0x60d1e8, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                  m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                m_refData = 0x8720dc8}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585704 "wxBrush",
              m_objectSize = 12, m_objectConstructor = 0x41a548 ,
              m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627548,
              static sm_classTable = 0x86bf008}}, m_textForegroundColour = { = { = {
                _vptr.wxObject = 0x60d2a8, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                  m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                m_refData = 0x870ebe0}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585a51 "wxColour",
              m_objectSize = 12, m_objectConstructor = 0x41cf52 ,
              m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627778,
              static sm_classTable = 0x86bf008}}, m_textBackgroundColour = { = { = {
                _vptr.wxObject = 0x60d2a8, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                  m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                  static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                m_refData = 0x8720a20}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585a51 "wxColour",
              m_objectSize = 12, m_objectConstructor = 0x41cf52 ,
              m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627778,
              static sm_classTable = 0x86bf008}}, m_font = { = { = { = {
                  _vptr.wxObject = 0x60dec8, static ms_classInfo = {m_className = 0x84e74d "wxObject",
                    m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
                    static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
                  m_refData = 0x86fee40}, m_visible = false, static ms_classInfo = {
                  m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                  m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                  m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                  static sm_classTable = 0x86bf008}}, static ms_encodingDefault = wxFONTENCODING_ISO8859_1},
            static ms_classInfo = {m_className = 0x586927 "wxFont", m_objectSize = 12,
              m_objectConstructor = 0x430c16 , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
              static sm_first = 0x841e208, m_next = 0x6278b8, static sm_classTable = 0x86bf008}},
          m_palette = { = { = {_vptr.wxObject = 0x60d028, static ms_classInfo = {
                  m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
                  m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230,
                  static sm_classTable = 0x86bf008}, m_refData = 0x0}, m_visible = false, static ms_classInfo = {
                m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
                m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
                m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
                static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x585250 "wxPalette",
              m_objectSize = 12, m_objectConstructor = 0x4134d8 ,
              m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x62748c,
              static sm_classTable = 0x86bf008}}, m_hasCustomPalette = false, static ms_classInfo = {
            m_className = 0x597838 "wxDCBase", m_objectSize = 216, m_objectConstructor = 0, m_baseInfo1 = 0x88b1f4,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x62a1b4, static sm_classTable = 0x86bf008}},
        m_mm_to_pix_x = 4.0894568690095845, m_mm_to_pix_y = 4.4521739130434783, m_needComputeScaleX = false,
        m_needComputeScaleY = false, static ms_classInfo = {m_className = 0x585df4 "wxDC", m_objectSize = 236,
          m_objectConstructor = 0, m_baseInfo1 = 0x62a178, m_baseInfo2 = 0x0, static sm_first = 0x841e208,
          m_next = 0x627820, static sm_classTable = 0x86bf008}}, m_window = 0x92d54b0, m_penGC = 0x8f57b08,
      m_brushGC = 0x87876e0, m_textGC = 0x8787448, m_bgGC = 0x8787150, m_cmap = 0x86e6198, m_isMemDC = false,
      m_isScreenDC = false, m_owner = 0x8eae8d0, m_currentClippingRegion = { = { = {
            _vptr.wxObject = 0x60e648, static ms_classInfo = {m_className = 0x84e74d "wxObject", m_objectSize = 8,
              m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0, static sm_first = 0x841e208,
              m_next = 0x88b230, static sm_classTable = 0x86bf008}, m_refData = 0x91f1878}, m_visible = false,
          static ms_classInfo = {m_className = 0x58694c "wxGDIObject", m_objectSize = 12,
            m_objectConstructor = 0x431e60 , m_baseInfo1 = 0x88b1f4,
            m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0, static sm_classTable = 0x86bf008}},
        static ms_classInfo = {m_className = 0x586cf7 "wxRegion", m_objectSize = 12,
          m_objectConstructor = 0x435b70 , m_baseInfo1 = 0x6278b8, m_baseInfo2 = 0x0,
          static sm_first = 0x841e208, m_next = 0x627a20, static sm_classTable = 0x86bf008}},
      m_paintClippingRegion = { = { = {_vptr.wxObject = 0x60e648, static ms_classInfo = {
              m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
              m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
            m_refData = 0x9935fe8}, m_visible = false, static ms_classInfo = {m_className = 0x58694c "wxGDIObject",
            m_objectSize = 12, m_objectConstructor = 0x431e60 ,
            m_baseInfo1 = 0x88b1f4, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x6278d0,
            static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x586cf7 "wxRegion",
          m_objectSize = 12, m_objectConstructor = 0x435b70 , m_baseInfo1 = 0x6278b8,
          m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x627a20, static sm_classTable = 0x86bf008}},
      m_context = 0x86cb550, m_layout = 0x935c6f0, m_fontdesc = 0x9cdbd10, static ms_classInfo = {
        m_className = 0x58621e "wxWindowDC", m_objectSize = 304,
        m_objectConstructor = 0x4230a8 , m_baseInfo1 = 0x6277c0, m_baseInfo2 = 0x0,
        static sm_first = 0x841e208, m_next = 0x62785c, static sm_classTable = 0x86bf008}}, static ms_classInfo = {
      m_className = 0x586233 "wxClientDC", m_objectSize = 304,
      m_objectConstructor = 0x42b606 , m_baseInfo1 = 0x6277d8, m_baseInfo2 = 0x0,
      static sm_first = 0x841e208, m_next = 0x6277f0, static sm_classTable = 0x86bf008}}, static ms_classInfo = {
    m_className = 0x586229 "wxPaintDC", m_objectSize = 304,
    m_objectConstructor = 0x42b15a , m_baseInfo1 = 0x627808, m_baseInfo2 = 0x0,
    static sm_first = 0x841e208, m_next = 0x6277d8, static sm_classTable = 0x86bf008}}
        dev_x = 0
        dev_y = 0
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: Bad news. Client corruption
« Reply #2 on: September 08, 2004, 01:45:46 PM »

Last one, and maybe the most important:
Code: [Select]
#10 0x007a40a4 in wxAppConsole::HandleEvent (this=0x86ce028, handler=0x8eae8d0, func=
      {__pfn = 0x81fdfa8 , __delta = 0}, event=@0xfef9b7e0)
    at src/common/appbase.cpp:305
No locals.
#11 0x008420a1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x8607720, handler=0x8eae8d0, event=@0xfef9b7e0)
    at src/common/event.cpp:1169
        tableId1 = -1
        tableId2 = -1
#12 0x0084102e in wxEventHashTable::HandleEvent (this=0x86076f8, event=@0xfef9b7e0, self=0x8eae8d0)
    at src/common/event.cpp:837
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0x8e73e8c: { = {m_nSize = 2,
    m_nCount = 2, m_pItems = 0x8e74948}, }
        count = 2
        eventType = 10151
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x8e73e88
#13 0x008422b4 in wxEvtHandler::ProcessEvent (this=0x8eae8d0, event=@0xfef9b7e0) at src/common/event.cpp:1231
No locals.
#14 0x004483d8 in wxWindow::GtkSendPaintEvents (this=0x8eae8d0) at src/gtk/window.cpp:4027
        pizza = (GtkPizza *) 0x8e7a9f8
        nc_paint_event = { = { = {_vptr.wxObject = 0x60c7a8, static ms_classInfo = {
        m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
      m_refData = 0x0}, m_eventObject = 0x8eae8d0, m_eventType = 10153, m_timeStamp = 0, m_id = -229,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false,
    static ms_classInfo = {m_className = 0x852a9f "wxEvent", m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0x88b1f4, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b484,
      static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x5841c9 "wxNcPaintEvent",
    m_objectSize = 36, m_objectConstructor = 0x3fe614 , m_baseInfo1 = 0x88b49c,
    m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x626fc4, static sm_classTable = 0x86bf008}}
        paint_event = { = { = {_vptr.wxObject = 0x60c7c8, static ms_classInfo = {
        m_className = 0x84e74d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
        m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b230, static sm_classTable = 0x86bf008},
      m_refData = 0x0}, m_eventObject = 0x8eae8d0, m_eventType = 10151, m_timeStamp = 0, m_id = -229,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false,
    static ms_classInfo = {m_className = 0x852a9f "wxEvent", m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0x88b1f4, m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x88b484,
      static sm_classTable = 0x86bf008}}, static ms_classInfo = {m_className = 0x5841bc "wxPaintEvent",
    m_objectSize = 36, m_objectConstructor = 0x3fe59e , m_baseInfo1 = 0x88b49c,
    m_baseInfo2 = 0x0, static sm_first = 0x841e208, m_next = 0x626fac, static sm_classTable = 0x86bf008}}
#15 0x00440395 in gtk_window_expose_callback (widget=0x8e7a9f8, gdk_event=0xfef9bde0, win=0x8eae8d0)
    at src/gtk/window.cpp:543
        pizza = (GtkPizza *) 0x8e7a9f8
#16 0x05201854 in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x001d9160 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x001ed195 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x001ebf2e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x001ec454 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x052ff3b5 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#22 0x051feb0d in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#23 0x0016b6d3 in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#24 0x0016b7da in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#25 0x051800ae in gtk_container_set_reallocate_redraws () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#26 0x008cc1f3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#27 0x008c8e4a in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x008c9f28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x008ca260 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x008ca8a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#31 0x051fe403 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#32 0x0042f5ee in wxEventLoop::Run (this=0x9095e70) at src/gtk/evtloop.cpp:82
        oldLoop = (wxEventLoop *) 0x0
        exitcode = 4943108
#33 0x004b63db in wxAppBase::MainLoop (this=0x86ce028) at src/common/appcmn.cpp:262
        mainLoop = { = {m_ptr = 0x9095e70}, m_pp = 0x86ce068, m_pOld = 0x0}
#34 0x004b6547 in wxAppBase::OnRun (this=0x86ce028) at src/common/appcmn.cpp:330
No locals.
#35 0x007e669f in wxEntry (argc=@0xfef9c0f0, argv=0xfef9c174) at src/common/init.cpp:410
        callOnExit = {}
        cleanupOnExit = {}
#36 0x082c6c85 in main (argc=1, argv=0xfef9c174) at amule.cpp:175
No locals.
(gdb) frame 8
#8  0x082c305b in CUploadListCtrl::OnDrawItem (this=0x8ead948, item=0, dc=0xfef9b350, rect=@0xfef9b4b0,
    rectHL=@0xfef9b4c0, highlighted=false) at UploadListCtrl.cpp:451
451                                             Sbuffer = client->GetClientVerString();
(gdb) l
446                                             } else {
447                                                     Sbuffer = wxT("?");
448                                             }
449                                             break;
450                                             case 2:
451                                             Sbuffer = client->GetClientVerString();
452                                             break;
453                                     case 3:
454                                             // lagloose
455                                             if (client->GetDownloadState() == DS_DOWNLOADING) {
(gdb) p *client
$1 = {MagicNumber1 = 137672072, credits = 0x0, m_Friend = 0x9b41f00, compressiongain = 1, notcompressed = 1,
  m_bAddNextConnect = false, sourcesslot = -850198016, m_A4AF_list = {
    _M_t = {, std::allocator > >> = {, std::allocator >, true>> = {
          _M_header = 0xfa530002}, }, _M_node_count = 0,
      _M_key_compare = {> = {}, }}}, m_reqfile = 0x886c28, m_bIsBotuser = false, m_dwUserIP = 0, m_dwServerIP = 2497000192, m_nUserID = 0,
  m_nUserPort = 0, m_nServerPort = 0, m_nClientVersion = 0, m_cSendblock = 2682585233, m_byEmuleVersion = 0 '\0',
  m_byDataCompVer = 0 '\0', m_SoftLen = 0 '\0', m_bEmuleProtocol = false, m_Username = { = {
      static npos = 4294967195, m_pchData = 0x0}, }, m_FullUserIP = { = {
      static npos = 4294967195, m_pchData = 0x0}, }, m_UserHash = {
    m_hash = "ë\027\000\000À\027´\t\000\000\000\000\001 %O"}, m_HasValidHash = 15, m_nUDPPort = 0,
  m_byUDPVer = 112 'p', m_bySourceExchangeVer = 94 '^', m_byAcceptCommentVer = 201 'É',
  m_byExtendedRequestsVer = 221 'Ý', m_cFailed = 0 '\0', m_clientSoft = 145 '\221', m_dwLastSourceRequest = 0,
  m_dwLastSourceAnswer = 1046347776, m_dwLastAskedForSources = 1652512957, m_iFileListRequested = 0,
  m_bFriendSlot = false, m_bCommentDirty = false, m_bIsHybrid = false, m_bIsNewMLD = false, m_bIsML = false,
  m_bSupportsPreview = false, m_bPreviewReqPending = false, m_bPreviewAnsPending = false, m_nKadPort = 0,
  m_bMultiPacket = false, m_SafelyDeleted = false, m_socket = 0x0, m_fNeedOurPublicIP = false,
  m_SecureIdentState = 436207616, m_byInfopacketsReceived = 96 '`', m_dwLastSignatureIP = 157011808,
  m_bySupportSecIdent = 1 '\001', m_byCompatibleClient = 0, m_WaitingPackets_list = {> = {
      head = 0x0, tail = 0x0, count = -426933248}, }, m_lastRefreshedDLDisplay = 3720961648,
  kBpsUp = -2.87329792e+09, msSentPrev = 141759720, m_nTransferedUp = 164649808, m_nUploadState = 192 'À',
  m_dwUploadTime = 4011761419, m_nMaxSendAllowed = 17, m_cAsked = 162799328, m_dwLastUpRequest = 15493064,
  m_bUsedComprUp = 204, m_nCurSessionUp = 33, m_nUpPartCount = 0, m_requpfileid = {
    m_hash = '\0' }, m_nUpCompleteSourcesCount = 0, MagicNumber3 = 0,
  m_abyUpPartStatus = 0x82e64b01
, MagicNumber4 = 81, m_lastPartAsked = 58504,
  m_dwEnteredConnectedState = 15492865, m_strModVersion = { = {static npos = 4294967195,
      m_pchData = 0xffffffff
}, },
  m_BlockSend_queue = {> = {head = 0x0, tail = 0x9a720b8, count = 7}, },
  m_BlockRequests_queue = {> = {head = 0x10000,
      tail = 0x58c2c451, count = 600000}, },
  m_DoneBlocks_list = {> = {head = 0x8, tail = 0x0,
      count = 0}, }, m_bRemoteQueueFull = false, usedcompressiondown = false,
  m_nDownloadState = 0 '\0', m_nPartCount = 0, m_cDownAsked = 162799104, m_dwLastAskedTime = 162799104,
  ClientFilename = { = {static npos = 4294967195,
      m_pchData = 0x9b41e00 "\210µ4\b"}, }, m_nTransferedDown = 162799104,
  m_bTransferredDownMini = 80, m_dwDownStartTime = 17, m_nLastBlockOffset = 4294967295, m_cShowDR = 65535,
  m_dwLastBlockReceived = 2376378548, m_nRemoteQueueRank = 17, m_nOldRemoteQueueRank = 0, m_bCompleteSource = 224,
  m_bReaskPending = 136, m_bUDPPending = 209, m_bHashsetRequested = 9,
  m_PendingBlocks_list = {> = {head = 0xec0038,
      tail = 0xd583417b, count = 17}, },
  m_DownloadBlocks_list = {> = {head = 0x60d190,
      tail = 0x0, count = 162558720}, }, kBpsDown = 4.62428493e-44,
  fDownAvgFilter = 1.33123354e-43, msReceivedPrev = 58113, bytesReceivedCycle = 0, m_byChatstate = 0 '\0',
  m_strComment = { = {static npos = 4294967195, m_pchData = 0x0}, },
  m_iRate = 0 '\0', m_fHashsetRequesting = 0, m_fNoViewSharedFiles = 1, m_fSupportsPreview = 1,
  m_fSentCancelTransfer = 1, m_fSharedDirectories = 0, m_bHelloAnswerPending = 208, Extended_aMule_SO = 9 '\t',
  m_abyPartStatus = 0x9d0ce06 "\0207úÚ]!\0161\231Q £²V±oSÉ\b\002ÁÖ!\006", m_Aggressiveness = 25,
  m_LastFileRequest = 15466752, m_ValidSource = 56, m_old_Username = { = {static npos = 4294967195,
      m_pchData = 0x0}, }, m_old_ModVersion = { = {static npos = 4294967195,
      m_pchData = 0x0}, }, m_bGPLEvildoer = 24, m_bHasBeenGPLEvildoer = false,
  m_clientVerString = { = {static npos = 4294967195, m_pchData = 0x11 ""}, },
  SecIdentSupRec = 164661208, MagicNumber2 = 0}
(gdb) l 354
349             dc->SetBrush(dc->GetBackground());
350             dc->DrawRectangle(rectHL);
351             dc->SetPen(*wxTRANSPARENT_PEN);
352
353             // then stuff from original amule
354             CUpDownClient* client = (CUpDownClient*)GetItemData(item);//lpDrawItemStruct->itemData;
355             //CMemDC dc(CDC::FromHandle(lpDrawItemStruct->hDC),&CRect(lpDrawItemStruct->rcItem));
356             //dc.SelectObject(GetFont());
357             //COLORREF crOldTextColor = dc->GetTextColor();
358             //COLORREF crOldBkColor = dc->GetBkColor();
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: Bad news. Client corruption
« Reply #3 on: September 08, 2004, 01:50:58 PM »

Or something much more simple: A dangling pointer.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Bad news. Client corruption
« Reply #4 on: September 08, 2004, 04:15:06 PM »

I vote for the corruption and I vote to kill the one that introduced it :evil:
Logged