aMule Forum

English => en_Bugs => Topic started by: thesen on June 05, 2005, 07:17:48 PM

Title: Bus error (SIGBUS)
Post by: thesen on June 05, 2005, 07:17:48 PM
Hi!

I'm under gentoo and the other day I emerged the amule 2.0.1 ebuild from gentoo bug tracker. When it finished downloading and compiling I started amule and it worked just fine. After that I emerged OO.org 1.1.4 and since that moment when I try to start amule I get the message "Bus error".

I don't know how to get a backtrace. I tried using -g as a CFLAG and then using gdb, but it doesn't generate a symbol table.

Any ideas? Thanks in advance.
Title: Re: Bus error (SIGBUS)
Post by: thedude0001 on June 05, 2005, 07:38:49 PM
For Gentoo you can emerge 2.0.1 quite normal from portage, you only need to unmask it in /etc/portage/package.keywords (2.0.2 is on its way). If you want debug information then you should add the debug USE flag to the amule package. Just change these two files:

/etc/portage/package.keywords
Code: [Select]
net-p2p/amule ~x86
/etc/portage/package.use
Code: [Select]
net-p2p/amule debug
and then reemerge amule...
Title: Re: Bus error (SIGBUS)
Post by: Kry on June 05, 2005, 08:20:03 PM
Interesting. Which ARCH? x86?
Title: Re: Bus error (SIGBUS)
Post by: thesen on June 05, 2005, 09:14:37 PM
thedude0001: Thanks for the advice. I've just done that and still can't do a backtrace.

Kry: My arch is x86.

I've been reading about SIGBUS and I found that sometimes it has to do with fonts, not sure about that. I recently installed Kochi-substitute (japanese fonts) and when I updated the font cache (fc-cache -fv) I get a bus error (SIGBUS) with some ghostscript fonts. I moved the ghostscript fonts' folder away and now I can fc-cache, but I have the same error with amule. I uninstalled OO.org and Kochi-substitute to see if that was the problem, but I still get the same message.
Title: Re: Bus error (SIGBUS)
Post by: stefanero on June 06, 2005, 08:34:15 AM
have you tryed to download the tar.gz and compile it yourself?

to find out if its a problem maybe with emerge or ebuild or ....
Title: Re: Bus error (SIGBUS)
Post by: thesen on June 07, 2005, 08:59:40 PM
I didn't try to compile it by myself, so I just did it. First time I ran it, it just crashed the same way (SIGBUS), but when I tried to run it within gdb it went just fine. Weird! Now it seems to work. I'm going to try the ebuild again to see what happens.


Thanks!

EDIT: I've tried the ebuild again and it worked! Since the last time I tried to emerge amule I didn't touch anything, I didn't reboot either....

EDIT2: I know what was the problem: I had no free space on the filesystem. KDE sometimes uses 3Gb or so of temp files, so I deleted the kde-temp folder. I didn't remember before.