aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: current cvs, wx-cvs  (Read 1844 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
current cvs, wx-cvs
« on: October 09, 2004, 11:27:53 PM »

Looks like wx-cvs bug, but i have no time to report it, maybe someone can point a wx-dev to here? I will save the core file for a while.

Code: [Select]
(gdb) bt
#0  0x002d87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x00ee4e49 in raise () from /lib/tls/libc.so.6
#2  0x00ee6872 in abort () from /lib/tls/libc.so.6
#3  0x007748bc in wxFatalSignalHandler () at src/unix/utilsunx.cpp:979
#4  
#5  0x0073f1ba in wxStringData::IsShared (this=0x123) at string.h:212
#6  0x00739b1f in wxStringBase::AllocBeforeWrite (this=0xac98664, nLen=13) at src/common/string.cpp:291
#7  0x0073b587 in wxStringBase::AssignCopy (this=0xac98664, nSrcLen=13, pszSrcData=0x830140e "eDonkeyHybrid")
    at src/common/string.cpp:813
#8  0x0073b512 in wxStringBase::operator= (this=0xac98664, psz=0x830140e "eDonkeyHybrid")
    at src/common/string.cpp:800
#9  0x00740cbb in wxString::operator= (this=0xac98664, psz=0x830140e "eDonkeyHybrid") at string.h:860
#10 0x08143d78 in CUpDownClient::ReGetClientSoft (this=0xac984a0) at BaseClient.cpp:1706
#11 0x0813edd0 in CUpDownClient::ProcessHelloTypePacket (this=0xac984a0, data=@0xfef5a5c0) at BaseClient.cpp:657
#12 0x0813d9d8 in CUpDownClient::ProcessHelloPacket (this=0xac984a0,
    pachPacket=0xaaaa998 "\020x-^dÛ\0166Åòæ¸\022\220)oM\030èÞÎ6\022\006", nSize=97) at BaseClient.cpp:359
#13 0x081234ab in CClientReqSocket::ProcessPacket (this=0xac8dc90,
    packet=0xaaaa998 "\020x-^dÛ\0166Åòæ¸\022\220)oM\030èÞÎ6\022\006", size=97, opcode=1 '\001')
    at ListenSocket.cpp:255
#14 0x0812d46f in CClientReqSocket::PacketReceived (this=0xac8dc90, packet=0xaaeefc8) at ListenSocket.cpp:1995
#15 0x0813316b in CEMSocket::OnReceive (this=0xac8dc90, nErrorCode=0) at EMSocket.cpp:265
#16 0x0812d68c in CClientReqSocket::OnReceive (this=0xac8dc90, nErrorCode=0) at ListenSocket.cpp:2026
#17 0x0812d7ca in CClientReqSocketHandler::ClientReqSocketHandler (this=0xabdb0e8, event=@0xaaeef98)
    at ListenSocket.cpp:2113
#18 0x006cf830 in wxAppConsole::HandleEvent (this=0x95822d0, handler=0xabdb0e8, func=
      {__pfn = 0x812d716 , __delta = 0},
    event=@0xaaeef98) at src/common/appbase.cpp:305
#19 0x0076e8b1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x83ac9e0, handler=0xabdb0e8, event=@0xaaeef98)
    at src/common/event.cpp:1169
#20 0x0076d83e in wxEventHashTable::HandleEvent (this=0x83ac9b8, event=@0xaaeef98, self=0xabdb0e8)
    at src/common/event.cpp:837
#21 0x0076eac4 in wxEvtHandler::ProcessEvent (this=0xabdb0e8, event=@0xaaeef98) at src/common/event.cpp:1231
#22 0x0076e785 in wxEvtHandler::ProcessPendingEvents (this=0xabdb0e8) at src/common/event.cpp:1122
#23 0x006cf796 in wxAppConsole::ProcessPendingEvents (this=0x95822d0) at src/common/appbase.cpp:278
#24 0x004b9deb in wxAppBase::OnIdle (this=0x95822d0) at src/common/appcmn.cpp:458
#25 0x006cf830 in wxAppConsole::HandleEvent (this=0x95822d0, handler=0x95822d0, func=
      {__pfn = 0x4b9dc4 , __delta = 0}, event=@0xfef5aef0)
    at src/common/appbase.cpp:305
#26 0x0076e8b1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x62d660, handler=0x95822d0, event=@0xfef5aef0)
    at src/common/event.cpp:1169
#27 0x0076d83e in wxEventHashTable::HandleEvent (this=0x8597d40, event=@0xfef5aef0, self=0x95822d0)
    at src/common/event.cpp:837
#28 0x0076eac4 in wxEvtHandler::ProcessEvent (this=0x95822d0, event=@0xfef5aef0) at src/common/event.cpp:1231
#29 0x004b9c63 in wxAppBase::ProcessIdle (this=0x95822d0) at src/common/appcmn.cpp:412
#30 0x00416a5d in wxapp_idle_callback () at src/gtk/app.cpp:256
#31 0x007e01f3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#32 0x007dce4a in g_main_depth () from /usr/lib/libglib-2.0.so.0
#33 0x007ddf28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x007de260 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x007de8a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#36 0x06041c33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x0043295a in wxEventLoop::Run (this=0x9fb2548) at src/gtk/evtloop.cpp:83
#38 0x004b9865 in wxAppBase::MainLoop (this=0x95822d0) at src/common/appcmn.cpp:272
#39 0x004b99d1 in wxAppBase::OnRun (this=0x95822d0) at src/common/appcmn.cpp:340
#40 0x00712477 in wxEntry (argc=@0xfef5b1c0, argv=0xfef5b244) at src/common/init.cpp:410
#41 0x0829efad in main (argc=1, argv=0xfef5b244) at amule.cpp:180
(gdb) bt full
#0  0x002d87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00ee4e49 in raise () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x00ee6872 in abort () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x007748bc in wxFatalSignalHandler () at src/unix/utilsunx.cpp:979
No locals.
#4  
No symbol table info available.
#5  0x0073f1ba in wxStringData::IsShared (this=0x123) at string.h:212
No locals.
#6  0x00739b1f in wxStringBase::AllocBeforeWrite (this=0xac98664, nLen=13) at src/common/string.cpp:291
        pData = (wxStringData *) 0x123
#7  0x0073b587 in wxStringBase::AssignCopy (this=0xac98664, nSrcLen=13, pszSrcData=0x830140e "eDonkeyHybrid")
    at src/common/string.cpp:813
No locals.
#8  0x0073b512 in wxStringBase::operator= (this=0xac98664, psz=0x830140e "eDonkeyHybrid")
    at src/common/string.cpp:800
No locals.
#9  0x00740cbb in wxString::operator= (this=0xac98664, psz=0x830140e "eDonkeyHybrid") at string.h:860
No locals.
#10 0x08143d78 in CUpDownClient::ReGetClientSoft (this=0xac984a0) at BaseClient.cpp:1706
        nClientMajVersion = 1792
        nClientMinVersion = 658
        nClientUpVersion = 48
        iHashType = 54
        nClientMinVersion = 1793
#11 0x0813edd0 in CUpDownClient::ProcessHelloTypePacket (this=0xac984a0, data=@0xfef5a5c0) at BaseClient.cpp:657
        dwEmuleTags = 7
        pFoundCredits = (CClientCredits *) 0xacb00b8
        bIsMule = false
#12 0x0813d9d8 in CUpDownClient::ProcessHelloPacket (this=0xac984a0,
    pachPacket=0xaaaa998 "\020x-^dÛ\0166Åòæ¸\022\220)oM\030èÞÎ6\022\006", nSize=97) at BaseClient.cpp:359
        data = { = { = {_vptr.CFile = 0x832c068, m_fd = -1, m_error = false,
      fFilePath = { = {static npos = 4294967195, m_pchData = 0x77c194 ""}, }},
    m_GrowBytes = 0, m_position = 97, m_BufferSize = 97, m_FileSize = 97, m_delete = false,
    m_buffer = 0xaaaa998 "\020x-^dÛ\0166Åòæ¸\022\220)oM\030èÞÎ6\022\006"}, = {
    _vptr.CFileDataIO = 0x832c0dc}, }
        hashsize = 16 '\020'
#13 0x081234ab in CClientReqSocket::ProcessPacket (this=0xac8dc90,
    packet=0xaaaa998 "\020x-^dÛ\0166Åòæ¸\022\220)oM\030èÞÎ6\022\006", size=97, opcode=1 '\001')
    at ListenSocket.cpp:255
        bNewClient = true
        bIsMuleHello = false
#14 0x0812d46f in CClientReqSocket::PacketReceived (this=0xac8dc90, packet=0xaaeefc8) at ListenSocket.cpp:1995
        bResult = 8
        uRawSize = 97
#15 0x0813316b in CEMSocket::OnReceive (this=0xac8dc90, nErrorCode=0) at EMSocket.cpp:265
        bPacketResult = 9
        toCopy = 97
        GlobalReadBuffer = "ã5\000\000\000\001\020ô6'0\027\016\236|4\023cw°\bo:Tzö\b6\022\002\000\000\000\002\001\000\001\005\000Maick\003\001\000\021<\000\000\000Ãõôó5\022\022\000\000\003\001\000ú\0362\023\004\003\001\000û\200¬\000\000>ñ5\017\222\020\000\000C\022ÅR.\026MLDKêSþAÞn\237µ.u»fÇÛ\020\201q\221F­Ü ['×\000¸\024æ\034\006záwTk\212þ¼÷Zü,çxÿòU¡\037oüad\036ß\234À\032±zË\232ö÷¦Ý/§p\237ñÇ?\002¯\177tJOJm\232Ô0\220\032¢¢\034ªqÞuÑ\031ÌÕù0ÈÐ\230¿g"...
        readMax = 2000000
        ret = 103
        rptr = 0x83acae7 ".u»fÇÛ\020\201q\221F­Ü ['×"
        rend = 0x83acae7 ".u»fÇÛ\020\201q\221F­Ü ['×"
#16 0x0812d68c in CClientReqSocket::OnReceive (this=0xac8dc90, nErrorCode=0) at ListenSocket.cpp:2026
No locals.
#17 0x0812d7ca in CClientReqSocketHandler::ClientReqSocketHandler (this=0xabdb0e8, event=@0xaaeef98)
    at ListenSocket.cpp:2113
No locals.
#18 0x006cf830 in wxAppConsole::HandleEvent (this=0x95822d0, handler=0xabdb0e8, func=
      {__pfn = 0x812d716 , __delta = 0},
    event=@0xaaeef98) at src/common/appbase.cpp:305
No locals.
#19 0x0076e8b1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x83ac9e0, handler=0xabdb0e8, event=@0xaaeef98)
    at src/common/event.cpp:1169
        tableId1 = 6123
        tableId2 = -1
#20 0x0076d83e in wxEventHashTable::HandleEvent (this=0x83ac9b8, event=@0xaaeef98, self=0xabdb0e8)
    at src/common/event.cpp:837
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0xa0c303c: { = {m_nSize = 1,
    m_nCount = 1, m_pItems = 0xa0ef620}, }
        count = 1
        eventType = 10002
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0xa0c3038
#21 0x0076eac4 in wxEvtHandler::ProcessEvent (this=0xabdb0e8, event=@0xaaeef98) at src/common/event.cpp:1231
No locals.
#22 0x0076e785 in wxEvtHandler::ProcessPendingEvents (this=0xabdb0e8) at src/common/event.cpp:1122
        event = (wxEvent *) 0xaaeef98
        node = (class wxObjectListNode *) 0xaaeefc8
#23 0x006cf796 in wxAppConsole::ProcessPendingEvents (this=0x95822d0) at src/common/appbase.cpp:278
        handler = (wxEvtHandler *) 0xabdb0e8
        node = (class wxObjectListNode *) 0xadbdd70
#24 0x004b9deb in wxAppBase::OnIdle (this=0x95822d0) at src/common/appcmn.cpp:458
No locals.
#25 0x006cf830 in wxAppConsole::HandleEvent (this=0x95822d0, handler=0x95822d0, func=
      {__pfn = 0x4b9dc4 , __delta = 0}, event=@0xfef5aef0)
    at src/common/appbase.cpp:305
No locals.
#26 0x0076e8b1 in wxEvtHandler::ProcessEventIfMatches (entry=@0x62d660, handler=0x95822d0, event=@0xfef5aef0)
    at src/common/event.cpp:1169
        tableId1 = -1
        tableId2 = -1
#27 0x0076d83e in wxEventHashTable::HandleEvent (this=0x8597d40, event=@0xfef5aef0, self=0x95822d0)
    at src/common/event.cpp:837
        n = 0
        eventEntryTable = (const wxEventTableEntryPointerArray &) @0x9e3662c: { = {m_nSize = 1,
    m_nCount = 1, m_pItems = 0x9e36698}, }
        count = 1
        eventType = 10001
        eTTnode = (wxEventHashTable::EventTypeTable * const) 0x9e36628
#28 0x0076eac4 in wxEvtHandler::ProcessEvent (this=0x95822d0, event=@0xfef5aef0) at src/common/event.cpp:1231
No locals.
#29 0x004b9c63 in wxAppBase::ProcessIdle (this=0x95822d0) at src/common/appcmn.cpp:412
        event = { = { = {_vptr.wxObject = 0x611e68, static ms_classInfo = {
        m_className = 0x77b00d "wxObject", m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0,
        m_baseInfo2 = 0x0, static sm_first = 0x83aca10, m_next = 0x7b85b0, static sm_classTable = 0x9572008},
      m_refData = 0x0}, m_eventObject = 0x95822d0, m_eventType = 10001, m_timeStamp = 0, m_id = 0,
    m_callbackUserData = 0x0, m_propagationLevel = 0, m_skipped = false, m_isCommandEvent = false,
    static ms_classInfo = {m_className = 0x77f447 "wxEvent", m_objectSize = 36, m_objectConstructor = 0,
      m_baseInfo1 = 0x7b8574, m_baseInfo2 = 0x0, static sm_first = 0x83aca10, m_next = 0x7b8804,
      static sm_classTable = 0x9572008}}, m_requestMore = false, static sm_idleMode = wxIDLE_PROCESS_ALL,
  static ms_classInfo = {m_className = 0x589850 "wxIdleEvent", m_objectSize = 36,
    m_objectConstructor = 0x400d18 , m_baseInfo1 = 0x7b881c, m_baseInfo2 = 0x0,
    static sm_first = 0x83aca10, m_next = 0x62d600, static sm_classTable = 0x9572008}}
        needMore = false
        node = (class wxWindowListNode *) 0x0
#30 0x00416a5d in wxapp_idle_callback () at src/gtk/app.cpp:256
No locals.
#31 0x007e01f3 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#32 0x007dce4a in g_main_depth () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#33 0x007ddf28 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#34 0x007de260 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#35 0x007de8a3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#36 0x06041c33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#37 0x0043295a in wxEventLoop::Run (this=0x9fb2548) at src/gtk/evtloop.cpp:83
        oldLoop = (wxEventLoop *) 0x0
        exitcode = 4956558
#38 0x004b9865 in wxAppBase::MainLoop (this=0x95822d0) at src/common/appcmn.cpp:272
        mainLoop = { = {m_ptr = 0x9fb2548}, m_pp = 0x9582310, m_pOld = 0x0}
#39 0x004b99d1 in wxAppBase::OnRun (this=0x95822d0) at src/common/appcmn.cpp:340
No locals.
#40 0x00712477 in wxEntry (argc=@0xfef5b1c0, argv=0xfef5b244) at src/common/init.cpp:410
        callOnExit = {}
        cleanupOnExit = {}
#41 0x0829efad in main (argc=1, argv=0xfef5b244) at amule.cpp:180
No locals.
Logged

lfroen

  • Guest
Re: current cvs, wx-cvs
« Reply #1 on: October 10, 2004, 10:47:38 AM »

Quote
#5  0x0073f1ba in wxStringData::IsShared (this=0x123) at string.h:212

0x123 looks like some magic number to me. Memory corruption maybe ?
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: current cvs, wx-cvs
« Reply #2 on: October 10, 2004, 03:59:47 PM »

lfroen,

maybe it is a magic number, i don't know. This is deep inside wx. This is certainly memory corruption, but i cant figure out whose fault is.

Cheers!
Logged