aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule crashed  (Read 3791 times)

garung

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
aMule crashed
« on: May 17, 2004, 02:14:58 PM »

--== BACKTRACE FOLLOWS: ==--

[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x42) [0x81fcec2]
[1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d) [0x403c196d]
[2] /lib/libpthread.so.0 [0x40fcc825]
[3] /lib/libc.so.6 [0x4103b658]
[4] amule(_ZN13CUpDownClient12TryToConnectEb+0x79) [0x80bca49]
[5] amule(_ZN13CUpDownClient14AskForDownloadEv+0x94) [0x80e1174]
[6] amule(_ZN9CPartFile7ProcessEjh+0x6d8) [0x818fcf8]
[7] amule(_ZN14CDownloadQueue7ProcessEv+0x2aa) [0x80f45ea]
[8] amule(_Z9TimerProcv+0x78) [0x81f6d48]
[9] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xb7) [0x402d7667]
[10] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x83) [0x402d7483]
[11] /usr/lib/libwx_gtk-2.4.so.0(_ZN11wxTimerBase6NotifyEv+0x87) [0x4037a997]
[12] /usr/lib/libwx_gtk-2.4.so.0(timeout_callback+0x2d) [0x40287e6d]
[13] /usr/lib/libglib-1.2.so.0 [0x40644ec4]
[14] /usr/lib/libglib-1.2.so.0 [0x4064403d]
[15] /usr/lib/libglib-1.2.so.0 [0x406444f4]
[16] /usr/lib/libglib-1.2.so.0(g_main_run+0x34) [0x40644724]
[17] /usr/lib/libgtk-1.2.so.0(gtk_main+0xb7) [0x4056ac3f]
[18] /usr/lib/libwx_gtk-2.4.so.0(_ZN5wxApp8MainLoopEv+0x19) [0x40236a79]
[19] /usr/lib/libwx_gtk-2.4.so.0(_ZN9wxAppBase5OnRunEv+0x17) [0x40297a47]
[20] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x25b) [0x402371db]
[21] amule(main+0x1b) [0x81f822b]
[22] /lib/libc.so.6(__libc_start_main+0xc6) [0x41027dc6]
[23] amule(_ZN18wxBaseArrayPtrVoidD2Ev+0x31) [0x80a7161]
Aborted
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule crashed
« Reply #1 on: May 17, 2004, 06:18:59 PM »

hey

this backtrace is not really helpfull for us...
waht did you do? when did it happen?
and if you really want to provide good backtraces please check or backtrace forum and the how to ;)

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

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

kenties

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule crashed
« Reply #2 on: June 08, 2004, 05:44:46 PM »

I have a similar problem.

I'm a debian user and have installed amule with the apt-get-tool... Is there a way to get the binary containing the debugging information or do I have to compile it myself? =)
I've tried to compile amule before but I had huge trouble with wx (since it was installed with apt-get I guess).

At the moment amule (2.0.0rc3) is unusable for me because it crashes usually within 12 or less hours. 1.2.6 worked fine with kde, but I recently got rid of it and now I use xdm only.

Any suggestions?

[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x42) [0x81fcec2]
[1] /usr/lib/libwx_gtk-2.4.so.0(wxFatalSignalHandler+0x2d) [0x403c696d]
[2] /lib/libpthread.so.0 [0x40f9d825]
[3] /lib/libc.so.6 [0x4100c658]
[4] amule(_ZN13CUpDownClient12TryToConnectEb+0x79) [0x80bca49]
[5] amule(_ZN13CUpDownClient14AskForDownloadEv+0x94) [0x80e1174]
[6] amule(_ZN9CPartFile7ProcessEjh+0x6d8) [0x818fcf8]
[7] amule(_ZN14CDownloadQueue7ProcessEv+0x2aa) [0x80f45ea]
[8] amule(_Z9TimerProcv+0x78) [0x81f6d48]
[9] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler16SearchEventTableER12wxEventTableR7wxEvent+0xb7) [0x402dc667]
[10] /usr/lib/libwx_gtk-2.4.so.0(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0x83) [0x402dc483]
[11] /usr/lib/libwx_gtk-2.4.so.0(_ZN11wxTimerBase6NotifyEv+0x87) [0x4037f997]
[12] /usr/lib/libwx_gtk-2.4.so.0(timeout_callback+0x2d) [0x4028ce6d]
[13] /usr/lib/libglib-1.2.so.0 [0x40649ec4]
[14] /usr/lib/libglib-1.2.so.0 [0x4064903d]
[15] /usr/lib/libglib-1.2.so.0 [0x406494f4]
[16] /usr/lib/libglib-1.2.so.0(g_main_run+0x34) [0x40649724]
[17] /usr/lib/libgtk-1.2.so.0(gtk_main+0xb7) [0x4056fc3f]
[18] /usr/lib/libwx_gtk-2.4.so.0(_ZN5wxApp8MainLoopEv+0x19) [0x4023ba79]
[19] /usr/lib/libwx_gtk-2.4.so.0(_ZN9wxAppBase5OnRunEv+0x17) [0x4029ca47]
[20] /usr/lib/libwx_gtk-2.4.so.0(_Z7wxEntryiPPc+0x25b) [0x4023c1db]
[21] amule(main+0x1b) [0x81f822b]
[22] /lib/libc.so.6(__libc_start_main+0xc6) [0x40ff8dc6]
[23] amule(_ZN18wxBaseArrayPtrVoidD2Ev+0x31) [0x80a7161]
Aborted
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule crashed
« Reply #3 on: June 08, 2004, 07:31:54 PM »

hey

well I don't know why xdm shoudl have a problem with amule1.2.6 --> as long as tehre is a x-windows amule should not care much... just make sure to disable systray ;)

with compilation unter debian make sure you have all the need wx2.4.2 deb packages (dev packages also!! )

make sure you make the link in cryptopp packages so taht amule can be compiled and make use of cryptopp....

and if you have all taht just use teh daily cvs snapshoots from http://amule.hirnriss.net

they are pretty stable and many many bugs are gone ;) its been 1month since last release and we were not sleeping ;)

so trust me CVS is much more stable and that is why we provide those snapshots
 
check out our faq link and see all the help instuctions for amule compilation and also teh debian problems ;)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

kenties

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule crashed
« Reply #4 on: June 09, 2004, 05:34:35 PM »

Ok. I compiled amule (I had previously missed the dev-packages so it was actually pretty easy job..) and ran it with gdb. Here is output:
Code: [Select]
Sharing...
Sharing...
Hashing thread timed out with no aditions - removing thread symbol table info available.
[Thread 16386 (LWP 18415) exited]
Hashing thread ended

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 18412)]
0x080d602d in CClientReqSocket::Safe_Delete (this=0x8a1f390) at ListenSocket.cpp:187
187                     Close();
(gdb) bt
#0  0x080d602d in CClientReqSocket::Safe_Delete (this=0x8a1f390) at ListenSocket.cpp:187
#1  0x080eceea in CUpDownClient::TryToConnect (this=0x8867af0, bIgnoreMaxCon=false) at BaseClient.cpp:1188
#2  0x08114182 in CUpDownClient::AskForDownload (this=0x8867af0) at DownloadClient.cpp:137
#3  0x081cc137 in CPartFile::Process (this=0x86bafe8, reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1700
#4  0x081276dd in CDownloadQueue::Process (this=0x855cf28) at DownloadQueue.cpp:376
#5  0x0823b932 in CamuleApp::OnCoreTimer (this=0x84f70a0) at amule.cpp:1679
#6  0x402de667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
#7  0x402de483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
#8  0x40381997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
#9  0x4028ee6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
#10 0x4064bec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
#11 0x4064b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#12 0x4064b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#13 0x4064b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
#14 0x40571c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#15 0x4023da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
#16 0x4029ea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
#17 0x4023e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
#18 0x08235a7c in main (argc=1, argv=0xbffffb74) at amule.cpp:152

(gdb) bt full
#0  0x080d602d in CClientReqSocket::Safe_Delete (this=0x8a1f390) at ListenSocket.cpp:187
No locals.
#1  0x080eceea in CUpDownClient::TryToConnect (this=0x8867af0, bIgnoreMaxCon=false) at BaseClient.cpp:1188
No locals.
#2  0x08114182 in CUpDownClient::AskForDownload (this=0x8867af0) at DownloadClient.cpp:137
No locals.
#3  0x081cc137 in CPartFile::Process (this=0x86bafe8, reducedownload=0, m_icounter=10 '\n') at PartFile.cpp:1700
        download_state = 7 '\a'
        pos1 = 0x8725588
        pos2 = 0x8842ff0
        old_trans = 0
        cur_src = (CUpDownClient *) 0x8867af0
        dwCurTick = 145057346
#4  0x081276dd in CDownloadQueue::Process (this=0x855cf28) at DownloadQueue.cpp:376
        cur_file = (class CPartFile *) 0x86bafe8
        i = 1
        size = 90
        downspeed = 0
#5  0x0823b932 in CamuleApp::OnCoreTimer (this=0x84f70a0) at amule.cpp:1679
        msPrev1 = 12817391
        msPrev5 = 12816931
        msPrevSave = 12791191
        msCur = 12817501
#6  0x402de667 in wxEvtHandler::SearchEventTable () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#7  0x402de483 in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#8  0x40381997 in wxTimerBase::Notify () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#9  0x4028ee6d in timeout_callback () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#10 0x4064bec4 in g_main_set_poll_func () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#11 0x4064b03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#12 0x4064b4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#13 0x4064b724 in g_main_run () from /usr/lib/libglib-1.2.so.0
No symbol table info available.
#14 0x40571c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0
No symbol table info available.
#15 0x4023da79 in wxApp::MainLoop () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#16 0x4029ea47 in wxAppBase::OnRun () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#17 0x4023e1db in wxEntry () from /usr/lib/libwx_gtk-2.4.so.0
No symbol table info available.
#18 0x08235a7c in main (argc=1, argv=0xbffffb74) at amule.cpp:152
No locals.
What's going on? Safe_Delete?

Quote
Originally posted by stefanero
just make sure to disable systray ;)
:)Btw. How should I exit amule without the systray menu? There is no File (or any other) menu on the gui...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule crashed
« Reply #5 on: June 09, 2004, 06:49:21 PM »

hey

exit amule? hmm what is the X for in ther top right corner?

thnx for the backtrace...well safe delete is a very known bug and its hunting us since a long time now...
but atm nothing can be really done baout it...it comes more or less often...
in current cvs a lot less often tehn in rc3 for example....
I haven't had it in a couple weeks some other people get it once a day...so probably also depends on your linux box

but thnx for the backtrace, btw when you provide a backtrace again it would be good to say which amule version you use or what day from CVS snapshot ;) so we know whats going on :)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

kenties

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: aMule crashed
« Reply #6 on: June 09, 2004, 08:10:50 PM »

Quote
Originally posted by stefanero
exit amule? hmm what is the X for in ther top right corner?

In xdm there's no x in the right top corner. I've looked everywhere but couldn't find it :D
Therefore I assume that it's itended to be done in the application itself (i.e. file|exit).

Now I've been exiting amule (don't have to do that often because it crashes itself) with kill. Nothing wrong with that expect that the servers-field on the Servers List Window doesn't seem to get saved...

Quote
thnx for the backtrace...well safe delete is a very known bug and its hunting us since a long time now...
but atm nothing can be really done baout it...it comes more or less often...
How is it that nothing can be done? And what's wrong with

bool CClientReqSocket::Close()
{
        return wxSocketBase::Close();
}

???
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: aMule crashed
« Reply #7 on: June 09, 2004, 08:39:56 PM »

heh
well ok never tryed xdm ;) so I just asumed it looked like any other thing I knew...  :D

with the safe delete in current CVS there is already a "more safe way" .....

this is a random bug it happens when a packet is dropped and at teh same time the other client disconnects... (or something like taht, this is just a basic explanation, ask Kry for more ;)  )
so amule tryes to delete a packet which is not there anymore...

Kry is trying is best to get rid of it trust me, since we don't like it also....
but it just need time to find a way to avoid taht problem...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

drak0

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule crashed
« Reply #8 on: June 12, 2004, 01:33:08 AM »

I too am running debian unstable (Sid) and using 1.2.6rc3 (from sid) and it crashes very consistantly on me :/  I can't remember the last time it made a whole night or a full day of work with out crashing...  

I'm going to try to move all my shared files to another directory to see if that makes a difference...  *shrug*

I'm not sure how else I can help you track down the bug as I'm not really sure what's causing it.

-Rob

*EDIT*  Err...  I mean version 2.0.0rc3
« Last Edit: June 12, 2004, 01:34:05 AM by drak0 »
Logged

drak0

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: aMule crashed
« Reply #9 on: June 13, 2004, 06:40:15 PM »

Very interesting...

Since I moved all the shared files (read: not sharing) amule hasn't crashed since my last post!

Hrmm - I'm using an nForce2 boards and 2.6.5 kernel and I do have sketchy IDE performance  (and that's where amule puts all the files it downloads).  If I unrar something on the IDE drive, it causes the system to slow down a lot and have hickups - until it's done doing the I/O on the IDE drive.  (My main disk is SCSI and works like a champ).

So, does amule check all the return codes for the IO calls for the shared files?  That might be one reason it was crashing on me - but *shrug*

Anyway, thanks for a great app.

-Rob
Logged