amule crashed with SIGSEGV

Bug #190362 reported by ahfuji
10
Affects Status Importance Assigned to Milestone
AMule
Fix Released
Unknown
amule (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: amule

~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

$ dpkg -l amule | cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=========================================-==========================================-================================================
ii amule 2.1.3-4ubuntu2 client for the eD2k and Kad networks, like eMule

amule couldn't connect any servers. so, tried to get server lists, but it crushed suddenly.

ProblemType: Crash
Architecture: i386
Date: Sat Feb 9 11:33:40 2008
Disassembly: 0xb746d9a9:
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/amule
Package: amule 2.1.3-4ubuntu2
PackageArchitecture: i386
ProcCmdline: amule
ProcCwd: /home/ahf
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: amule
Stacktrace:
 #0 0xb746d9a9 in ?? ()
 #1 0x04e00235 in ?? ()
 #2 0xb16fdd54 in ?? ()
 #3 0x000000c0 in ?? ()
 #4 0x00000000 in ?? ()
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
ThreadStacktrace:

Title: amule crashed with SIGSEGV
Uname: Linux azure 2.6.24-7-generic #1 SMP Thu Feb 7 01:29:58 UTC 2008 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev scanner video

Revision history for this message
ahfuji (ahfuji) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
?? ()
?? ()
?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. If you can reproduce this, please try to obtain a backtrace following the instructions at [WWW] http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in amule:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
ahfuji (ahfuji) wrote :

Thank you for your message. I'm sorry for this late response. I make the backtrace following the instructions at https://wiki.ubuntu.com/Backtrace. The backtrace file is attached in this message. According to the file, "Segmentation fault" occurs when amule tries to retrieve a server list. I think this is the bug I encounterd.
I hope this report is helpful.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you, this is a lot better than the first one, but not perfect. Do you have amule-dbgsym installed ? If not, you can get it by following the procedure descirbed in http://wiki.ubuntu.com/DebuggingProgramCrash . Thank you.

Revision history for this message
ahfuji (ahfuji) wrote :

Oops, sorry. I forgot to install the package. After installing amule-dbgsym, I remake the backtrace, which is attached in this message. Thank you for your kind response.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you, this is far better but I think we could still improve this a bit. Could you please install libxcb1-dbg and libx11-6-dbg then rerun the backtrace ? Thank you very much.

Revision history for this message
ahfuji (ahfuji) wrote :

Thank you for your message. I remake the backtrace after installing libxcb1-dbg and libx11-6-dbg as you instructed. I hope you can find the crucial point of this bug this time. Good luck!

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you, I forwarded this upstream.

Changed in amule:
status: Incomplete → Triaged
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I've just uploaded aMule 2.2.0 CVS, can you please try with it once it hits the repositories and report back? If it fails, please get a new backtrace with the debugging symbols for the new package.

Thanks!

Changed in amule:
status: Triaged → Incomplete
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Oh great Emilio, upstream just asked to test with the svn version ! It seems much more mature.

Revision history for this message
ahfuji (ahfuji) wrote :

Thank you, guys! I update and run amule to see how it works.
When I run amule as root, it works well, meaning connections to severs are established.
The console output is attached as follows.

---(beginning of console output)---

$ sudo amule&
[1] 9583

$ Initialising aMule
Checking if there is an instance already running...
No other instances are running.

--------------------------------------------------
Warning! You are running aMule as root.
Doing so is not recommended for security reasons,
and you are advised to run aMule as an normal
user instead.
--------------------------------------------------

Loading temp files from /home/ahf/.aMule/Temp.

All PartFiles Loaded.
ListenSocket: Ok.

External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
No shareable files found in directory: /home/ahf/.aMule/Incoming
HTTP download thread started
Host: gruk.org:80
URL: http://gruk.org/server.met.gz
Response: 200 (Error: 0)
Download size: 4159
HTTP download thread ended
HTTP download thread started
Host: emule-inside.net:80
URL: http://emule-inside.net/nodes.dat
Response: 301 (Error: 0)
Host: www.emule-inside.net:80
URL: http://www.emule-inside.net/files/nodes.dat
Response: 200 (Error: 0)
Download size: 5004
HTTP download thread ended

---(end of console output)---

Thank you. However, I run as a non-administrative normal user, the following output is obtained and the program ends immediately. (I do this because the console output says running amule as root is not recommended as you know.)

---(beginning of console output)---

$ amule
Initialising aMule
Checking if there is an instance already running...
There is an instance of aMule already running
Raising current running instance.

---(end of console output)---

I don't know why amule fails to be launched. What should I do to launch it as an normal user?

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

afujihara: this looks like a different issue, could you please open a new bug about it ? Thank you.

I'm marking this bug as fixed.

Changed in amule:
status: Incomplete → Fix Released
Changed in amule:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.