Hi!
Amule crashes when the download of a file finishes, it doesn't always happen, but it happens very often.
I do not start amule with interface, I use amule-daemon.
It happens to me with the amule version of the Debian repositories, and also with my compilations from the git repository.
It happens to me with amule 2.3.2 and debian 10 buster from the official repositories, amule 2.3.3 on debian 10 buster compiled by me, amule 2.3.3 debian 11 bullseye from the official repositories and with amule 2.3.3 debian 11 bullseye compiled by me.
I compile without boost as I get higher download / upload rates. But the crash occurs the same with boost as without boost.
I compile the sources following the README.Debian-Packages - dpkg-buildpackage -us -uc -b -rfakeroot.
The last compilation for these backtraces is in debug mode.
I upload the logfile and the output of the gdb as attachments.
This is the final output of the gdb when I give it to continue after removing all the info (bt, bt full, etc):
(gdb) continue
Continuing.
Assertion failed: ./src/CFile.cpp:doSeek:366: Assertion 'Assert failure' failed. ((IsOpened()))
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.
so.0[0x7ffff76863d5]
[4] ?? in /usr/bin/amuled[0x55555575b1f4]
[5] ?? in /usr/bin/amuled[0x5555557764aa]
[6] ?? in /usr/bin/amuled[0x555555797059]
[7] ?? in /usr/bin/amuled[0x5555556fefdf]
[8] ?? in /usr/bin/amuled[0x5555556cf2f7]
[9] ?? in /usr/bin/amuled[0x5555556cf9d3]
[10] ?? in /usr/bin/amuled[0x5555556d4710]
[11] ?? in /usr/bin/amuled[0x5555555f7dc3]
[12] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) in /usr/lib/x86_64-lin
ux-gnu/libwx_baseu-3.0.so.0[0x7ffff77fe241]
[13] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff77f
e333]
[14] wxEvtHandler::TryHereOnly(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff77fe67c]
[15] wxEvtHandler::ProcessEventLocally(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff77fe703]
[16] wxEvtHandler::ProcessEvent(wxEvent&) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff77fe7a1]
[17] wxEvtHandler::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff77ff14e]
[18] wxAppConsoleBase::ProcessPendingEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff7684f7f]
[19] wxEventLoopManual::ProcessEvents() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff76bdb5c]
[20] wxEventLoopManual::DoRun() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff76bdc2e]
[21] wxEventLoopBase::Run() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff76bd97d]
[22] wxAppConsoleBase::MainLoop() in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff76869a6]
[23] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff770ea19]
[24] ?? in /usr/bin/amuled[0x5555555beb82]
[25] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff7108d0a]
[26] ?? in /usr/bin/amuled[0x5555555c1a5a]
./src/CFile.cpp(366): assert "Assert failure" failed in doSeek(): ((IsOpened()))
[Detaching after vfork from child process 720380]
Call stack:
[00] 0x55555575b1f4
[01] 0x5555557764aa
[02] 0x555555797059
[03] 0x5555556fefdf
[04] 0x5555556cf2f7
[05] 0x5555556cf9d3
[06] 0x5555556d4710
[07] 0x5555555f7dc3
[08] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[09] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[10] wxEvtHandler::TryHereOnly(wxEvent&)
[11] wxEvtHandler::ProcessEventLocally(wxEvent&)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxEvtHandler::ProcessPendingEvents()
[14] wxAppConsoleBase::ProcessPendingEvents()
[15] wxEventLoopManual::ProcessEvents()
[16] wxEventLoopManual::DoRun()
[17] wxEventLoopBase::Run()
[18] wxAppConsoleBase::MainLoop()
[19] wxEntry(int&, wchar_t**)
[20] 0x5555555beb82
[Thread 0x7fffeffff700 (LWP 717815) exited]
[Thread 0x7ffff6dbb700 (LWP 649128) exited]
[Thread 0x7ffff5d83700 (LWP 649131) exited]
2021-07-09 10:45:25: amule.cpp(227): Ahora, saliendo de la aplicación principal...
2021-07-09 10:45:26: amule.cpp(257): aMule OnExit: terminando el núcleo.
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 1 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 2 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 3 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 4 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 5 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 6 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(103): Guardando el archivo de partes 7 de 7
2021-07-09 10:45:26: DownloadQueue.cpp(106): Todos los archivos de partes han sido guardados.
2021-07-09 10:45:26: amule.cpp(330): Cierre de aMule completado.
aMule Version: aMuleD GIT compiled with wxBase(GTK2) v3.0.5 (Debugging) (Snapshot: rev. 2.3.3-36-g6d4c03b00)
Terminated after throwing an instance of 'CInvalidStateEx'
what(): CRunTimeException::CInvalidStateException: Cannot seek on closed file.
Thread 1 "amuled" received signal SIGTRAP, Trace/breakpoint trap.
raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50