aMule Bug Tracker - aMule
View Issue Details
0001797aMulepublic2019-05-11 00:582019-05-13 04:58
MrCue 
 
normalcrashalways
newopen 
x86_64Linux MANJARO #1 SMP PREEMPT4.19.36-1
2.3.2 
 
Linux
0001797: Crashes every time I put system to suspend mode
amule Crashs every time I put system to suspend mode overnight and wake it up in next morning.
I will need to restart amule manually after system waking up. During the day time, it works fine.
[steps]
1. open amule
2. put system to suspend mode by executing `sudo systemctl suspend`
3. wait 6~8 hours
4. wake up the system and check if amule is still running or not

[Expected]
amule is running

[Actual]
amule crashes.
In the reproducing step 3, if you only wait several minutes and wake up the system, amule will still run normally. Backtrace is uploaded.
crash
log amule_suspend_crash.log (93,718) 2019-05-11 00:58
http://bugs.amule.org/file_download.php?file_id=378&type=bug
Issue History
2019-05-11 00:58MrCueNew Issue
2019-05-11 00:58MrCueFile Added: amule_suspend_crash.log
2019-05-11 01:08MrCueNote Added: 0003720
2019-05-11 01:09MrCueTag Attached: crash
2019-05-13 04:58LynnRHogueNote Added: 0003721

Notes
(0003720)
MrCue   
2019-05-11 01:08   
The version of amule I used to collect bt is "with wxGTK2 v3.0.4 and Boost 1.69 (Debugging) (Snapshot: rev. geb7248c48)".

And the bt is uploaded. After gdb found some thread of amule crashed, and I run `c` in gdb, I got this log:

(gdb) c
Continuing.
[New Thread 0x7fffb92d4700 (LWP 20846)]
[New Thread 0x7fff9affd700 (LWP 20847)]
[New Thread 0x7fffef655700 (LWP 20848)]
[New Thread 0x7fff9b7fe700 (LWP 20849)]
[New Thread 0x7ffff11d9700 (LWP 20850)]
[New Thread 0x7fffcffff700 (LWP 20851)]
[New Thread 0x7fff9bfff700 (LWP 20852)]
[New Thread 0x7fff9a7fc700 (LWP 20853)]
[New Thread 0x7fff99ffb700 (LWP 20854)]
[New Thread 0x7fff997fa700 (LWP 20855)]

--------------------------------------------------------------------------------
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/wiki/Backtraces [^]

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule SVN compiled with wxGTK2 v3.0.4 and Boost 1.69 (Debugging) (Snapshot: rev. geb7248c48)
Running on: Linux 4.19.36-1-MANJARO x86_64

[2] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff6961d10]
[3] ?? in /usr/lib/libpthread.so.0[0x7ffff7f794d0]
[4] ?? in /usr/bin/amule[0x5555559eb3b7]
[5] ?? in /usr/bin/amule[0x555555a01465]
[6] ?? in /usr/bin/amule[0x555555a01519]
[7] ?? in /usr/bin/amule[0x555555a015d7]
[8] ?? in /usr/bin/amule[0x555555a01cf6]
[9] ?? in /usr/bin/amule[0x555555a069a3]
[10] ?? in /usr/bin/amule[0x555555a069d9]
[11] ?? in /usr/bin/amule[0x555555a06b40]
[12] ?? in /usr/bin/amule[0x555555a06cb0]
[13] ?? in /usr/bin/amule[0x555555a06d0c]
[14] ?? in /usr/bin/amule[0x555555a06d59]
[15] ?? in /usr/bin/amule[0x555555a06e2f]
[16] ?? in /usr/bin/amule[0x5555559eda6c]
[17] ?? in /usr/bin/amule[0x5555559ed7dd]
[18] ?? in /usr/bin/amule[0x5555559ed907]
[19] ?? in /usr/bin/amule[0x5555559e2339]
[20] ?? in /usr/bin/amule[0x5555559f8a60]
[21] wxThread::CallEntry() in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff695c53a]
[22] ?? in /usr/lib/libwx_baseu-3.0.so.0[0x7ffff69601f5]
[23] ?? in /usr/lib/libpthread.so.0[0x7ffff7f6ea92]
[24] clone in /usr/lib/libc.so.6[0x7ffff61a0cd3]

--------------------------------------------------------------------------------

Thread 16 "amule" received signal SIGABRT, Aborted.
0x00007ffff60dd82f in raise () from /usr/lib/libc.so.6
(gdb) c
Continuing.
[1] + 5630 suspended (tty output) gdb /usr/bin/amule
(0003721)
LynnRHogue   
2019-05-13 04:58   
good