Debian Bug report logs - #749391
/usr/bin/amuled: amule daemon crashes sometimes during startup

version graph

Package: amule-daemon; Maintainer for amule-daemon is Sandro Tosi <morph@debian.org>; Source for amule-daemon is src:amule (PTS, buildd, popcon).

Reported by: Marc Coll <marc.coll.carrillo@gmail.com>

Date: Mon, 26 May 2014 18:04:00 UTC

Severity: normal

Found in version amule/2.3.1-11

Forwarded to http://bugs.amule.org/view.php?id=1732

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Mon, 26 May 2014 18:04:05 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Coll <marc.coll.carrillo@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Mon, 26 May 2014 18:04:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marc Coll <marc.coll.carrillo@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Mon, 26 May 2014 20:02:41 +0200
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



Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Mon, 26 May 2014 22:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Mon, 26 May 2014 22:45:05 GMT) (full text, mbox, link).


Message #10 received at 749391@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: Marc Coll <marc.coll.carrillo@gmail.com>, 749391@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Tue, 27 May 2014 00:41:41 +0200
Hello Marc,

On Mon, May 26, 2014 at 8:02 PM, Marc Coll <marc.coll.carrillo@gmail.com> wrote:

> 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:


sadly this error by itself is not helpful to debug it. Could you
please install amule-dbg and run amuled into gdb and - when the crash
happens - issue these commands:

bt
bt full
thread apply all bt

?

Thanks,
Sandro



Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Thu, 12 Jun 2014 18:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Coll <marc.coll.carrillo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Thu, 12 Jun 2014 18:27:04 GMT) (full text, mbox, link).


Message #15 received at 749391@bugs.debian.org (full text, mbox, reply):

From: Marc Coll <marc.coll.carrillo@gmail.com>
To: Sandro Tosi <morph@debian.org>, 749391@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Thu, 12 Jun 2014 20:23:27 +0200
Hello. I installed the amule-dbg package as you suggested, and today it
has crashed again. Perphaps this will be more helpful:


----------------------------=| 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] CamuleApp::OnFatalException() in amule.cpp:1021
[3] wxFatalSignalHandler in
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0[0x7fa567cb49fc]
[4] ?? in /lib/x86_64-linux-gnu/libpthread.so.0[0x7fa5690c7890]
[5] CUPnPService::Execute(std::string const&,
std::vector<CUPnPArgumentValue, std::allocator<CUPnPArgumentValue> > const&)
const in stl_tree.h:1803
[6] std::_Rb_tree_iterator<std::pair<std::string const, CUPnPService*>
>::operator++() in stl_tree.h:189
[7] CUPnPControlPoint::AddPortMappings(std::vector<CUPnPPortMapping,
std::allocator<CUPnPPortMapping> >&) in UPnPBase.cpp:968
[8] ~wxStringBase in string.h:396
[9] CamuleApp::OnInit() in amule.cpp:519
[10] CamuleDaemonApp::OnInit() in amuled.cpp:612
[11] wxEntry(int&, wchar_t**) in
/usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0[0x7fa567c5ef6c]
[12] main in amuled.cpp:118
[13] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7fa56701db45]
[14] ?? in /usr/bin/amuled[0x42ed0b]
--------------------------------------------------------------------------------
Aborted
[FAIL] startpar: service(s) returned failure: amule-daemon ... failed!



> Hello Marc,
>
> On Mon, May 26, 2014 at 8:02 PM, Marc Coll <marc.coll.carrillo@gmail.com> wrote:
>
>> 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:
>
> sadly this error by itself is not helpful to debug it. Could you
> please install amule-dbg and run amuled into gdb and - when the crash
> happens - issue these commands:
>
> bt
> bt full
> thread apply all bt
>
> ?
>
> Thanks,
> Sandro
>




Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Sat, 14 Jun 2014 08:21:08 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Sat, 14 Jun 2014 08:21:08 GMT) (full text, mbox, link).


Message #20 received at 749391@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: Marc Coll <marc.coll.carrillo@gmail.com>
Cc: 749391@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Sat, 14 Jun 2014 10:20:14 +0200
Hello Marc,


On Thu, Jun 12, 2014 at 8:23 PM, Marc Coll <marc.coll.carrillo@gmail.com> wrote:
> Hello. I installed the amule-dbg package as you suggested, and today it
> has crashed again. Perphaps this will be more helpful:

it is not :(

>> sadly this error by itself is not helpful to debug it. Could you
>> please install amule-dbg and run amuled into gdb and - when the crash
>> happens - issue these commands:
>>
>> bt
>> bt full
>> thread apply all bt

as said in the first reply, you have to run amuled with gdb ($ gdb
amuled ; run), else the amule-dbg symbols won't be loaded.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Sat, 14 Jun 2014 14:21:15 GMT) (full text, mbox, link).


Acknowledgement sent to Marc Coll <marc.coll.carrillo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Sat, 14 Jun 2014 14:21:15 GMT) (full text, mbox, link).


Message #25 received at 749391@bugs.debian.org (full text, mbox, reply):

From: Marc Coll <marc.coll.carrillo@gmail.com>
To: Sandro Tosi <morph@debian.org>
Cc: 749391@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Sat, 14 Jun 2014 16:18:51 +0200
I have already tried runing it with gdb, but the error doesn't show up.
It only crashes from time to time.

> Hello Marc,
>
>
> On Thu, Jun 12, 2014 at 8:23 PM, Marc Coll <marc.coll.carrillo@gmail.com> wrote:
>> Hello. I installed the amule-dbg package as you suggested, and today it
>> has crashed again. Perphaps this will be more helpful:
> it is not :(
>
>>> sadly this error by itself is not helpful to debug it. Could you
>>> please install amule-dbg and run amuled into gdb and - when the crash
>>> happens - issue these commands:
>>>
>>> bt
>>> bt full
>>> thread apply all bt
> as said in the first reply, you have to run amuled with gdb ($ gdb
> amuled ; run), else the amule-dbg symbols won't be loaded.
>
> Regards,




Information forwarded to debian-bugs-dist@lists.debian.org, Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>:
Bug#749391; Package amule-daemon. (Sat, 14 Jun 2014 20:39:05 GMT) (full text, mbox, link).


Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian aMule Team <pkg-amule-devel@lists.alioth.debian.org>. (Sat, 14 Jun 2014 20:39:05 GMT) (full text, mbox, link).


Message #30 received at 749391@bugs.debian.org (full text, mbox, reply):

From: Sandro Tosi <morph@debian.org>
To: Marc Coll <marc.coll.carrillo@gmail.com>
Cc: 749391@bugs.debian.org
Subject: Re: [Pkg-amule-devel] Bug#749391: /usr/bin/amuled: amule daemon crashes sometimes during startup
Date: Sat, 14 Jun 2014 22:37:03 +0200
> I have already tried runing it with gdb, but the error doesn't show up.
> It only crashes from time to time.

Then I suggest to run amuled every time in gdb and wait for it to
crash: without the gdb tracebacks we don't have enough information to
work on it.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



Set Bug forwarded-to-address to 'http://bugs.amule.org/view.php?id=1732'. Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Sun, 07 Sep 2014 14:45:18 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 07:13:17 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.