aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched  (Read 3697 times)

Master

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« on: April 23, 2004, 05:20:11 AM »

Hi,
I thought that something was wrong with amule. I found out that sometimes it crashes unexpectedly. So, I run it from the console and this is the output.

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

  • ./amule(_ZN9CamuleApp16OnFatalExceptionEv+0x47) [0x8243927]
  • [1] /usr/lib/libwx_gtk-2.4.so(wxFatalSignalHandler+0x33)
[0x403ead23]
[2] /lib/libpthread.so.0 [0x409f1d69]
[3] /lib/libc.so.6 [0x40a5fb78]
[4] ./amule(_ZN10CKnownFile18CreateHashFromFileEP5CFileiPh+0x37) [0x81f67e7]
[5] ./amule(_ZN9CPartFile14HashSinglePartEt+0x1ad) [0x81f170d]
[6] ./amule(_ZN9CPartFile11FlushBufferEv+0x50c) [0x81f3a7c]
[7] ./amule(_ZN9CPartFile7ProcessEjh+0x99a) [0x81ef20a]
[8] ./amule(_ZN14CDownloadQueue7ProcessEv+0x24a) [0x8179b3a]
[9] ./amule(_Z9TimerProcv+0x81) [0x823ee71]
[10] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xc2) [0x402ef0c0]
[11] /usr/lib/libwx_gtk-2.4.so(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x89) [0x402eeeed]
[12] /usr/lib/libwx_gtk-2.4.so(_ZN11wxTimerBase6NotifyEv+0x62) [0x4039ed70]
[13] /usr/lib/libwx_gtk-2.4.so(timeout_callback+0x33) [0x4029e129]
[14] /usr/lib/libglib-1.2.so.0 [0x406ae2b1]
Aborted

As you know I am using Gentoo, but I have installed amule and all the neseccary files according to the instructions that I found on this web page.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #1 on: April 23, 2004, 09:04:00 AM »

It would be great if we had the backtrace for that, because it would be a new bug... but without gdb, I can't fix it :/
Logged

Master

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #2 on: April 23, 2004, 04:25:11 PM »

Since it is going to crash again, what do you want me to do? I have never used gdb, so give me directions....
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #4 on: April 24, 2004, 04:30:12 AM »

Post it in the backtraces forum ( http://www.amule-project.net/amule/board.php?boardid=33&sid= ) and link both threads (this one and the backtrace's one) by referencing each other (I mean, post here the url of the backtrace post on the backtrace forum, and on the backtrace forum's thread paste the url of this thread ;-) )

lol, this shows how messy I acn become explaining myself!

I hope you understood me (if that's at all possible)
Thanx!
Logged

Master

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #5 on: April 24, 2004, 06:28:50 PM »

Do not worry, I did understand you :)

As soon as it crashes I will post everywhere the backtrace, so that you can't miss it :D
Logged

Chadda

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #6 on: April 26, 2004, 07:09:30 PM »

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

  • amule(_ZN9CamuleApp16OnFatalExceptionEv+0x3f) [0x81b2ecb]
  • [1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d)
[0x403ca96d]
[2] [0xffffe420]
[3] amule(_ZN13CUpDownClient17CalculateKBpsDownEv+0x18f) [0x80d51eb]
[4] amule(_ZN9CPartFile7ProcessEjh+0x1a8) [0x81593f2]
[5] amule(_ZN14CDownloadQueue7ProcessEv+0x11f) [0x80e2ab5]
[6] amule(_Z9TimerProcv+0x64) [0x81ae2da]
[7] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler16SearchEventTableER12wxEventTa
bleR7wxEvent+0xb7) [0x402e0667]
[8] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x83)  
[0x402e0483]
[9] /usr/lib/libwx_gtk-2.4.so.0(_ZN11wxTimerBase6NotifyEv+0x87) [0x40383997]
[10] /usr/lib/libwx_gtk-2.4.so.0(timeout_callback+0x2d) [0x40290e6d]
[11] /usr/lib/libglib-1.2.so.0 [0x4064dec4]
[12] /usr/lib/libglib-1.2.so.0 [0x4064d03d]
[13] /usr/lib/libglib-1.2.so.0 [0x4064d4f4]
[14] /usr/lib/libglib-1.2.so.0(g_main_run+0x34) [0x4064d724]
[15] /usr/lib/libgtk-1.2.so.0(gtk_main+0xb7) [0x40573c3f]
[16] /usr/lib/libwx_gtk-2.4.so.0(_ZN5wxApp8MainLoopEv+0x19) [0x4023fa79]
[17] /usr/lib/libwx_gtk-2.4.so.0(_ZN9wxAppBase5OnRunEv+0x17) [0x402a0a47]
[18] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x25b) [0x402401db]
[19] /lib/tls/libc.so.6(__libc_start_main+0x108) [0x40fb67b8]
Aborted


erm.. same problem as me?
But've I got amule by apt-get using debian, so I don't have the source to compile it with debug mode to post the backtracks  :P I hope you can post it for us two. thx
-- perhaps its a bug with the gentoo and debian packages?
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #7 on: April 26, 2004, 10:39:20 PM »

is not the same bug.
Logged

Master

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 93
Re: OOPS! - Seems like aMule crashed 2.0.0_rc2--patched
« Reply #8 on: April 27, 2004, 03:48:33 AM »

I do not know what happened.
The icon of amule disappeared from the systray, but the taskmananager shows that amule is running.
Here is what gdb says

[New Thread 32771 (LWP 1622)]
completing->PerformFileComplete(blahblahblah); !!!
8D3773E247341F0470A43FA43AB1D765: Suspending uploads of file.
8D3773E247341F0470A43FA43AB1D765: Removed user 'pontiopoul'
8D3773E247341F0470A43FA43AB1D765: ReQueued user 'pontiopoul'
8D3773E247341F0470A43FA43AB1D765: Removed user 'http://emule-project.net'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 1622)]
0x0828c556 in CUploadQueue::GetWaitingPosition(CUpDownClient*) (this=0x87677d0,
    client=0x888a360) at UploadQueue.cpp:554
554     UploadQueue.cpp: No such file or directory.
        in UploadQueue.cpp

This is what bt gives:
#0  0x0828c556 in CUploadQueue::GetWaitingPosition(CUpDownClient*) (this=0x87677d0,
    client=0x888a360) at UploadQueue.cpp:554
#1  0x08285353 in CUpDownClient::SendRankingInfo() (this=0x888a360)
    at UploadClient.cpp:684
#2  0x0828c8b2 in CUploadQueue::SuspendUpload(CFileHash const&) (this=0x87677d0,
    filehash=@0x4158b9a4) at UploadQueue.cpp:614
#3  0x0822aa96 in CPartFile::PerformFileComplete() (this=0x87fcae0)
    at PartFile.cpp:2515
#4  0x0822a33f in completingThread::Entry() (this=0x8838008) at PartFile.cpp:2437
#5  0x403e68bf in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_gtk-2.4.so
#6  0x403e6747 in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so
#7  0x409ecdc7 in pthread_start_thread () from /lib/libpthread.so.0
#8  0x409ecf56 in pthread_start_thread_event () from /lib/libpthread.so.0
#9  0x40b07a2a in clone () from /lib/libc.so.6


and this for bt full
#0  0x0828c556 in CUploadQueue::GetWaitingPosition(CUpDownClient*) (this=0x87677d0,
    client=0x888a360) at UploadQueue.cpp:554
        pos = 0x20
        rank = 1
        myscore = 2837
#1  0x08285353 in CUpDownClient::SendRankingInfo() (this=0x888a360)
    at UploadClient.cpp:684
        nRank = 2099
        data = { = {_vptr.CFile = 0x40b09a11, m_fd = 1085642048,
    m_error = 50, fFilePath = }, fBuffer = 0x8b4fab8 "\003\200",
  fLength = 142835728, fGrowBytes = 1096333388, fPosition = 135710308,
  fBufferSize = 12, fFileSize = 144981232, deleteBuffer = 1096333420}
        packet = (Packet *) 0xc
#2  0x0828c8b2 in CUploadQueue::SuspendUpload(CFileHash const&) (this=0x87677d0,
    filehash=@0x4158b9a4) at UploadQueue.cpp:614
        potential = (CUpDownClient *) 0x888a360
        base16hash = {<> = {}, }
        pos = 0x898f3f8
#3  0x0822aa96 in CPartFile::PerformFileComplete() (this=0x87fcae0)
    at PartFile.cpp:2515
        completed_errno = 0 '\0'
        sLock =
        partfilename = 0x894ba58 "/mnt/Movies/amule/Temp/003.part"
        newfilename = 0x8cb82d0 "blahblahblah"
        newname = 0x88ea068 "/mnt/Movies/amule/Incoming/blahblahblah"
        indir = {<> = {}, }
        tmp_filehash = {m_hash = "\2157s?G4\037\004p???:±?e"}
        BAKName = {<> = {}, }
#4  0x0822a33f in completingThread::Entry() (this=0x8838008) at PartFile.cpp:2437
No locals.
#5  0x403e68bf in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#6  0x403e6747 in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#7  0x409ecdc7 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x409ecf56 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
#9  0x40b07a2a in clone () from /lib/libc.so.6
No symbol table info available.

I do not know if this is usefull to you guys. If I did not it do right, tell me what I did wrong.
I know that amule crashes in Gentoo when you leave amule in the trasfer tab. That is why I am carefull not to do so. So, I am almost certain that it did not crash because of that
Logged