Bug 1882947

Summary: glib2 - libgobject is causing claws-mail to seg fault
Product: [Fedora] Fedora Reporter: Edward <edwardp>
Component: glib2Assignee: Michael Schwendt <bugs.michael>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: andreas.bierfert, bugs.michael, caillon+fedoraproject, gnome-sig, john.j5live, mclasen, rhughes, rstrode, sandmann, tiagomatos
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/376534bc0680e6595c2ae09928b5c77d8ef3e349
Whiteboard: abrt_hash:35b2c493d0fd55199d7c74a1d52d34f914131bf3;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-08 12:17:37 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: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Edward 2020-09-26 22:55:07 UTC
Description of problem:
When using the MATE, LXDE, LXQt or XFCE desktop environments, if changing the desktop theme 
or window border in any of those deskops while Claws Mail is also running, Claws immediately crashes. 
Was able to duplicate this crash many times.

Version-Release number of selected component:
claws-mail-3.17.6-1.fc32

Additional info:
reporter:       libreport-2.13.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/session-5.scope
cmdline:        claws-mail mailto:?subject=Fedora%20Project%20-%20Start%20Page&body=https%3A%2F%2Fstart.fedoraproject.org%2F
crash_function: g_type_check_instance_is_a
executable:     /usr/bin/claws-mail
journald_cursor: s=fe8c6f9b1fcc4439834027ef7ecd4672;i=2aeb;b=896f1d61b3e14dada6765ffaafdf046d;m=856090d69;t=5af740d3d0279;x=bb4f8a89f0d1ee1b
kernel:         5.8.8-200.fc32.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000
xsession_errors: 

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 g_type_check_instance_is_a at ../gobject/gtype.c:4016
 #1 gtk_widget_show at gtkwidget.c:3236
 #2 gtk_box_forall at gtkbox.c:1251
 #5 gtk_paned_forall at gtkpaned.c:1462
 #6 gtk_box_forall at gtkbox.c:1251
 #8 gtk_button_setting_changed at gtkbutton.c:2122

Potential duplicate: bug 1433024

Comment 1 Edward 2020-09-26 22:55:11 UTC
Created attachment 1716900 [details]
File: backtrace

Comment 2 Edward 2020-09-26 22:55:12 UTC
Created attachment 1716901 [details]
File: core_backtrace

Comment 3 Edward 2020-09-26 22:55:13 UTC
Created attachment 1716902 [details]
File: cpuinfo

Comment 4 Edward 2020-09-26 22:55:14 UTC
Created attachment 1716903 [details]
File: dso_list

Comment 5 Edward 2020-09-26 22:55:15 UTC
Created attachment 1716904 [details]
File: environ

Comment 6 Edward 2020-09-26 22:55:16 UTC
Created attachment 1716905 [details]
File: exploitable

Comment 7 Edward 2020-09-26 22:55:17 UTC
Created attachment 1716906 [details]
File: limits

Comment 8 Edward 2020-09-26 22:55:18 UTC
Created attachment 1716907 [details]
File: maps

Comment 9 Edward 2020-09-26 22:55:19 UTC
Created attachment 1716908 [details]
File: mountinfo

Comment 10 Edward 2020-09-26 22:55:20 UTC
Created attachment 1716909 [details]
File: open_fds

Comment 11 Edward 2020-09-26 22:55:21 UTC
Created attachment 1716910 [details]
File: proc_pid_status

Comment 12 Edward 2020-09-27 18:20:41 UTC
Both LXDE and LXQt technically have two methods to change the theme or
window border. One way is to go to Preferences/Customize Look and Feel/Window Border (CLF). 
The other is to go to Preferences/Openbox Configuration Manager/Theme (OCM). 

For both desktops, the OCM method is the proper way to change the
theme/window border, which I did not know beforehand. All this time, I
had been using the CLF method - which actually performs the same
procedure.

I disabled GLX to see if perhaps it was related to these crashes. 

On this system (with an AMD Radeon 3000 GPU), the following occurred:

With GLX disabled:

LXDE - Using the CLF method, no crash.
       Using the OCM method, no crash.

LXQt - Using the CLF method, crash.
       Using the OCM method, no crash.


With GLX enabled (the system default for a new installation):

LXDE - Using the CLF method, crash.
       Using the OCM method, no crash.

LXQt - Using the CLF method, crash.
       Using the OCM method, no crash.

With and without GLX enabled, Claws continues to crash with the MATE and
XFCE desktops when changing the themes via the proper method for both
those desktops.

Comment 13 Michael Schwendt 2020-09-27 23:06:40 UTC
You have reported this to upstream already. It is not specific to the packaging done by Fedora.

Comment 14 Edward 2020-09-28 12:48:35 UTC
libgobject is causing Claws Mail to crash/seg fault.

Comment 15 Edward 2020-10-08 12:16:44 UTC
A new glib2 package was released. With this new version installed, I was unable to get Claws Mail to crash from the information in Comment 12 using the LXDE desktop.