Created attachment 2320 [details] backtrace and log of the crash If I toggle the online mode to offline while some data is being downloaded, it sometimes crashes the application. Full backtrace is available in the attached file.
I have tried to reproduce this problem but it works fine for me every time. When toggling to offline mode and you see the 'Offline warning' dialogue, which of the 3 choices do you choose?
I chose "No".
You say "it sometimes crashes", do you notice any pattern to this, and how often is "sometimes" roughly, because it never crashes here after 25+ attempts.
In your backtrace there is a reference to pthread_kill.c. This appears to be part of the package emscripten. I do not have this installed. Do you compile claws-mail yourself or using a distro package? If that the latter, which distro?
I don't have a pattern when that occurs. I use Debian sid.
(In reply to mo01 from comment #5) I use the package from the distro repo, I don't compile myself.
Is your libetpan built againt gnuTLS or openSSL? You can check like this, perhaps changing the path libetpan.so: dd /usr/lib64/libetpan.so | grep libgnutls If the result of the command comes up empty then your libetpan is built against openssl.
sorry, I meant: ldd /usr/lib64/libetpan.so | grep libgnutls
m@ryz:~$ ldd /usr/bin/claws-mail |grep libetpa libetpan.so.20 => /lib/x86_64-linux-gnu/libetpan.so.20 (0x00007fda3cab6000) m@ryz:~$ m@ryz:~$ ldd /lib/x86_64-linux-gnu/libetpan.so.20 |grep gnutls libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007fda68800000) m@ryz:~$
This is a libetpan bug, see the mailing list thread,https://lists.claws-mail.org/pipermail/users/2024-March/032714.html
*** Bug 4692 has been marked as a duplicate of this bug. ***