Bug 1232447

Summary: [abrt] claws-mail: claws-mail killed by SIGSEGV
Product: [Fedora] Fedora Reporter: satellitgo
Component: gnutlsAssignee: Nikos Mavrogiannopoulos <nmavrogi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, bugs.michael, kupo, nmavrogi, satellitgo, ssorce, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/859abf98bc7396f0ae613f1c1404ef2ee13ff321
Whiteboard: abrt_hash:c4318ea0806de7e87222a39015cec6eef9646549
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-18 14:24:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description satellitgo 2015-06-16 18:55:30 UTC
Description of problem:
tried to log in to claws-mail in f23 mate x86_64

Version-Release number of selected component:
claws-mail-3.11.1-10.fc23

Additional info:
reporter:       libreport-2.6.0
backtrace_rating: 3
cmdline:        claws-mail
executable:     /usr/bin/claws-mail
global_pid:     1753
kernel:         4.1.0-0.rc8.git0.1.fc23.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 ??
 #1 _gnutls_gen_extensions at gnutls_extensions.c:270
 #2 send_client_hello at gnutls_handshake.c:2104
 #3 send_hello at gnutls_handshake.c:2236
 #4 handshake_client at gnutls_handshake.c:2713
 #5 gnutls_handshake at gnutls_handshake.c:2569
 #6 ssl_data_new at mailstream_ssl.c:590
 #7 tls_data_new at mailstream_ssl.c:631
 #8 mailstream_low_ssl_open_full at mailstream_ssl.c:685
 #9 mailstream_low_ssl_open_with_callback_timeout at mailstream_ssl.c:1173

Comment 1 satellitgo 2015-06-16 18:55:32 UTC
Created attachment 1039615 [details]
File: backtrace

Comment 2 satellitgo 2015-06-16 18:55:33 UTC
Created attachment 1039616 [details]
File: cgroup

Comment 3 satellitgo 2015-06-16 18:55:34 UTC
Created attachment 1039617 [details]
File: core_backtrace

Comment 4 satellitgo 2015-06-16 18:55:35 UTC
Created attachment 1039618 [details]
File: dso_list

Comment 5 satellitgo 2015-06-16 18:55:36 UTC
Created attachment 1039619 [details]
File: environ

Comment 6 satellitgo 2015-06-16 18:55:36 UTC
Created attachment 1039620 [details]
File: limits

Comment 7 satellitgo 2015-06-16 18:55:37 UTC
Created attachment 1039621 [details]
File: maps

Comment 8 satellitgo 2015-06-16 18:55:38 UTC
Created attachment 1039622 [details]
File: mountinfo

Comment 9 satellitgo 2015-06-16 18:55:38 UTC
Created attachment 1039623 [details]
File: namespaces

Comment 10 satellitgo 2015-06-16 18:55:39 UTC
Created attachment 1039624 [details]
File: open_fds

Comment 11 satellitgo 2015-06-16 18:55:40 UTC
Created attachment 1039625 [details]
File: proc_pid_status

Comment 12 satellitgo 2015-06-16 18:55:40 UTC
Created attachment 1039626 [details]
File: var_log_messages

Comment 13 Michael Schwendt 2015-06-16 21:38:18 UTC
Is it reproducible?

(JFYI, gnutls has been upgraded recently, and it crashes in gnutls)

Comment 14 Michael Schwendt 2015-06-18 12:35:34 UTC
So, tried out Rawhide GNOME Workstation 20150617 Live image, and it is fully reproducible. As gnome-terminal also crashes with gnutls in the backtrace, this is reason enough to believe the new gnutls has changed something in bad ways.

Comment 15 Nikos Mavrogiannopoulos 2015-06-18 12:37:00 UTC
Was that image made after the mass rebuild?

Comment 16 Tomas Mraz 2015-06-18 12:50:23 UTC
I do not think the mass rebuild is complete yet.

Comment 17 Michael Schwendt 2015-06-18 13:03:05 UTC
What is the mass rebuild supposed to fix here anyway? Isn't it done primarily for the GCC 5 C++ ABI issues?

Today's Rawhide builds have not arrived yet. Else the installation is up-to-date.

Comment 18 Nikos Mavrogiannopoulos 2015-06-18 13:36:34 UTC
Yes, the mass rebuild will fix these issues. The issue is in the programs which are linked both with the new and old gnutls library.

You can test that using ldd:
$ ldd /usr/bin/vinagre |grep gnutls
	libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007fddc00c1000)
	libgnutls.so.28 => /lib64/libgnutls.so.28 (0x00007fddb6be2000)

Comment 19 Michael Schwendt 2015-06-18 13:46:32 UTC
What may be true for vinagre does not apply always:

$ ldd /usr/bin/gnome-terminal|grep gnutls
	libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f1096a1a000)
$ ldd /usr/bin/claws-mail |grep gnutls
	libgnutls.so.30 => /lib64/libgnutls.so.30 (0x00007f64a8d81000)

What package(s) will need to be rebuilt?

Comment 20 Tomas Mraz 2015-06-18 13:53:47 UTC
Could it be that the old gnutls is pulled in as some dlopened library dependency?

Comment 21 Tomas Mraz 2015-06-18 13:55:20 UTC
And if you remove (or move away) the old libgnutls from the system, does it still crash?

Comment 22 Nikos Mavrogiannopoulos 2015-06-18 14:23:53 UTC
These specific crashes should be solved by gnutls-3.4.2-2.fc23 build. Please reopen if they don't.