[Pkg-amule-devel] Bug#884512: amule-daemon: aMuleD crashes with assertion failed when finishing a large file

acme_pjz acme_pjz at hotmail.com
Sat Dec 16 03:48:52 UTC 2017


Package: amule-daemon
Version: 1:2.3.2-1
Severity: important

Dear Maintainer,

Sometimes aMuleD 2.3.2 crashes with assertion failed error when finishing downloading files.
It looks like that only big files (>=1GB) may cause this problem.
Also, old version (aMuleD 2.3.1) doesn't have this problem.
By the way, the system is Raspbian running at Raspberry Pi 1B with 64GB SD card, no overclocking.

This bug occured several times, here is a log file, and the other log files have the same stack trace with this one:

 2017-12-05 22:36:24: Initialising aMuleD 2.3.2 compiled with wxBase(GTK2) v3.0.2 and Boost 1.61
 2017-12-05 22:36:24: Checking if there is an instance already running...
 2017-12-05 22:36:24: No other instances are running.
 2017-12-05 22:36:32: EC configuration
 2017-12-05 22:36:35: Password set and external connections enabled.
 2017-12-05 22:36:35: Creditfile loaded, 0 clients are known
 2017-12-05 22:36:35: *** TCP socket (ECServer) listening on 0.0.0.0:4712
 2017-12-05 22:36:35: Created Server UDP-Socket at port 29590
 2017-12-05 22:36:35: ListenSocket: Ok.
 2017-12-05 22:36:35: Created Client UDP-Socket at port 29965
 2017-12-05 22:36:35: amuled: forking to background - see you
 2017-12-05 22:36:35: Loading server.met file: /home/pi/.aMule/server.met
!2017-12-05 22:36:35: 11 servers in server.met found
 2017-12-05 22:36:35: Loading temp files from /home/pi/.aMule/Temp.
 2017-12-05 22:36:35: All PartFiles Loaded.
 2017-12-05 22:36:35: No part files found
 2017-12-05 22:36:35: No shareable files found in directory: /home/pi/.aMule/Incoming
 2017-12-05 22:36:35: Found 0 known shared files
 2017-12-05 22:36:35: amuled: OnInit - starting timer
 2017-12-05 22:36:35: Asio thread 1 started
 2017-12-05 22:36:35: Asio thread 2 started
 2017-12-05 22:36:35: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2017-12-05 22:36:35: Asio thread 4 started
 2017-12-05 22:36:35: Asio thread 3 started
 2017-12-05 22:36:35: Loaded 0 IP-ranges from '/home/pi/.aMule/ipfilter.dat'.
 2017-12-05 22:36:35: Loaded 0 IP-ranges from '/home/pi/.aMule/ipfilter_static.dat'.
 2017-12-05 22:36:35: IP filter is ready
!2017-12-05 22:36:35: Connecting
 2017-12-05 22:36:35: Connecting to GrupoTS Server (46.105.126.71 - 46.105.126.71:4661) using protocol obfuscation.
 2017-12-05 22:36:35: Read 110 Kad contacts
!2017-12-05 22:36:35: Kad started.
 2017-12-05 22:36:35: Connected to GrupoTS Server (46.105.126.71:4661)
 2017-12-05 22:36:36: Connecting to LUCK (14.23.162.173 - 14.23.162.173:4122) using protocol obfuscation.
 2017-12-05 22:36:36: Connected to LUCK (14.23.162.173:4122)
!2017-12-05 22:36:37: Connection established on: LUCK
!2017-12-05 22:36:37: Connected to LUCK with HighID
[scrubbed]......
 2017-12-16 03:48:38: Suspending upload of file: [scrubbed]
 2017-12-16 03:48:39: Resuming uploads of file: [scrubbed]
!2017-12-16 03:48:39: Finished downloading: [scrubbed]
Assertion failed: ../../src/CFile.cpp:doSeek:370: Assertion 'Assert failure' failed. ((IsOpened()))
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6955888]
[4] std::deque<unsigned int, std::allocator<unsigned int> >::_M_reallocate_map(unsigned int, bool) in amuled[0x1378c0]
[5] std::deque<unsigned int, std::allocator<unsigned int> >::_M_reallocate_map(unsigned int, bool) in amuled[0x154928]
[6] boost::system::error_category::equivalent(int, boost::system::error_condition const&) const in amuled[0x18989c]
[7] void std::vector<unsigned short, std::allocator<unsigned short> >::_M_emplace_back_aux<unsigned short>(unsigned short&&) in amuled[0x106ab8]
[8] std::vector<unsigned int, std::allocator<unsigned int> >::operator=(std::vector<unsigned int, std::allocator<unsigned int> > const&) in amuled[0xcd7e4]
[9] std::vector<unsigned int, std::allocator<unsigned int> >::operator=(std::vector<unsigned int, std::allocator<unsigned int> > const&) in amuled[0xce780]
[10] std::vector<unsigned int, std::allocator<unsigned int> >::operator=(std::vector<unsigned int, std::allocator<unsigned int> > const&) in amuled[0xd133c]
[11] void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) in amuled[0x3abf4]
[12] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb694f4b0]
[13] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac697c]
[14] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac6ad4]
[15] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac6f90]
[16] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac702c]
[17] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac709c]
[18] wxEvtHandler::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6ac7d78]
[19] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6951888]
[20] wxEventLoopManual::ProcessEvents() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb69903dc]
[21] wxEventLoopManual::DoRun() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb699046c]
[22] wxEventLoopBase::Run() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6990140]
[23] wxAppConsoleBase::MainLoop() in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb6955e68]
[24] ?? in amuled[0x32cb0]
[25] wxEntry(int&, wchar_t**) in /usr/lib/arm-linux-gnueabihf/libwx_baseu-3.0.so.0[0xb69dafa4]
[26] ?? in amuled[0x2c4ac]
[27] __libc_start_main in /lib/arm-linux-gnueabihf/libc.so.6[0xb65e6678]

 2017-12-16 03:48:41: Wrote 200 Kad contacts
!2017-12-16 03:49:19: Asio Sockets: Destroy() already dying socket 0x01221f28 0x04bd03c8 [scrubbed]
[scrubbed]......
!2017-12-16 03:49:19: Disconnected from eD2k
!2017-12-16 03:49:19: Disconnected from Kad
 2017-12-16 03:49:19: Now, exiting main app...
 2017-12-16 03:49:19: aMule OnExit: Terminating core.
!2017-12-16 03:49:19: Asio Sockets: Destroy() already dying socket 0x0121ad80 0x0660d018 [scrubbed]
[scrubbed]......
......
 2017-12-16 03:49:20: Saving PartFile 4 of 29
 2017-12-16 03:49:20: Saving PartFile 5 of 29
 2017-12-16 03:49:20: Saving PartFile 6 of 29
 2017-12-16 03:49:20: Saving PartFile 7 of 29
 2017-12-16 03:49:20: Saving PartFile 8 of 29
 2017-12-16 03:49:20: Saving PartFile 9 of 29
 2017-12-16 03:49:20: Saving PartFile 10 of 29
 2017-12-16 03:49:20: Saving PartFile 11 of 29
 2017-12-16 03:49:20: Saving PartFile 12 of 29
 2017-12-16 03:49:20: Saving PartFile 13 of 29
 2017-12-16 03:49:20: Saving PartFile 14 of 29
 2017-12-16 03:49:20: Saving PartFile 15 of 29
 2017-12-16 03:49:20: Saving PartFile 16 of 29
 2017-12-16 03:49:20: Saving PartFile 17 of 29
 2017-12-16 03:49:20: Saving PartFile 18 of 29
 2017-12-16 03:49:21: Saving PartFile 19 of 29
 2017-12-16 03:49:21: Saving PartFile 20 of 29
 2017-12-16 03:49:21: Saving PartFile 21 of 29
 2017-12-16 03:49:21: Saving PartFile 22 of 29
 2017-12-16 03:49:21: Saving PartFile 23 of 29
 2017-12-16 03:49:21: Saving PartFile 24 of 29
 2017-12-16 03:49:21: Saving PartFile 25 of 29
 2017-12-16 03:49:21: Saving PartFile 26 of 29
 2017-12-16 03:49:21: Saving PartFile 27 of 29
 2017-12-16 03:49:21: Saving PartFile 28 of 29
 2017-12-16 03:49:22: Saving PartFile 29 of 29
 2017-12-16 03:49:22: All PartFiles Saved.
 2017-12-16 03:49:22: aMule shutdown completed.


-- System Information:
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.1 (stretch)
Release:	9.1
Codename:	stretch
Architecture: armv6l

Kernel: Linux 4.9.41+
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages amule-daemon depends on:
ii  amule-common           1:2.3.2-1
ii  libboost-system1.61.0  1.61.0+dfsg-3
ii  libc6                  2.24-11+deb9u1
ii  libcrypto++6           5.6.4-7
ii  libgcc1                1:6.3.0-18+rpi1
ii  libpng16-16            1.6.28-1
ii  libreadline7           7.0-3
ii  libstdc++6             6.3.0-18+rpi1
ii  libupnp6               1:1.6.19+git20160116-1.2
ii  libwxbase3.0-0v5       3.0.2+dfsg-4
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages amule-daemon recommends:
ii  amule-utils  1:2.3.2-1
ii  unzip        6.0-21

amule-daemon suggests no packages.

-- no debconf information



More information about the Pkg-amule-devel mailing list