aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash di amule all'avvio  (Read 3605 times)

dybart

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Crash di amule all'avvio
« on: June 01, 2004, 10:01:18 AM »

Ciao a tutti, ho compilato amule e dopo averlo utilizzato tranquillamente per tutto ieri ho provato a riavviarlo stamattina ma dopo l'avvio va in crash con questo output:


Initialising aMule
Config:
x1: 0 y1: 0 x2: 1012 y2: 681
split read, found : 227
srv_split read, found : 340
Server listening on port 4712.
 
*** TCP socket at 4662
*** UDP socket at 4665  (chat)
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /home/dybart/.aMule/Temp/*.part.met.
Loading 003.part.met... Done.
Loading 002.part.met... Done.
Loading 005.part.met... Done.
Loading 004.part.met... Done.
Loading 001.part.met... Sharing /home/dybart/.aMule/Temp/001.part
Done.
Loading 006.part.met... Done.
Loading 007.part.met... Done.
Sharing /home/dybart/.aMule/Temp/002.part.met
Sharing /home/dybart/.aMule/Temp/003.part.met
Sharing /home/dybart/.aMule/Temp/005.part.met
completing->PerformFileComplete(NULL); !!!
 
OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--
 
  • amule(_ZN9CamuleApp16OnFatalExceptionEv+0x5c) [0x81fee14]
  • [1] /usr/lib/libwx_gtk-2.4.so(wxFatalSignalHandler+0x2b)
[0x403c2c6b]
[2] /lib/tls/libpthread.so.0 [0x40a3d218]
[3] amule(_ZN9CPartFile19PerformFileCompleteEv+0xaa) [0x8186448]
[4] amule(_ZN16completingThread5EntryEv+0x3f) [0x8186379]
[5] /usr/lib/libwx_gtk-2.4.so(_ZN16wxThreadInternal12PthreadStartEP8wxThread+0x13f) [0x403be78f]
[6] /usr/lib/libwx_gtk-2.4.so(wxPthreadStart+0x1c) [0x403be63c]
[7] /lib/tls/libpthread.so.0 [0x40a367d3]
[8] /lib/tls/libc.so.6(__clone+0x5a) [0x40b2bb4a]
Aborted



Qualcuno sa dirmi qualcosa in più, sono un utente lnux abbastanza inespertto e non sono riuscito a capirci molto... Grazie per l'attenzione....
Logged

Forever trusting who we are
and nothing else matters....

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: Crash di amule all'avvio
« Reply #1 on: June 01, 2004, 08:21:03 PM »

Queste informazioni servono purtroppo a poco, leggi il link qui sotto per sapere come ottenere maggiori informazioni sulla causa del problema.

http://www.amule.org/amule/thread.php?threadid=298&sid=
Logged

dybart

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Crash di amule all'avvio
« Reply #2 on: June 02, 2004, 02:15:02 PM »

grazie per la dritta...
Ho provato a ricompilarlo come scritto nel tread che mi hai postato ed ecco tutti gli output...

Dopo aver dato 'run':

 Starting program: /home/dybart/amule/bin/amule
[Thread debugging using libthread_db enabled]
[New Thread 1086147072 (LWP 7971)]
Initialising aMule
Config:
x1: 0 y1: 0 x2: 1012 y2: 681
split read, found : 227
srv_split read, found : 340
[New Thread 1095703472 (LWP 7974)]
Server listening on port 4712.
 
*** TCP socket at 4662
*** UDP socket at 4665  (chat)
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /home/dybart/.aMule/Temp/*.part.met.
Loading 003.part.met... Done.
Loading 002.part.met... Done.
Loading 005.part.met... Done.
Loading 004.part.met... Done.
Loading 001.part.met... Done.
Loading 006.part.met... Done.
Loading 007.part.met... Done.
Sharing /home/dybart/.aMule/Temp/002.part.met
Sharing /home/dybart/.aMule/Temp/003.part.met
Sharing /home/dybart/.aMule/Temp/005.part.met
Sharing /home/dybart/.aMule/Temp/001.part
[New Thread 1104096176 (LWP 7975)]
completing->PerformFileComplete(NULL); !!!
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1104096176 (LWP 7975)]
0x081fdc1c in CamuleApp::StripInvalidFilenameChars(wxString, bool)
    (this=0x853dfa8, strText=, bKeepSpaces=true)
    at amule.cpp:679
679             *pszDest = '\0';


Quindi ho richiamato il comando bt:

#0  0x081fdc1c in CamuleApp::StripInvalidFilenameChars(wxString, bool) (this=0x853dfa8, strText=, bKeepSpaces=true)
    at amule.cpp:679
#1  0x081864e8 in CPartFile::PerformFileComplete() (this=0x8703140)
    at PartFile.cpp:1891
#2  0x08186419 in completingThread::Entry() (this=0x87180f0)
    at PartFile.cpp:1849
#3  0x403bf78f in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_gtk-2.4.so
#4  0x403bf63c in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so
#5  0x40a377d3 in start_thread () from /lib/tls/libpthread.so.0
#6  0x40b2cb4a in clone () from /lib/tls/libc.so.6


e bt  full:

Code: [Select]
#0  0x081fdc1c in CamuleApp::StripInvalidFilenameChars(wxString, bool) (this=0x853dfa8, strText=, bKeepSpaces=true)
    at amule.cpp:679
        pszBuffer = 0x4043c364 ""
        pszSource = 0x4043c364 ""
        pszDest = 0x4043c364 ""
#1  0x081864e8 in CPartFile::PerformFileComplete() (this=0x8703140)
    at PartFile.cpp:1891
        sLock =
        partfilename = 0x8708678 "/home/dybart/.aMule/Temp/001.part"        newfilename = 0x85c9e50 ""
        newname = 0x0
        indir = {<> = {}, }
tmp_filehash = {
  m_hash = "\030\205q\b", '\0' }
        renamed = false
        BAKName = {<> = {}, }
#2  0x08186419 in completingThread::Entry() (this=0x87180f0)
    at PartFile.cpp:1849
No locals.
#3  0x403bf78f in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#4  0x403bf63c in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#5  0x40a377d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
tmp_filehash = {
  m_hash = "\030\205q\b", '\0' }
        renamed = false
        BAKName = {<> = {}, }
#2  0x08186419 in completingThread::Entry() (this=0x87180f0)
    at PartFile.cpp:1849
No locals.
#3  0x403bf78f in wxThreadInternal::PthreadStart(wxThread*) ()
   from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#4  0x403bf63c in wxPthreadStart () from /usr/lib/libwx_gtk-2.4.so
No symbol table info available.
#5  0x40a377d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
---Type to continue, or q to quit---
#6  0x40b2cb4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Spero di aver annesso tutto ora, grazie di nuovo per l'attenzione
Logged

Forever trusting who we are
and nothing else matters....

dybart

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35
Re: Crash di amule all'avvio
« Reply #3 on: June 03, 2004, 06:21:20 PM »

DeltaHF mi ha dato la soluzione in questo post:
http://www.amule.org/amule/thread.php?goto=lastpost&threadid=2452&sid=

Mi scuso per aver ripetuto due volte lo stesso tread ma mi sono acorto poi che c'era una sezione proprioper i BT...
Comunque per completezza vi dico che la per evitare il crash bastava elimiinare il file 001.part come mi è stato suggerito....
grazie a tutti per l'attenzione!
Logged

Forever trusting who we are
and nothing else matters....