View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001814aMulepublic2021-10-24 11:462023-10-13 21:22
Reporterdreieck 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformGNU/LinuxOSArtix GNU/LinuxOS Versionrolling release
Product Version2.3.3 
Target VersionFixed in Version 
Summary0001814: aMule crashes on system clock jump (e.g. when computer awakens from sleep).
DescriptionWhen `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 Reproduce1. 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.
TagsaMule, clock, coredump, crash
Fixed in Revision
Operating SystemGNU/Linux
Attached Files

- Relationships

-  Notes
(0003751)
dreieck (reporter)
2021-10-28 19:01

Here I have a gdb backtrace run with debug-version of wxgtk. I cannot currently compile amule locally, so I cannot compila that with debug information.:

```
(gdb) run
Starting program: /usr/bin/amule
/usr/bin/amule: /usr/lib/libwx_gtk3u_adv-3.0.so.0: no version information available (required by /usr/bin/amule)
/usr/bin/amule: /usr/lib/libwx_baseu_net-3.0.so.0: no version information available (required by /usr/bin/amule)
/usr/bin/amule: /usr/lib/libwx_baseu-3.0.so.0: no version information available (required by /usr/bin/amule)
/usr/bin/amule: /usr/lib/libwx_gtk3u_core-3.0.so.0: no version information available (required by /usr/bin/amule)
/usr/bin/amule: /usr/lib/libwx_gtk3u_core-3.0.so.0: no version information available (required by /usr/bin/amule)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff20e6640 (LWP 26418)]
[New Thread 0x7fffe7fff640 (LWP 26419)]

(amule:26414): Gtk-WARNING **: 18:32:26.528: Theme parsing error: gtk.css:2440:18: '-gtk-icon-filter' is not a valid property name

(amule:26414): Gtk-WARNING **: 18:32:26.538: Theme parsing error: gtk.css:6258:18: '-gtk-icon-filter' is not a valid property name
[New Thread 0x7fffdbfff640 (LWP 26420)]
[New Thread 0x7fffcffff640 (LWP 26421)]
[Detaching after vfork from child process 26422]
 2021-10-28 18:32:26: Initialising aMule 2.3.3 compiled with wxGTK2 v3.0.5 and Boost 1.76
 2021-10-28 18:32:26: Checking if there is an instance already running...
 2021-10-28 18:32:26: No other instances are running.
[Detaching after vfork from child process 26427]
[Detaching after vfork from child process 26429]
[Detaching after vfork from child process 26431]
[Detaching after vfork from child process 26433]
[Detaching after vfork from child process 26435]
[Detaching after vfork from child process 26439]
[Detaching after vfork from child process 26443]
[Detaching after vfork from child process 26447]
 2021-10-28 18:32:26: ListenSocket: Ok.
[New Thread 0x7fffc3fff640 (LWP 26468)]
[New Thread 0x7fffbfffe640 (LWP 26469)]
[New Thread 0x7fffbbffd640 (LWP 26470)]
[New Thread 0x7fffb7ffc640 (LWP 26471)]
[New Thread 0x7fffb3ffb640 (LWP 26472)]
[New Thread 0x7fffafffa640 (LWP 26473)]
[New Thread 0x7fffabff9640 (LWP 26474)]
[New Thread 0x7fffa7ff8640 (LWP 26475)]
[New Thread 0x7fff93fff640 (LWP 26476)]
[New Thread 0x7fff8fffe640 (LWP 26477)]
[New Thread 0x7fff7bfff640 (LWP 26478)]
[New Thread 0x7fff6ffff640 (LWP 26487)]
[Thread 0x7fff6ffff640 (LWP 26487) exited]
[New Thread 0x7fff6ffff640 (LWP 26488)]
[New Thread 0x7fff63fff640 (LWP 26489)]
[Thread 0x7fff6ffff640 (LWP 26488) exited]
[Thread 0x7fff63fff640 (LWP 26489) exited]
[New Thread 0x7fff63fff640 (LWP 26490)]
[New Thread 0x7fff6ffff640 (LWP 26491)]
[Thread 0x7fff63fff640 (LWP 26490) exited]
[Thread 0x7fff6ffff640 (LWP 26491) exited]
[New Thread 0x7fff6ffff640 (LWP 26492)]
[New Thread 0x7fff63fff640 (LWP 26493)]
[Thread 0x7fff6ffff640 (LWP 26492) exited]
[Detaching after vfork from child process 26494]
[Thread 0x7fff63fff640 (LWP 26493) exited]
[New Thread 0x7fff63fff640 (LWP 26496)]
[New Thread 0x7fff6ffff640 (LWP 26497)]
[New Thread 0x7fff57fff640 (LWP 26498)]
[New Thread 0x7fff4bfff640 (LWP 26499)]
[New Thread 0x7fff3ffff640 (LWP 26500)]
[New Thread 0x7fff33fff640 (LWP 26501)]
[Thread 0x7fff33fff640 (LWP 26501) exited]
 2021-10-28 18:32:31: Loading temp files from /home/[...]/download/aMule/Temp.
 2021-10-28 18:32:31: Loading PartFile 1 of 3
 2021-10-28 18:32:31: Loading PartFile 2 of 3
 2021-10-28 18:32:31: Loading PartFile 3 of 3
 2021-10-28 18:32:31: All PartFiles Loaded.
 2021-10-28 18:32:31: Adding file /home/[...]/download/aMule/Temp/001.part.met to shares
 2021-10-28 18:32:31: Adding file /home/[...]/download/aMule/Temp/002.part.met to shares
[New Thread 0x7fff33fff640 (LWP 26502)]
[Thread 0x7fff33fff640 (LWP 26502) exited]
[New Thread 0x7fff27fff640 (LWP 26503)]
[New Thread 0x7fff23ffe640 (LWP 26504)]
[New Thread 0x7fff17fff640 (LWP 26505)]
[Thread 0x7fff23ffe640 (LWP 26504) exited]
[New Thread 0x7fff23ffe640 (LWP 26506)]
[New Thread 0x7fff0bfff640 (LWP 26507)]
[Thread 0x7fff23ffe640 (LWP 26506) exited]
[Thread 0x7fff17fff640 (LWP 26505) exited]
[Thread 0x7fff0bfff640 (LWP 26507) exited]
[New Thread 0x7fff0bfff640 (LWP 26508)]
[New Thread 0x7fff23ffe640 (LWP 26509)]
[Thread 0x7fff0bfff640 (LWP 26508) exited]
[New Thread 0x7fff0bfff640 (LWP 26510)]
[New Thread 0x7fff17fff640 (LWP 26511)]
[Thread 0x7fff0bfff640 (LWP 26510) exited]
[Thread 0x7fff23ffe640 (LWP 26509) exited]
[Thread 0x7fff17fff640 (LWP 26511) exited]
[New Thread 0x7fff17fff640 (LWP 26512)]
[New Thread 0x7fff23ffe640 (LWP 26513)]
[Thread 0x7fff17fff640 (LWP 26512) exited]
[Thread 0x7fff23ffe640 (LWP 26513) exited]
 2021-10-28 18:32:31: Asio thread 1 started
 2021-10-28 18:32:31: Asio thread 2 started
 2021-10-28 18:32:31: Asio thread 3 started
 2021-10-28 18:32:31: Asio thread 4 started
[Thread 0x7fffafffa640 (LWP 26473) exited]
[Thread 0x7fffabff9640 (LWP 26474) exited]
[Thread 0x7fff7bfff640 (LWP 26478) exited]
[Thread 0x7fff93fff640 (LWP 26476) exited]
[Thread 0x7fffb7ffc640 (LWP 26471) exited]
[Thread 0x7fffcffff640 (LWP 26421) exited]
[New Thread 0x7fffcffff640 (LWP 26642)]
[Thread 0x7fff8fffe640 (LWP 26477) exited]
[New Thread 0x7fff8fffe640 (LWP 26782)]
[New Thread 0x7fffb7ffc640 (LWP 26783)]
[Thread 0x7fffbbffd640 (LWP 26470) exited]
[Thread 0x7fffcffff640 (LWP 26642) exited]
[New Thread 0x7fffcffff640 (LWP 27059)]
[New Thread 0x7fffbbffd640 (LWP 27060)]
[New Thread 0x7fffafffa640 (LWP 27061)]
[New Thread 0x7fffabff9640 (LWP 27062)]
[Thread 0x7fffafffa640 (LWP 27061) exited]
[Thread 0x7fffbbffd640 (LWP 27060) exited]
[Thread 0x7fffcffff640 (LWP 27059) exited]
[Thread 0x7fffb7ffc640 (LWP 26783) exited]
[New Thread 0x7fffcffff640 (LWP 27339)]
[Thread 0x7fffcffff640 (LWP 27339) exited]
[New Thread 0x7fffcffff640 (LWP 27476)]
[New Thread 0x7fffbbffd640 (LWP 27477)]
[Thread 0x7fffcffff640 (LWP 27476) exited]
[Thread 0x7fff8fffe640 (LWP 26782) exited]
[New Thread 0x7fff8fffe640 (LWP 28422)]
[New Thread 0x7fffcffff640 (LWP 28423)]
[Thread 0x7fff8fffe640 (LWP 28422) exited]
[Thread 0x7fffbbffd640 (LWP 27477) exited]

Thread 27 "amule" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff4bfff640 (LWP 26499)]
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 0x00007ffff70d4865 in wxThread::CallEntry() (this=this@entry=0x555556917398) at ./include/wx/thrimpl.cpp:356
0000008 0x00007ffff70e0b84 in wxThreadInternal::PthreadStart(wxThread*) (thread=0x555556917398) at ./src/unix/threadpsx.cpp:867
0000009 0x00007ffff70e11e6 in wxPthreadStart(void*) (ptr=<optimized out>) at ./src/unix/threadpsx.cpp:817
0000010 0x00007ffff7f45299 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007ffff6ac3053 in clone () at /usr/lib/libc.so.6
(gdb) cont
Continuing.

Thread 27 "amule" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff7f4f7e5 in raise () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007ffff7f4f7e5 in raise () at /usr/lib/libpthread.so.0
0000001 0x00007ffff6fb14cb in wxTrap() () at ./src/common/appbase.cpp:1051
0000002 0x00007ffff6fb466a in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)
    (file=..., line=line@entry=386, func=..., cond=..., msg=...) at ./src/common/appbase.cpp:1078
0000003 0x00007ffff6fb1c33 in wxOnAssert(char const*, int, char const*, char const*, char const*)
    (file=0x555555b19f01 "MuleDebug.cpp", line=386, func=0x555555b19f37 "get_backtrace", cond=0x555555b19f1e "s_have_backtrace_symbols", msg=<optimized out>)
    at ./src/common/appbase.cpp:1170
0000004 0x000055555596170b in ()
0000005 0x0000555555778fb5 in ()
0000006 0x00007ffff6fb464e in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)
    (file=..., line=line@entry=386, func=..., cond=..., msg=...) at ./src/common/appbase.cpp:1093
0000007 0x00007ffff6fb1c33 in wxOnAssert(char const*, int, char const*, char const*, char const*)
    (file=0x555555b19f01 "MuleDebug.cpp", line=386, func=0x555555b19f37 "get_backtrace", cond=0x555555b19f1e "s_have_backtrace_symbols", msg=<optimized out>)
    at ./src/common/appbase.cpp:1170
0000008 0x000055555596170b in ()
0000009 0x000055555576e922 in ()
0000010 0x00007ffff70e3c5c in wxFatalSignalHandler(int) () at ./src/unix/utilsunx.cpp:1404
#11 0x00007ffff7f4f960 in <signal handler called> () at /usr/lib/libpthread.so.0
0000012 0x0000555555a4174b in ()
0000013 0x0000555555a458c9 in ()
0000014 0x0000555555a460aa in ()
0000015 0x0000555555a34335 in ()
0000016 0x0000555555a351ef in ()
0000017 0x0000555555a37629 in ()
0000018 0x0000555555a3b769 in ()
0000019 0x00007ffff70d4865 in wxThread::CallEntry() (this=this@entry=0x555556917398) at ./include/wx/thrimpl.cpp:356
0000020 0x00007ffff70e0b84 in wxThreadInternal::PthreadStart(wxThread*) (thread=0x555556917398) at ./src/unix/threadpsx.cpp:867
0000021 0x00007ffff70e11e6 in wxPthreadStart(void*) (ptr=<optimized out>) at ./src/unix/threadpsx.cpp:817
0000022 0x00007ffff7f45299 in start_thread () at /usr/lib/libpthread.so.0
0000023 0x00007ffff6ac3053 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[0x7ffff6fb1c33]
[4] ?? in /usr/bin/amule[0x55555596170b]
[5] ?? in /usr/bin/amule[0x55555576e922]
[6] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff70e3c5c]
[7] ?? in /usr/lib/libpthread.so.0[0x7ffff7f4f960]
[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[0x7ffff70d4865]
[16] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff70e0b84]
[17] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff70e11e6]
[18] ?? in /usr/lib/libpthread.so.0[0x7ffff7f45299]
[19] clone in /usr/lib/libc.so.6[0x7ffff6ac3053]


Thread 27 "amule" received signal SIGABRT, Aborted.
0x00007ffff7f4f7e5 in raise () from /usr/lib/libpthread.so.0
(gdb) bt
#0 0x00007ffff7f4f7e5 in raise () at /usr/lib/libpthread.so.0
0000001 0x0000555555779325 in ()
0000002 0x00007ffff6fb464e in wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString const&, wxString const&)
    (file=..., line=line@entry=386, func=..., cond=..., msg=...) at ./src/common/appbase.cpp:1093
0000003 0x00007ffff6fb1c33 in wxOnAssert(char const*, int, char const*, char const*, char const*)
    (file=0x555555b19f01 "MuleDebug.cpp", line=386, func=0x555555b19f37 "get_backtrace", cond=0x555555b19f1e "s_have_backtrace_symbols", msg=<optimized out>)
    at ./src/common/appbase.cpp:1170
0000004 0x000055555596170b in ()
0000005 0x000055555576e922 in ()
0000006 0x00007ffff70e3c5c in wxFatalSignalHandler(int) () at ./src/unix/utilsunx.cpp:1404
0000007 0x00007ffff7f4f960 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 0x00007ffff70d4865 in wxThread::CallEntry() (this=this@entry=0x555556917398) at ./include/wx/thrimpl.cpp:356
0000016 0x00007ffff70e0b84 in wxThreadInternal::PthreadStart(wxThread*) (thread=0x555556917398) at ./src/unix/threadpsx.cpp:867
0000017 0x00007ffff70e11e6 in wxPthreadStart(void*) (ptr=<optimized out>) at ./src/unix/threadpsx.cpp:817
0000018 0x00007ffff7f45299 in start_thread () at /usr/lib/libpthread.so.0
0000019 0x00007ffff6ac3053 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 0x7fff3ffff640 (LWP 26500) exited]
[Thread 0x7fffcffff640 (LWP 28423) exited]
[Thread 0x7fffabff9640 (LWP 27062) exited]
[Thread 0x7fff27fff640 (LWP 26503) exited]
[Thread 0x7fff4bfff640 (LWP 26499) exited]
[Thread 0x7fff57fff640 (LWP 26498) exited]
[Thread 0x7fff6ffff640 (LWP 26497) exited]
[Thread 0x7fff63fff640 (LWP 26496) exited]
[Thread 0x7fffa7ff8640 (LWP 26475) exited]
[Thread 0x7fffb3ffb640 (LWP 26472) exited]
[Thread 0x7fffbfffe640 (LWP 26469) exited]
[Thread 0x7fffc3fff640 (LWP 26468) exited]
[Thread 0x7fffdbfff640 (LWP 26420) exited]
[Thread 0x7fffe7fff640 (LWP 26419) exited]
[Thread 0x7ffff20e6640 (LWP 26418) exited]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
```
(0003752)
berarma (reporter)
2022-04-01 11:34

In my case, it's amuled creating a core dump after wakeup.

I'm using the amule-daemon package in Debian 11.

This is the message in the logs:

systemd-coredump[35959]: Process 31548 (amuled) of user 1000 dumped core.0000012#012Stack trace of thread 31551:0000012#0 0x00007f5666566ce1 __GI_raise (libc.so.6 + 0x3bce1)0000012#1 0x00007f5666550537 __GI_abort (libc.so.6 + 0x25537)0000012#2 0x00007f5666ac304d n/a (libwx_baseu-3.0.so.0 + 0x8404d)0000012#3 0x00007f5666704140 __restore_rt (libpthread.so.0 + 0x14140)0000012#4 0x000055ba01b4d465 n/a (amuled + 0x1da465)0000012#5 0x000055ba01b4fe57 n/a (amuled + 0x1dce57)0000012#6 0x000055ba01b48bd5 n/a (amuled + 0x1d5bd5)0000012#7 0x000055ba01b471d4 n/a (amuled + 0x1d41d4)0000012#8 0x000055ba01b4a491 n/a (amuled + 0x1d7491)0000012#9 0x000055ba01b4dc38 n/a (amuled + 0x1dac38)0000012#10 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#11 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#12 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#13 0x00007f5666628def __clone (libc.so.6 + 0xfddef)0000012#012Stack trace of thread 31548:0000012#0 0x00007f566670308c __libc_read (libpthread.so.0 + 0x1308c)0000012#1 0x000055ba01b02d98 n/a (amuled + 0x18fd98)0000012#2 0x000055ba01b1e33f n/a (amuled + 0x1ab33f)0000012#3 0x000055ba01b1d79c n/a (amuled + 0x1aa79c)0000012#4 0x000055ba01b7bfc2 n/a (amuled + 0x208fc2)0000012#5 0x000055ba01b7f5df n/a (amuled + 0x20c5df)0000012#6 0x000055ba01b7f869 n/a (amuled + 0x20c869)0000012#7 0x000055ba01a98050 n/a (amuled + 0x125050)0000012#8 0x000055ba019e4640 n/a (amuled + 0x71640)0000012#9 0x00007f5666c49241 _ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent (libwx_baseu-3.0.so.0 + 0x20a241)0000012#10 0x00007f5666c49333 _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler (libwx_baseu-3.0.so.0 + 0x20a333)0000012#11 0x00007f5666c4967c _ZN12wxEvtHandler11TryHereOnlyER7wxEvent (libwx_baseu-3.0.so.0 + 0x20a67c)0000012#12 0x00007f5666c49703 _ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent (libwx_baseu-3.0.so.0 + 0x20a703)0000012#13 0x00007f5666c497a1 _ZN12wxEvtHandler12ProcessEventER7wxEvent (libwx_baseu-3.0.so.0 + 0x20a7a1)0000012#14 0x00007f5666c4a14e _ZN12wxEvtHandler20ProcessPendingEventsEv (libwx_baseu-3.0.so.0 + 0x20b14e)0000012#15 0x00007f5666acff7f _ZN16wxAppConsoleBase20ProcessPendingEventsEv (libwx_baseu-3.0.so.0 + 0x90f7f)0000012#16 0x00007f5666b08b5c _ZN17wxEventLoopManual13ProcessEventsEv (libwx_baseu-3.0.so.0 + 0xc9b5c)0000012#17 0x00007f5666b08c2e _ZN17wxEventLoopManual5DoRunEv (libwx_baseu-3.0.so.0 + 0xc9c2e)0000012#18 0x00007f5666b0897d _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.0.so.0 + 0xc997d)0000012#19 0x00007f5666ad19a6 _ZN16wxAppConsoleBase8MainLoopEv (libwx_baseu-3.0.so.0 + 0x929a6)0000012#20 0x00007f5666b59a19 _Z7wxEntryRiPPw (libwx_baseu-3.0.so.0 + 0x11aa19)0000012#21 0x000055ba019d2fe2 n/a (amuled + 0x5ffe2)0000012#22 0x00007f5666551d0a __libc_start_main (libc.so.6 + 0x26d0a)0000012#23 0x000055ba019da81a n/a (amuled + 0x6781a)0000012#012Stack trace of thread 31549:0000012#0 0x00007f56665f0c61 __GI___clock_nanosleep (libc.so.6 + 0xc5c61)0000012#1 0x00007f56665f6443 __GI___nanosleep (libc.so.6 + 0xcb443)0000012#2 0x00007f5666c1d62c _Z12wxMicroSleepm (libwx_baseu-3.0.so.0 + 0x1de62c)0000012#3 0x000055ba01a8de3d n/a (amuled + 0x11ae3d)0000012#4 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#5 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#6 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#7 0x00007f5666628def __clone (libc.so.6 + 0xfddef)0000012#012Stack trace of thread 31553:0000012#0 0x00007f56666fb760 __GI___pthread_mutex_lock (libpthread.so.0 + 0xb760)0000012#1 0x000055ba01b48a26 n/a (amuled + 0x1d5a26)0000012#2 0x000055ba01b5beea n/a (amuled + 0x1e8eea)0000012#3 0x000055ba01b5c1dd n/a (amuled + 0x1e91dd)0000012#4 0x000055ba01b471d4 n/a (amuled + 0x1d41d4)0000012#5 0x000055ba01b4a491 n/a (amuled + 0x1d7491)0000012#6 0x000055ba01b4dc38 n/a (amuled + 0x1dac38)0000012#7 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#8 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#9 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#10 0x00007f5666628def __clone (libc.so.6 + 0xfddef)0000012#012Stack trace of thread 31550:0000012#0 0x00007f5666629116 epoll_wait (libc.so.6 + 0xfe116)0000012#1 0x000055ba01b44d57 n/a (amuled + 0x1d1d57)0000012#2 0x000055ba01b46eb7 n/a (amuled + 0x1d3eb7)0000012#3 0x000055ba01b4a491 n/a (amuled + 0x1d7491)0000012#4 0x000055ba01b4dc38 n/a (amuled + 0x1dac38)0000012#5 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#6 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#7 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#8 0x00007f5666628def __clone (libc.so.6 + 0xfddef)0000012#012Stack trace of thread 31562:0000012#0 0x00007f56666ffad8 futex_abstimed_wait_cancelable (libpthread.so.0 + 0xfad8)0000012#1 0x00007f5666c17e3a n/a (libwx_baseu-3.0.so.0 + 0x1d8e3a)0000012#2 0x00007f5666c183f5 n/a (libwx_baseu-3.0.so.0 + 0x1d93f5)0000012#3 0x000055ba01b23a23 n/a (amuled + 0x1b0a23)0000012#4 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#5 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#6 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#7 0x00007f5666628def __clone (libc.so.6 + 0xfddef)0000012#012Stack trace of thread 31552:0000012#0 0x00007f56666ff7b2 futex_wait_cancelable (libpthread.so.0 + 0xf7b2)0000012#1 0x000055ba01b470e2 n/a (amuled + 0x1d40e2)0000012#2 0x000055ba01b4a491 n/a (amuled + 0x1d7491)0000012#3 0x000055ba01b4dc38 n/a (amuled + 0x1dac38)0000012#4 0x00007f5666c1021a _ZN8wxThread9CallEntryEv (libwx_baseu-3.0.so.0 + 0x1d121a)0000012#5 0x00007f5666c1b642 n/a (libwx_baseu-3.0.so.0 + 0x1dc642)0000012#6 0x00007f56666f8ea7 start_thread (libpthread.so.0 + 0x8ea7)0000012#7 0x00007f5666628def __clone (libc.so.6 + 0xfddef)
(0003755)
dreieck (reporter)
2023-10-13 21:22

Related: I have reported this also to `amule-dlp`, which is a maintained, fork, but also shows this issue:
https://github.com/persmule/amule-dlp/issues/44 [^]

- 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


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker