aMule Forum

English => Backtraces => Topic started by: alandar on February 21, 2005, 09:09:13 PM

Title: 20050221 amuled crash (assert failed)
Post by: alandar on February 21, 2005, 09:09:13 PM
Ok, I know this was mentioned before, but now I have everything:
Log extract:
Code: [Select]
       -=> Log started: Mon Feb 21 19:44:39 CET 2005                                                
                                                                                                     
08:04:41 PM: Debug: src/unix/threadpsx.cpp(1182): assert "wxAssertFailure" failed: must call wxThread
::Create() first
Backtraces from core file:
Code: [Select]
(gdb) bt
#0  0xb7a361b1 in kill () from /lib/libc.so.6
#1  0xb7f919c1 in pthread_kill () from /lib/libpthread.so.0
#2  0xb7f91ccb in raise () from /lib/libpthread.so.0
#3  0xb7e395a9 in wxTrap () at src/common/appbase.cpp:580
#4  0xb7e3986e in DoShowAssertDialog (msg=@0xbfffea30) at src/common/appbase.cpp:683
#5  0xb7e394e5 in wxAppTraitsBase::ShowAssertDialog (this=0x8441818, msg=@0xbfffea30)
    at src/common/appbase.cpp:529
#6  0xb7e39489 in wxConsoleAppTraitsBase::ShowAssertDialog (this=0x8441818, msg=@0xbfffea30)
    at src/common/appbase.cpp:494
#7  0xb7e399b8 in ShowAssertDialog (szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0,
    szMsg=0xb7f317e0, traits=0x8441818) at src/common/appbase.cpp:746
#8  0xb7e39301 in wxAppConsole::OnAssert (this=0x843ffc0, file=0xb7f2fbe0, line=1182,
    cond=0xb7f2fba0, msg=0xb7f317e0) at src/common/appbase.cpp:440
#9  0xb7e39660 in wxOnAssert (szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0, szMsg=0xb7f317e0)
    at src/common/appbase.cpp:626
#10 0xb7e395dc in wxAssert (cond=0, szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0,
    szMsg=0xb7f317e0) at src/common/appbase.cpp:593
#11 0xb7eec7d9 in wxThread::Run (this=0x8628dc0) at src/unix/threadpsx.cpp:1181
#12 0x080daa93 in CListenSocket::StartListening (this=0x8628d58) at ListenSocket.cpp:2407
#13 0x08156f4d in CamuleApp::ReinitializeNetwork (this=0x843ffc0, msg=0xbfffee10) at amule.cpp:815
#14 0x08156534 in CamuleApp::OnInit (this=0x843ffc0) at amule.cpp:692
#15 0x0815ce4c in wxAppConsole::CallOnInit (this=0x843ffc0) at app.h:87
#16 0xb7e7fff7 in wxEntry (argc=@0xbffff2f0, argv=0x8417450) at src/common/init.cpp:401
#17 0xb7e80147 in wxEntry (argc=@0xbffff2f0, argv=0xbffff334) at src/common/init.cpp:429
#18 0x0815f941 in main (argc=2, argv=0xbffff334) at amuled.cpp:129
Code: [Select]
(gdb) bt full
#0  0xb7a361b1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0xb7f919c1 in pthread_kill () from /lib/libpthread.so.0
No symbol table info available.
#2  0xb7f91ccb in raise () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb7e395a9 in wxTrap () at src/common/appbase.cpp:580
No locals.
#4  0xb7e3986e in DoShowAssertDialog (msg=@0xbfffea30) at src/common/appbase.cpp:683
No locals.
#5  0xb7e394e5 in wxAppTraitsBase::ShowAssertDialog (this=0x8441818, msg=@0xbfffea30)
    at src/common/appbase.cpp:529
No locals.
#6  0xb7e39489 in wxConsoleAppTraitsBase::ShowAssertDialog (this=0x8441818, msg=@0xbfffea30)
    at src/common/appbase.cpp:494
No locals.
#7  0xb7e399b8 in ShowAssertDialog (szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0,
    szMsg=0xb7f317e0, traits=0x8441818) at src/common/appbase.cpp:746
        s_bNoAsserts = false
        msg = { = {static npos = 4294967295, m_pchData = 0x863e614}, }
#8  0xb7e39301 in wxAppConsole::OnAssert (this=0x843ffc0, file=0xb7f2fbe0, line=1182,
    cond=0xb7f2fba0, msg=0xb7f317e0) at src/common/appbase.cpp:440
No locals.
#9  0xb7e39660 in wxOnAssert (szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0, szMsg=0xb7f317e0)
    at src/common/appbase.cpp:626
        s_bInAssert = true
#10 0xb7e395dc in wxAssert (cond=0, szFile=0xb7f2fbe0, nLine=1182, szCond=0xb7f2fba0,
    szMsg=0xb7f317e0) at src/common/appbase.cpp:593
No locals.
#11 0xb7eec7d9 in wxThread::Run (this=0x8628dc0) at src/unix/threadpsx.cpp:1181
        lock = {m_critsect = @0x8628dc8}
#12 0x080daa93 in CListenSocket::StartListening (this=0x8628d58) at ListenSocket.cpp:2407
No locals.
#13 0x08156f4d in CamuleApp::ReinitializeNetwork (this=0x843ffc0, msg=0xbfffee10) at amule.cpp:815
        ok = true
        firstTime = false
        myaddr = { = { = { = { = {
          _vptr.wxObject = 0x81aa528, static ms_classInfo = {m_className = 0xb7f20d60,
            m_objectSize = 8, m_objectConstructor = 0, m_baseInfo1 = 0x0, m_baseInfo2 = 0x0,
            static sm_first = 0x822cec0, m_next = 0xb7f87508, static sm_classTable = 0x8416050},
          m_refData = 0x0}, static ms_classInfo = {m_className = 0xb7db7180, m_objectSize = 12,
          m_objectConstructor = 0, m_baseInfo1 = 0xb7f874cc, m_baseInfo2 = 0x0,
          static sm_first = 0x822cec0, m_next = 0xb7dc0c80, static sm_classTable = 0x8416050},
        m_address = 0x8639610}, static ms_classInfo = {m_className = 0xb7db71c0, m_objectSize = 12,
        m_objectConstructor = 0, m_baseInfo1 = 0xb7dc0c18, m_baseInfo2 = 0x0,
        static sm_first = 0x822cec0, m_next = 0xb7dc0c18, static sm_classTable = 0x8416050}},
    static ms_classInfo = {m_className = 0xb7db7200, m_objectSize = 16,
      m_objectConstructor = 0xb7da8f00 , m_baseInfo1 = 0xb7dc0c30,
      m_baseInfo2 = 0x0, static sm_first = 0x822cec0, m_next = 0xb7dc0c30,
      static sm_classTable = 0x8416050}, m_origHostname = { = {
        static npos = 4294967295, m_pchData = 0xb7f25430}, }}, }
        ip = { = {static npos = 4294967295, m_pchData = 0x8589e64}, }
#14 0x08156534 in CamuleApp::OnInit (this=0x843ffc0) at amule.cpp:692
        cmdline = {m_data = 0x84403c8}
        geometry_enabled = false
        geom_string = { = {static npos = 4294967295,
    m_pchData = 0xb7f25430}, }
        server = { = {static npos = 4294967295,
    m_pchData = 0x8441674}, }
        host = { = {static npos = 4294967295,
    m_pchData = 0x8441614}, }
        IPC = { = {static npos = 4294967295, m_pchData = 0x8441714}, }
        client = (class wxTCPClient *) 0x8440410
        conn = (class wxConnectionBase *) 0x0
        lMulePrefDir = { = {static npos = 4294967295,
    m_pchData = 0x8441adc}, }
        xMulePrefDir = { = {static npos = 4294967295,
    m_pchData = 0x8441b3c}, }
        vfile = { = {_vptr.wxTextBuffer = 0x822cbf8,
    static typeDefault = wxTextFileType_Unix, m_strBufferName = { = {
        static npos = 4294967295, m_pchData = 0x8456144}, },
    m_aTypes = { = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0}, },
    m_aLines = {m_nSize = 0, m_nCount = 0, m_pItems = 0x0, m_autoSort = false}, m_nCurLine = 0,
    m_isOpened = false}, m_file = {m_fd = -1, m_error = false}}
        newMule = { = {static npos = 4294967295,
    m_pchData = 0x845695c}, }
        msg = { = {static npos = 4294967295, m_pchData = 0x863c034}, }
        ok = true
#15 0x0815ce4c in wxAppConsole::CallOnInit (this=0x843ffc0) at app.h:87
No locals.
#16 0xb7e7fff7 in wxEntry (argc=@0xbffff2f0, argv=0x8417450) at src/common/init.cpp:401
        callOnExit = {}
        cleanupOnExit = {}
#17 0xb7e80147 in wxEntry (argc=@0xbffff2f0, argv=0xbffff334) at src/common/init.cpp:429
No locals.
#18 0x0815f941 in main (argc=2, argv=0xbffff334) at amuled.cpp:129
No locals.
This happened 20 minutes after Oops! (http://forum.amule.org/thread.php?threadid=5223&sid=)
Since then it kept crashing on startup. Only remedy I found is restarting computer.
[EDIT]
Correction. killing webserver helped.
Is it possible to prevent amuled from starting amuleweb?
So i could start it manually?
Well, I always can kill it and then start it manually again, but I wonder if there is any other more "civilised" way :)
[/EDIT]
Title: Re: 20050221 amuled crash (assert failed)
Post by: Kry on February 21, 2005, 09:39:43 PM
There's a configure option. Check .eMule file.
Title: Re: 20050221 amuled crash (assert failed)
Post by: phoenix on February 21, 2005, 11:05:16 PM
alandar,

We have been discussing this issue, and we committed a fix, please test it on tomorrow cvs tarball.

Cheers!