aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Bus error (SIGBUS)  (Read 2435 times)

thesen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Bus error (SIGBUS)
« 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.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: Bus error (SIGBUS)
« Reply #1 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...
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Bus error (SIGBUS)
« Reply #2 on: June 05, 2005, 08:20:03 PM »

Interesting. Which ARCH? x86?
Logged

thesen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Bus error (SIGBUS)
« Reply #3 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Bus error (SIGBUS)
« Reply #4 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 ....
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."

thesen

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: Bus error (SIGBUS)
« Reply #5 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.
« Last Edit: June 08, 2005, 12:01:33 AM by thesen »
Logged