[Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup

Marc Coll marc.coll.carrillo at gmail.com
Mon May 26 18:02:41 UTC 2014


Package: amule-daemon
Version: 2.3.1-11
Severity: normal
File: /usr/bin/amuled

Dear Maintainer,

Sometimes amule daemon crashes on system startup. It doesn't seem to be
following any kind of patterm,
it just crashes randomly from time to time. But when I start it again it works
fine. This is the error message
I get on the console:

[....] Starting aMule daemon: amuled
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
http://wiki.amule.org/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS:
|=----------------------------
Current version is: aMuleD 2.3.1 compiled with wxGTK2 v2.8.12
Running on: Linux 3.12-1-amd64 x86_64
[2] wxStringData::Unlock() in /usr/bin/amuled[0x43199f]
[3] wxFatalSignalHandler in /usr/lib/x86_64-linux-
gnu/libwx_baseu-2.8.so.0[0x7f731113e9fc]
[4] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7f7312551890]
[5] CryptoPP::RandomPool::~RandomPool() in /usr/bin/amuled[0x5602cf]
[6] CryptoPP::RandomPool::~RandomPool() in /usr/bin/amuled[0x5614ee]
[7] CryptoPP::RandomPool::~RandomPool() in /usr/bin/amuled[0x5667d0]
[8] wxStringData::Unlock() in /usr/bin/amuled[0x4340d0]
[9] wxStringData::Unlock() in /usr/bin/amuled[0x43acb8]
[10] ?? in /usr/bin/amuled[0x430c70]
[11] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-
gnu/libwx_baseu-2.8.so.0[0x7f73110e8f6c]
[12] ?? in /usr/bin/amuled[0x42a042]
[13] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7f73104a7b45]
[14] ?? in /usr/bin/amuled[0x42ed0b]
--------------------------------------------------------------------------------
Aborted
[FAIL] startpar: service(s) returned failure: amule-daemon ... failed!



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amule-daemon depends on:
ii  amule-common    2.3.1-11
ii  libc6           2.18-7
ii  libcrypto++9    5.6.1-6
ii  libgcc1         1:4.9.0-4
ii  libpng12-0      1.2.50-1
ii  libreadline6    6.3-6
ii  libstdc++6      4.9.0-4
ii  libupnp6        1:1.6.17-1.2
ii  libwxbase2.8-0  2.8.12.1+dfsg2-1
ii  zlib1g          1:1.2.8.dfsg-1

Versions of packages amule-daemon recommends:
ii  amule-utils  2.3.1-11
ii  unzip        6.0-12

amule-daemon suggests no packages.

-- Configuration Files:
/etc/default/amule-daemon changed:
AMULED_USER="amule"
AMULED_HOME="/home/amule"

/etc/init.d/amule-daemon changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
PROGNAME=amuled
DESC="aMule daemon"
PKGNAME="amule-daemon"
DAEMON=/usr/bin/amuled
SCRIPTNAME=/etc/init.d/$PKGNAME
WRAPPER=/usr/share/amule/amuled_home_wrapper.sh
[ -x "$DAEMON" ] || exit 0
[ -r /etc/default/$PKGNAME ] && . /etc/default/$PKGNAME
.. /lib/init/vars.sh # has VERBOSE
.. /lib/lsb/init-functions
if [ -z "$AMULED_USER" ]; then
    log_warning_msg \
	"Not starting $DESC, AMULED_USER not set in /etc/default/$PKGNAME."
    exit 0
fi
do_start()
{
	/etc/cron.hourly/amuleconf
	# Return
	#   0 if daemon has been started
	#   1 if daemon was already running
	#   2 if daemon could not be started
	start-stop-daemon --start --quiet --exec $DAEMON --user "$AMULED_USER" --chuid "$AMULED_USER" --test >/dev/null || return 1
	start-stop-daemon --start --quiet --exec $WRAPPER --user "$AMULED_USER" --chuid "$AMULED_USER" -N 10 -I idle >/dev/null || return 2
}
do_stop()
{
	# Return
	#   0 if daemon has been stopped
	#   1 if daemon was already stopped
	#   2 if daemon could not be stopped
	start-stop-daemon --stop --quiet --retry="TERM/30/KILL/5" --exec $DAEMON --user "$AMULED_USER" --chuid "$AMULED_USER" 
	RET="$?"
	/etc/cron.hourly/amuleconf
	return $RET
}
case "$1" in
  start)
	log_daemon_msg "Starting $DESC" "$PROGNAME"
	do_start
	case "$?" in
		0) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
		1) [ "$VERBOSE" != no ] && \
			log_progress_msg "(already running)" && log_end_msg 0 ;;
		2) [ "$VERBOSE" != no ] && log_end_msg 1; exit 1 ;;
	esac
	;;
  stop)
	log_daemon_msg "Stopping $DESC" "$PROGNAME"
	do_stop
	case "$?" in
		0 | 1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
		2)     [ "$VERBOSE" != no ] && log_end_msg 1; exit 1 ;;
	esac
	;;
  restart|force-reload)
	log_daemon_msg "Restarting $DESC" "$PROGNAME"
	do_stop
	case "$?" in
	  0 | 1)
		do_start
		case "$?" in
			0) log_end_msg 0 ;;
			1) log_end_msg 1; exit 1 ;; # Old process is still running
			*) log_end_msg 1; exit 1 ;; # Failed to start
		esac
		;;
	  *)
	  	# Failed to stop
		log_end_msg 1
		exit 1
		;;
	esac
	;;
  *)
	echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
	exit 3
	;;
esac
exit 0


-- no debconf information



More information about the Pkg-amule-devel mailing list