aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled 2.3.1 crashing shortly after startup  (Read 3983 times)

levinas69

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
amuled 2.3.1 crashing shortly after startup
« on: May 15, 2012, 08:49:16 PM »

Hi,

My Amuled is crashing 10 to 20 seconds after startup.  Startup proceeds normally and hits "amuled: OnInit - starting timer."  Anywhere between five and thirty seconds after that, amuled crashes out.

I am running aMuleD 2.3.1 compiled with wxGTK2 v2.8.12 on FreeBSD 8.2-STABLE-201105 amd64.

I have tried cleaning out the part files and running with pristine configuration files.  Amuled dumps core but the crash report simply says "no backtrace for your platform." 

Any suggestions?  Anyone else having this issue or one like it?

Thanks!


Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amuled 2.3.1 crashing shortly after startup
« Reply #1 on: May 16, 2012, 06:53:03 PM »

Could you compile it with debug option and run it in gdb ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

levinas69

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: amuled 2.3.1 crashing shortly after startup
« Reply #2 on: May 17, 2012, 03:43:49 PM »

Ok,  it'll take me a couple of days to get round to that.

Thanks Stu for all the hard work.

Cheers!
lev.
Logged

levinas69

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: amuled 2.3.1 crashing shortly after startup
« Reply #3 on: May 17, 2012, 03:54:19 PM »

Sorry for my complete ignorance, but when I recompile amule and look at the compile option, there seems to be no "enable debugging" option on the list.

Am I missing something.  Again, this is amuled on FreeBSD, if that helps.

Thanks,
j.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amuled 2.3.1 crashing shortly after startup
« Reply #4 on: May 17, 2012, 04:46:04 PM »

You have to ./configure with --enable-debug , see http://wiki.amule.org/index.php/Backtraces
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

levinas69

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: amuled 2.3.1 crashing shortly after startup
« Reply #5 on: May 18, 2012, 05:08:42 PM »

Thanks Stu ... no ./configure in the BSD port so I'll edit the Makefile and recompile.

Here is the output from GDB.

Code: [Select]
GNU gdb 6.1.1 [FreeBSD]
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `amuled'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libwx_baseu_net-2.8.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libwx_baseu_net-2.8.so.0
Reading symbols from /usr/local/lib/libwx_baseu-2.8.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libwx_baseu-2.8.so.0
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000080138efbc in thr_kill () from /lib/libc.so.7
[New Thread 80180ac80 (LWP 100323/amuled)]
[New Thread 80180aac0 (LWP 100324/amuled)]
[New Thread 8018fc1c0 (LWP 100189/amuled)]
[New Thread 8018fc380 (LWP 100168/amuled)]
[New Thread 8018041c0 (LWP 100232/initial thread)]

I'll post the backtrace as soon as I have it. 

Thanks again,
lev.
Logged

levinas69

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 9
Re: amuled 2.3.1 crashing shortly after startup
« Reply #6 on: May 19, 2012, 04:05:04 PM »

Interestingly, I compiled amule-devel in the FreeBSD ports tree.  It is SVN10771.  It runs just fine with no crashes.  Whatever is disturbing 2.3.1_3 is fixed in SVN10771.

I'll still try to get the backtrace to you.

Best,
lev.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amuled 2.3.1 crashing shortly after startup
« Reply #7 on: May 19, 2012, 06:01:58 PM »

Hmm. Have you tried to run the crashing 2.3.1 again?
There is an uncaught exception regarding a damaged statistics.dat in 2.3.1 which is fixed in SVN.
You mentioned "running with pristine configuration files" so I ruled this out first.
Now that you have run SVN the file should be ok again.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

ricagno

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: amuled 2.3.1 crashing shortly after startup
« Reply #8 on: May 20, 2012, 05:17:27 PM »

I have the same problem . I'm usin Leopard
Logged

ricagno

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: amuled 2.3.1 crashing shortly after startup
« Reply #9 on: May 20, 2012, 05:22:03 PM »

I have the same problem . I'm usin Leopard
I 'm using version  of the web , compiled by you . I haven't the knowledge to do more .
Thanks
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3764
  • Engines screaming
Re: amuled 2.3.1 crashing shortly after startup
« Reply #10 on: May 20, 2012, 10:29:58 PM »

Delete "statistics.dat" from aMule's config folder.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon