Bug 4148 - Claws Mail Freezes on Fedora
Summary: Claws Mail Freezes on Fedora
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.17.4
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2019-01-18 18:35 CET by Jakub Jankiewicz
Modified: 2019-03-29 03:33 CET (History)
0 users

See Also:


Attachments
Stack Trace from gdb (5.54 KB, text/plain)
2019-01-18 18:35 CET, Jakub Jankiewicz
no flags Details
Last messages plus stack trace (9.64 KB, text/plain)
2019-01-18 20:33 CET, Jakub Jankiewicz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Jankiewicz 2019-01-18 18:35:30 CET
Created attachment 1952 [details]
Stack Trace from gdb

I had version 3.16 I believe (maybe old installation from git on top of Fedora package) and now I've installed 3.17.3git41 and the issue still happen.

It runs for a while and it freezes for no reason consuming 100% of one of my CPU threads (I have 8 - 4 cores + hyper thread).

To fix I need to kill claws-mail and run it again. Sometimes it don't consume 100% CPU, I can click on message (in message list) but the message details view is not changed, and just after I click the message it consume 100% CPU (1 thread) - this is the case I'm seeing now. I have message in status bar that he try to fetch message from one of my mailboxes, I'm not sure if it was always there when It freezes.

I'm attaching the gdb stack trace (out of CTRL+C + `thread apply all bt`).

this is the last message I've got before I hit CTRL+C to get stack Trace:

[New Thread 0x7fffe59ac700 (LWP 14110)]
ssl.c:311:waiting for SSL_connect thread...
[Thread 0x7fffe59ac700 (LWP 14110) exited]
ssl.c:329:SSL_connect thread returned 0
ssl_certificate.c:270:got 129 certs in crt_list! 0x7fffffffd4d0
ssl_certificate.c:449:got /home/kuba/.claws-mail/certs/pop3.poczta.onet.pl.995.02:E6:6D:BA:7B:D3:4B:47:F4:E9:2E:7C:56:12:5A:D9.cert first try
ssl_certificate.c:270:got 1 certs in crt_list! 0x7fffffffd300
ssl_certificate.c:459:got cert 0x1ef35a0
ssl_certificate.c:185:writing 2159 bytes
ssl_certificate.c:185:writing 1635 bytes
file-utils.c:58:TIMING safe_fclose : 0s105ms
session.c:223:session (0xe88990): connected
[17:42:55] POP< +OK Onet server ready.
[17:42:55] POP> USER jcubic@onet.pl
[17:42:55] POP< +OK
[17:42:55] POP> PASS ********
^C
Thread 1 "claws-mail" received signal SIGINT, Interrupt.
0x00007ffff6ee6421 in poll () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install adwaita-gtk2-theme-3.28-2.fc29.x86_64 atk-2.30.0-1.fc29.x86_64 bzip2-libs-1.0.6-28.fc29.x86_64 cairo-1.16.0-3.fc29.x86_64 cyrus-sasl-gssapi-2.1.27-0.3rc7.fc29.x86_64 cyrus-sasl-lib-2.1.27-0.3rc7.fc29.x86_64 cyrus-sasl-md5-2.1.27-0.3rc7.fc29.x86_64 cyrus-sasl-plain-2.1.27-0.3rc7.fc29.x86_64 cyrus-sasl-scram-2.1.27-0.3rc7.fc29.x86_64 dbus-libs-1.12.10-1.fc29.x86_64 expat-2.2.6-1.fc29.x86_64 flac-libs-1.3.2-8.fc29.x86_64 fontconfig-2.13.1-3.fc29.x86_64 freetype-2.9.1-6.fc29.x86_64 fribidi-1.0.5-1.fc29.x86_64 gdk-pixbuf2-2.38.0-4.fc29.x86_64 gdk-pixbuf2-modules-2.38.0-4.fc29.x86_64 glib2-2.58.1-1.fc29.x86_64 gmp-6.1.2-8.fc29.x86_64 gnutls-3.6.5-2.fc29.x86_64 graphite2-1.3.10-6.fc29.x86_64 gsm-1.0.18-3.fc29.x86_64 gtk2-2.24.32-3.fc29.x86_64 gvfs-client-1.38.1-1.fc29.x86_64 harfbuzz-1.8.7-1.fc29.x86_64 ibus-gtk2-1.5.19-11.fc29.x86_64 ibus-libs-1.5.19-11.fc29.x86_64 krb5-libs-1.16.1-21.fc29.x86_64 libICE-1.0.9-14.fc29.x86_64 libSM-1.2.3-1.fc29.x86_64 libX11-1.6.7-1.fc29.x86_64 libXcomposite-0.4.4-15.fc29.x86_64 libXcursor-1.1.15-4.fc29.x86_64 libXdamage-1.1.4-15.fc29.x86_64 libXext-1.3.3-10.fc29.x86_64 libXfixes-5.0.3-8.fc29.x86_64 libXinerama-1.1.4-2.fc29.x86_64 libXrandr-1.5.1-8.fc29.x86_64 libXrender-0.9.10-8.fc29.x86_64 libXtst-1.2.3-8.fc29.x86_64 libasyncns-0.8-15.fc29.x86_64 libblkid-2.32.1-1.fc29.x86_64 libcanberra-0.30-17.fc29.x86_64 libcanberra-gtk2-0.30-17.fc29.x86_64 libcap-2.25-12.fc29.x86_64 libcom_err-1.44.3-1.fc29.x86_64 libcroco-0.6.12-5.fc29.x86_64 libdatrie-0.2.9-8.fc29.x86_64 libdb-5.3.28-33.fc29.x86_64 libetpan-1.9.2-1.fc29.x86_64 libffi-3.1-18.fc29.x86_64 libgpg-error-1.31-2.fc29.x86_64 libidn2-2.0.5-2.fc29.x86_64 liblockfile-1.14-2.fc29.x86_64 libmount-2.32.1-1.fc29.x86_64 libnotify-0.7.7-6.fc29.x86_64 libpng-1.6.34-6.fc29.x86_64 librsvg2-2.44.9-1.fc29.x86_64 libselinux-2.8-4.fc29.x86_64 libsndfile-1.0.28-9.fc29.x86_64 libstdc++-8.2.1-6.fc29.x86_64 libthai-0.1.28-1.fc29.x86_64 libunistring-0.9.10-4.fc29.x86_64 libuuid-2.32.1-1.fc29.x86_64 libvorbis-1.3.6-3.fc29.x86_64 libxcb-1.13.1-1.fc29.x86_64 libxcrypt-4.4.1-1.fc29.x86_64 libxml2-2.9.8-4.fc29.x86_64 nettle-3.4.1rc1-1.fc29.x86_64 openssl-libs-1.1.1-3.fc29.x86_64 pango-1.42.4-1.fc29.x86_64 pcre-8.42-5.fc29.x86_64 pcre2-10.32-4.fc29.x86_64 pulseaudio-libs-12.2-1.fc29.x86_64 zlib-1.2.11-14.fc29.x86_64


I can check if next time is the same.
Comment 1 Jakub Jankiewicz 2019-01-18 20:33:57 CET
Created attachment 1953 [details]
Last messages plus stack trace

This is another instance when it freezes, it show last messages before it freezes + stack trace from gdb.
Comment 2 Jakub Jankiewicz 2019-01-29 22:46:07 CET
This is probably related to http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2922
Comment 3 Paul 2019-03-01 17:16:31 CET
There's a problem with libnotify on fedora. If you are using the Notification plugin, try unloading it and see if that helps.
Comment 4 Paul 2019-03-01 17:24:45 CET
I loaded the Notification plugin on fedora, using the sysTrayicon module, and I get the 'freezes' on receving mail, and the 100% CPU spike on 1 cpu. `claws-mail --debug` shows

(claws-mail:5999): libnotify-WARNING **: 16:18:59.090: Failed to connect to proxy

several times during this.
Comment 5 Jakub Jankiewicz 2019-03-01 18:47:30 CET
So it's bug in Libnotify, I also found report for other app with same error/warning and freezing
https://github.com/meetfranz/franz/issues/592

and reported it to Fedora:

https://bugzilla.redhat.com/show_bug.cgi?id=1684638
Comment 6 Jakub Jankiewicz 2019-03-05 12:02:47 CET
I have question, should it also freeze (same libnotify issue) when I'll use the plugin but disable notifications in options to have tray tray icon?

Because it just freezed after few days without issues.
Comment 7 Mike 2019-03-29 03:33:39 CET
In Windows, I find frequent freezing and similar issues as described above-- freezing just when mail is received, and when switching messages.