Bug 4659 - crash when going into offline mode while loading posts via NNTP
Summary: crash when going into offline mode while loading posts via NNTP
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: NNTP (show other bugs)
Version: 4.1.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
: 4692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-25 12:15 UTC by Marco Moock
Modified: 2024-03-22 13:06 UTC (History)
1 user (show)

See Also:


Attachments
backtrace and log of the crash (308.61 KB, text/plain)
2023-01-25 12:15 UTC, Marco Moock
Details

Description Marco Moock 2023-01-25 12:15:21 UTC
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.
Comment 1 Paul 2023-01-25 12:46:58 UTC
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?
Comment 2 Marco Moock 2023-01-25 12:50:36 UTC
I chose "No".
Comment 3 Paul 2023-01-25 12:55:03 UTC
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.
Comment 4 Paul 2023-01-25 13:06:37 UTC
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?
Comment 5 Marco Moock 2023-01-25 13:29:49 UTC
I don't have a pattern when that occurs.

I use Debian sid.
Comment 6 Marco Moock 2023-01-25 13:34:20 UTC
(In reply to mo01 from comment #5)
I use the package from the distro repo, I don't compile myself.
Comment 7 Paul 2023-09-28 14:29:22 UTC
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.
Comment 8 Paul 2023-09-28 14:32:11 UTC
sorry, I meant:

ldd /usr/lib64/libetpan.so | grep libgnutls
Comment 9 Marco Moock 2023-09-28 18:56:18 UTC
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:~$
Comment 10 Paul 2024-03-22 13:05:34 UTC
This is a libetpan bug, see the mailing list thread,https://lists.claws-mail.org/pipermail/users/2024-March/032714.html
Comment 11 Paul 2024-03-22 13:06:52 UTC
*** Bug 4692 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.