aMule Bug Tracker - aMule | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0001814 | aMule | public | 2021-10-24 11:46 | 2023-10-13 21:22 | |
Reporter | dreieck | ||||
Assigned To | |||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | GNU/Linux | OS | Artix GNU/Linux | OS Version | rolling release |
Product Version | 2.3.3 | ||||
Target Version | Fixed in Version | ||||
Fixed in Revision | |||||
Operating System | GNU/Linux | ||||
Summary | 0001814: aMule crashes on system clock jump (e.g. when computer awakens from sleep). | ||||
Description | When `amule` runs, and the system clock does has a bigger time shift (at least to the future), `amule` crashes. Those timeshifts happen e.g. already if the system is at sleep/ suspend to disk, but can also happen due to timezone change/ daylight saving time change. This crash seems to be a sign of something going out of track and can even be a security issue. Details: * When I start `amule`, and then set the system clock to 6 hours in the future (simulating a 6 hours system sleep), on the terminal the following output appears: ``` Trace/breakpoint trap ``` and the software crashes. * A terminal copycat of a run of `gdb amule` with a few backtraces: ``` GNU gdb (GDB) 11.1 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> [^] This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. [^] Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. [^] For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from amule... (No debugging symbols found in amule) (gdb) run Starting program: /usr/bin/amule [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". 11:10:33: Warning: Mismatch between the program and library build versions detected. The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8), and your program used 3.0 (wchar_t,compiler with C++ ABI 1016,wx containers,compatible with 2.8). [New Thread 0x7ffff2087640 (LWP 6906)] [New Thread 0x7fffe7fff640 (LWP 6907)] (amule:6902): Gtk-WARNING **: 11:10:33.436: Theme parsing error: gtk.css:2440:18: '-gtk-icon-filter' is not a valid property name (amule:6902): Gtk-WARNING **: 11:10:33.445: Theme parsing error: gtk.css:6258:18: '-gtk-icon-filter' is not a valid property name [New Thread 0x7fffdbfff640 (LWP 6908)] [New Thread 0x7fffcffff640 (LWP 6909)] [Detaching after vfork from child process 6910] 2021-10-24 11:10:33: Initialising aMule 2.3.3 compiled with wxGTK2 v3.0.5 and Boost 1.76 2021-10-24 11:10:33: Checking if there is an instance already running... 2021-10-24 11:10:33: No other instances are running. [Detaching after vfork from child process 6912] [Detaching after vfork from child process 6914] [Detaching after vfork from child process 6916] [Detaching after vfork from child process 6918] [Detaching after vfork from child process 6920] [Detaching after vfork from child process 6924] [Detaching after vfork from child process 6928] [Detaching after vfork from child process 6932] 2021-10-24 11:10:33: ListenSocket: Ok. [New Thread 0x7fffc3fff640 (LWP 6953)] [New Thread 0x7fffbfffe640 (LWP 6954)] [New Thread 0x7fffbbffd640 (LWP 6955)] [New Thread 0x7fffb7ffc640 (LWP 6956)] [New Thread 0x7fffb3ffb640 (LWP 6957)] [New Thread 0x7fffafffa640 (LWP 6958)] [New Thread 0x7fffabff9640 (LWP 6959)] [New Thread 0x7fffa7ff8640 (LWP 6960)] [New Thread 0x7fff93fff640 (LWP 6961)] [New Thread 0x7fff8fffe640 (LWP 6962)] [New Thread 0x7fff83fff640 (LWP 6963)] [New Thread 0x7fff77fff640 (LWP 6964)] [New Thread 0x7fff63fff640 (LWP 6965)] [New Thread 0x7fff5fffe640 (LWP 6966)] [New Thread 0x7fff5bffd640 (LWP 6967)] [New Thread 0x7fff47fff640 (LWP 6968)] [Thread 0x7fff47fff640 (LWP 6968) exited] [New Thread 0x7fff47fff640 (LWP 6969)] [New Thread 0x7fff43ffe640 (LWP 6970)] [Thread 0x7fff47fff640 (LWP 6969) exited] [Thread 0x7fff43ffe640 (LWP 6970) exited] [New Thread 0x7fff43ffe640 (LWP 6971)] [New Thread 0x7fff47fff640 (LWP 6972)] [Thread 0x7fff43ffe640 (LWP 6971) exited] [Thread 0x7fff47fff640 (LWP 6972) exited] [New Thread 0x7fff47fff640 (LWP 6973)] [New Thread 0x7fff43ffe640 (LWP 6974)] [Thread 0x7fff47fff640 (LWP 6973) exited] [Detaching after vfork from child process 6975] [Thread 0x7fff43ffe640 (LWP 6974) exited] [New Thread 0x7fff43ffe640 (LWP 6977)] [New Thread 0x7fff47fff640 (LWP 6978)] [New Thread 0x7fff37fff640 (LWP 6979)] [New Thread 0x7fff2bfff640 (LWP 6980)] [New Thread 0x7fff1fffe640 (LWP 6981)] [New Thread 0x7fff13fff640 (LWP 6982)] [Thread 0x7fff13fff640 (LWP 6982) exited] 2021-10-24 11:10:34: Loading temp files from /home/[...]/download/aMule/Temp. 2021-10-24 11:10:34: Loading PartFile 1 of 2 2021-10-24 11:10:34: Loading PartFile 2 of 2 2021-10-24 11:10:34: All PartFiles Loaded. 2021-10-24 11:10:34: Adding file /home/[...]/download/aMule/Temp/001.part.met to shares 2021-10-24 11:10:34: Adding file /home/[...]/download/aMule/Temp/002.part.met to shares [New Thread 0x7fff13fff640 (LWP 6983)] [Thread 0x7fff13fff640 (LWP 6983) exited] [New Thread 0x7fff07fff640 (LWP 6984)] [New Thread 0x7fff03ffe640 (LWP 6985)] [New Thread 0x7ffef7fff640 (LWP 6986)] [Thread 0x7fff03ffe640 (LWP 6985) exited] [New Thread 0x7fff03ffe640 (LWP 6987)] [New Thread 0x7ffeebfff640 (LWP 6988)] [Thread 0x7fff03ffe640 (LWP 6987) exited] [Thread 0x7ffef7fff640 (LWP 6986) exited] [Thread 0x7ffeebfff640 (LWP 6988) exited] [New Thread 0x7ffeebfff640 (LWP 6989)] [New Thread 0x7fff03ffe640 (LWP 6990)] [Thread 0x7ffeebfff640 (LWP 6989) exited] [Thread 0x7fff03ffe640 (LWP 6990) exited] [New Thread 0x7fff03ffe640 (LWP 6991)] [New Thread 0x7ffef7fff640 (LWP 6992)] [Thread 0x7fff03ffe640 (LWP 6991) exited] [New Thread 0x7fff03ffe640 (LWP 6993)] [New Thread 0x7ffeebfff640 (LWP 6994)] [Thread 0x7fff03ffe640 (LWP 6993) exited] [Thread 0x7ffef7fff640 (LWP 6992) exited] 2021-10-24 11:10:35: Asio thread 1 started 2021-10-24 11:10:35: Asio thread 2 started 2021-10-24 11:10:35: Asio thread 3 started 2021-10-24 11:10:35: Asio thread 4 started [Thread 0x7ffeebfff640 (LWP 6994) exited] [Thread 0x7fffabff9640 (LWP 6959) exited] [Thread 0x7fffa7ff8640 (LWP 6960) exited] [Thread 0x7fff63fff640 (LWP 6965) exited] [Thread 0x7fff93fff640 (LWP 6961) exited] [Thread 0x7fffb7ffc640 (LWP 6956) exited] [Thread 0x7fff8fffe640 (LWP 6962) exited] [Thread 0x7fffbbffd640 (LWP 6955) exited] [Thread 0x7fff5bffd640 (LWP 6967) exited] [Thread 0x7fff5fffe640 (LWP 6966) exited] [Thread 0x7fffcffff640 (LWP 6909) exited] Thread 30 "amule" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff37fff640 (LWP 6979)] 0x0000555555a4174b in ?? () (gdb) bt #0 0x0000555555a4174b in () 0000001 0x0000555555a458c9 in () 0000002 0x0000555555a460aa in () 0000003 0x0000555555a34335 in () 0000004 0x0000555555a351ef in () 0000005 0x0000555555a37629 in () 0000006 0x0000555555a3b769 in () 0000007 0x00007ffff709237a in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0 0000008 0x00007ffff709ab79 in () at /usr/lib/libwx_baseu-3.0.so.0 0000009 0x00007ffff7f46299 in start_thread () at /usr/lib/libpthread.so.0 0000010 0x00007ffff6a63053 in clone () at /usr/lib/libc.so.6 (gdb) cont Continuing. [New Thread 0x7fffcffff640 (LWP 8530)] [New Thread 0x7fffbbffd640 (LWP 8531)] [New Thread 0x7fffb7ffc640 (LWP 8532)] Thread 30 "amule" received signal SIGTRAP, Trace/breakpoint trap. 0x00007ffff7f507e5 in raise () from /usr/lib/libpthread.so.0 (gdb) bt #0 0x00007ffff7f507e5 in raise () at /usr/lib/libpthread.so.0 0000001 0x00007ffff6f669f6 in () at /usr/lib/libwx_baseu-3.0.so.0 0000002 0x00007ffff6f635e4 in wxOnAssert(char const*, int, char const*, char const*, char const*) () at /usr/lib/libwx_baseu-3.0.so.0 0000003 0x000055555596170b in () 0000004 0x0000555555778fb5 in () 0000005 0x00007ffff6f66968 in () at /usr/lib/libwx_baseu-3.0.so.0 0000006 0x00007ffff6f635e4 in wxOnAssert(char const*, int, char const*, char const*, char const*) () at /usr/lib/libwx_baseu-3.0.so.0 0000007 0x000055555596170b in () 0000008 0x000055555576e922 in () 0000009 0x00007ffff709f400 in () at /usr/lib/libwx_baseu-3.0.so.0 0000010 0x00007ffff7f50960 in <signal handler called> () at /usr/lib/libpthread.so.0 #11 0x0000555555a4174b in () 0000012 0x0000555555a458c9 in () 0000013 0x0000555555a460aa in () 0000014 0x0000555555a34335 in () 0000015 0x0000555555a351ef in () 0000016 0x0000555555a37629 in () 0000017 0x0000555555a3b769 in () 0000018 0x00007ffff709237a in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0 0000019 0x00007ffff709ab79 in () at /usr/lib/libwx_baseu-3.0.so.0 0000020 0x00007ffff7f46299 in start_thread () at /usr/lib/libpthread.so.0 0000021 0x00007ffff6a63053 in clone () at /usr/lib/libc.so.6 (gdb) cont Continuing. Assertion failed: MuleDebug.cpp:get_backtrace:386: Assertion 's_have_backtrace_symbols' failed. Backtrace follows: [3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff6f635e4] [4] ?? in /usr/bin/amule[0x55555596170b] [5] ?? in /usr/bin/amule[0x55555576e922] [6] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff709f400] [7] ?? in /usr/lib/libpthread.so.0[0x7ffff7f50960] [8] ?? in /usr/bin/amule[0x555555a4174b] [9] ?? in /usr/bin/amule[0x555555a458c9] [10] ?? in /usr/bin/amule[0x555555a460aa] [11] ?? in /usr/bin/amule[0x555555a34335] [12] ?? in /usr/bin/amule[0x555555a351ef] [13] ?? in /usr/bin/amule[0x555555a37629] [14] ?? in /usr/bin/amule[0x555555a3b769] [15] wxThread::CallEntry() in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff709237a] [16] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff709ab79] [17] ?? in /usr/lib/libpthread.so.0[0x7ffff7f46299] [18] clone in /usr/lib/libc.so.6[0x7ffff6a63053] Thread 30 "amule" received signal SIGABRT, Aborted. 0x00007ffff7f507e5 in raise () from /usr/lib/libpthread.so.0 (gdb) bt #0 0x00007ffff7f507e5 in raise () at /usr/lib/libpthread.so.0 0000001 0x0000555555779325 in () 0000002 0x00007ffff6f66968 in () at /usr/lib/libwx_baseu-3.0.so.0 0000003 0x00007ffff6f635e4 in wxOnAssert(char const*, int, char const*, char const*, char const*) () at /usr/lib/libwx_baseu-3.0.so.0 0000004 0x000055555596170b in () 0000005 0x000055555576e922 in () 0000006 0x00007ffff709f400 in () at /usr/lib/libwx_baseu-3.0.so.0 0000007 0x00007ffff7f50960 in <signal handler called> () at /usr/lib/libpthread.so.0 0000008 0x0000555555a4174b in () 0000009 0x0000555555a458c9 in () 0000010 0x0000555555a460aa in () #11 0x0000555555a34335 in () 0000012 0x0000555555a351ef in () 0000013 0x0000555555a37629 in () 0000014 0x0000555555a3b769 in () 0000015 0x00007ffff709237a in wxThread::CallEntry() () at /usr/lib/libwx_baseu-3.0.so.0 0000016 0x00007ffff709ab79 in () at /usr/lib/libwx_baseu-3.0.so.0 0000017 0x00007ffff7f46299 in start_thread () at /usr/lib/libpthread.so.0 0000018 0x00007ffff6a63053 in clone () at /usr/lib/libc.so.6 (gdb) cont Continuing. Couldn't get registers: No such process. Couldn't get registers: No such process. (gdb) [Thread 0x7fffb7ffc640 (LWP 8532) exited] [Thread 0x7fffbbffd640 (LWP 8531) exited] [Thread 0x7fffcffff640 (LWP 8530) exited] [Thread 0x7fff07fff640 (LWP 6984) exited] [Thread 0x7fff1fffe640 (LWP 6981) exited] [Thread 0x7fff2bfff640 (LWP 6980) exited] [Thread 0x7fff37fff640 (LWP 6979) exited] [Thread 0x7fff47fff640 (LWP 6978) exited] [Thread 0x7fff43ffe640 (LWP 6977) exited] [Thread 0x7fff77fff640 (LWP 6964) exited] [Thread 0x7fff83fff640 (LWP 6963) exited] [Thread 0x7fffafffa640 (LWP 6958) exited] [Thread 0x7fffb3ffb640 (LWP 6957) exited] [Thread 0x7fffbfffe640 (LWP 6954) exited] [Thread 0x7fffc3fff640 (LWP 6953) exited] [Thread 0x7fffdbfff640 (LWP 6908) exited] [Thread 0x7fffe7fff640 (LWP 6907) exited] [Thread 0x7ffff2087640 (LWP 6906) exited] Program terminated with signal SIGABRT, Aborted. The program no longer exists. ``` I use amule version 2.3.3, [installed from Artix Linux](https://gitea.artixlinux.org/packagesA/amule [^]). (Note that I am not familiar at debuggin, nor can I recompile `amule` with debugging symbols because compilation fails on my machine. I am just an average user with GNU/Linux command line and administration skills.) | ||||
Steps To Reproduce | 1. Start `amule`, 2. set the system clock to 6 hours in the future OR have the system sleep/ suspend to disk for some time, 3. observe the crash. | ||||
Additional Information | |||||
Tags | aMule, clock, coredump, crash | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-10-24 11:46 | dreieck | New Issue | |||
2021-10-28 19:01 | dreieck | Note Added: 0003751 | |||
2022-04-01 11:34 | berarma | Note Added: 0003752 | |||
2022-04-01 12:14 | dreieck | Tag Attached: crash | |||
2022-04-01 12:15 | dreieck | Tag Attached: aMule | |||
2022-04-01 12:15 | dreieck | Tag Attached: coredump | |||
2022-04-01 12:16 | dreieck | Tag Attached: clock | |||
2023-10-13 21:22 | dreieck | Note Added: 0003755 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|