aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050223 amuleweb crash (assert failed)  (Read 4415 times)

alandar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
20050223 amuleweb crash (assert failed)
« on: February 23, 2005, 03:18:11 PM »

amuleweb crashed during autorefresh of Transfer page:
Code: [Select]
src/unix/threadpsx.cpp(102): assert "wxAssertFailure" failed: removing inexisting element in wxArray::Remove [in child thread]And here go backtraces:
Code: [Select]
(gdb) bt
#0  0xb7b061b1 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  0xb7e3996d in ShowAssertDialog (szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0,
    szMsg=0xb7f33200, traits=0x80edf88) at src/common/appbase.cpp:734
#5  0xb7e39301 in wxAppConsole::OnAssert (this=0x80ebda0, file=0xb7f2fbe0, line=102,
    cond=0xb7f2fba0, msg=0xb7f33200) at src/common/appbase.cpp:440
#6  0xb7e39660 in wxOnAssert (szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0, szMsg=0xb7f33200)
    at src/common/appbase.cpp:626
#7  0xb7e395dc in wxAssert (cond=0, szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0,
    szMsg=0xb7f33200) at src/common/appbase.cpp:593
#8  0xb7eef17c in wxArrayThread::Remove (this=0xb7f879a8, Item=0xb7902b20)
    at src/unix/threadpsx.cpp:102
#9  0xb7eed2f1 in ~wxThread (this=0xb7902b20) at src/unix/threadpsx.cpp:1545
#10 0x0808e65e in ~CWCThread (this=0xb7902b20) at WebSocket.cpp:132
#11 0xb7eedc13 in DeleteThread (This=0xb7902b20) at src/unix/threadpsx.cpp:1689
#12 0xb7eed0ff in wxThread::Exit (this=0xb7902b20, status=0x0) at src/unix/threadpsx.cpp:1484
#13 0xb7eeb9c7 in wxThreadInternal::PthreadStart (thread=0xb7902b20) at src/unix/threadpsx.cpp:796
#14 0xb7eeb7ba in wxPthreadStart (ptr=0xb7902b20) at src/unix/threadpsx.cpp:714
#15 0xb7f8ecc4 in pthread_detach () from /lib/libpthread.so.0
#16 0xb7bb9037 in clone () from /lib/libc.so.6
Code: [Select]
(gdb) bt full
#0  0xb7b061b1 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  0xb7e3996d in ShowAssertDialog (szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0,
    szMsg=0xb7f33200, traits=0x80edf88) at src/common/appbase.cpp:734
        s_bNoAsserts = false
        msg = { = {static npos = 4294967295, m_pchData = 0x818b1ac}, }
#5  0xb7e39301 in wxAppConsole::OnAssert (this=0x80ebda0, file=0xb7f2fbe0, line=102,
    cond=0xb7f2fba0, msg=0xb7f33200) at src/common/appbase.cpp:440
No locals.
#6  0xb7e39660 in wxOnAssert (szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0, szMsg=0xb7f33200)
    at src/common/appbase.cpp:626
        s_bInAssert = true
#7  0xb7e395dc in wxAssert (cond=0, szFile=0xb7f2fbe0, nLine=102, szCond=0xb7f2fba0,
    szMsg=0xb7f33200) at src/common/appbase.cpp:593
No locals.
#8  0xb7eef17c in wxArrayThread::Remove (this=0xb7f879a8, Item=0xb7902b20)
    at src/unix/threadpsx.cpp:102
        iIndex = -1
#9  0xb7eed2f1 in ~wxThread (this=0xb7902b20) at src/unix/threadpsx.cpp:1545
No locals.
#10 0x0808e65e in ~CWCThread (this=0xb7902b20) at WebSocket.cpp:132
No locals.
#11 0xb7eedc13 in DeleteThread (This=0xb7902b20) at src/unix/threadpsx.cpp:1689
        locker = {m_isOk = true, m_mutex = @0x80ec4d8}
#12 0xb7eed0ff in wxThread::Exit (this=0xb7902b20, status=0x0) at src/unix/threadpsx.cpp:1484
No locals.
#13 0xb7eeb9c7 in wxThreadInternal::PthreadStart (thread=0xb7902b20) at src/unix/threadpsx.cpp:796
        pthread = (wxThreadInternal *) 0xb7902908
        rc = 0
        dontRunAtAll = false
#14 0xb7eeb7ba in wxPthreadStart (ptr=0xb7902b20) at src/unix/threadpsx.cpp:714
No locals.
#15 0xb7f8ecc4 in pthread_detach () from /lib/libpthread.so.0
No symbol table info available.
#16 0xb7bb9037 in clone () from /lib/libc.so.6
No symbol table info available.
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: 20050223 amuleweb crash (assert failed)
« Reply #1 on: February 25, 2005, 02:50:24 PM »

alandar,

That one is giving me nightmares. ?( Can you try to reproduce with tomorrow tarball?

Thank you for testing! ;)

Cheers!
Logged

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: 20050223 amuleweb crash (assert failed)
« Reply #2 on: February 25, 2005, 06:10:33 PM »

I am not sure but it seems to be a wxWidgets 2.5.3 issue. Try wxWidgets CVS.
By the way aMule 2.0 final shouldn't be released until wxWidgets 2.5.4 is out because of this bugs.

cu
Mr Faber
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: 20050223 amuleweb crash (assert failed)
« Reply #3 on: February 25, 2005, 06:13:04 PM »

Quote
February 24, 2005: wxWidgets 2.5.4 has been released: please the download page. This is a development snapshot; we intend to make one more snapshot release (2.5.5) and then make the stable 2.6 release in March. Please let us have feedback and patches based on your experience on 2.5.4!

I don't think this will block the amule release  :))
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Mr Faber

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 229
Re: 20050223 amuleweb crash (assert failed)
« Reply #4 on: February 25, 2005, 06:20:45 PM »

LOL, that's  great :D

cu
Mr Faber
Logged

alandar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: 20050223 amuleweb crash (assert failed)
« Reply #5 on: February 25, 2005, 11:19:54 PM »

First of all. I'm now running wxWidgets CVS version from 22 or 23 of February.
And I can't reproduce this or any other crash becouse both, amuled and amuleweb, work stable for nearly 3 days :-)
Later I'll try new version of wxWidgets and new amule snapshot.
Now I'm enjoying quite nice transfer speeds :-)
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: 20050223 amuleweb crash (assert failed)
« Reply #6 on: February 26, 2005, 02:40:39 AM »

Yes! 8)

Great news! Thanks guys! ;)
Logged