Bug 1176213

Summary: [abrt] gnome-settings-daemon: _gdk_x11_display_error_event(): gnome-settings-daemon killed by SIGTRAP
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Koten <jkoten>
Component: gnome-settings-daemonAssignee: Rui Matos <rmatos>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: mboisver, tpelka, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a9fe2a37ee2bb09445aa5436904bb1aa0ad63303
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 08:27:13 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: open_fds
none
File: proc_pid_status
none
File: var_log_messages
none
File: sosreport.tar.xz none

Description Jiri Koten 2014-12-19 17:15:58 UTC
Version-Release number of selected component:
gnome-settings-daemon-3.8.6.1-12.el7

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-settings-daemon
crash_function: _gdk_x11_display_error_event
executable:     /usr/libexec/gnome-settings-daemon
kernel:         3.10.0-217.el7.x86_64
runlevel:       N 5
type:           CCpp
uid:            1002

Truncated backtrace:
Thread no. 1 (10 frames)
 #2 _gdk_x11_display_error_event at gdkdisplay-x11.c:2557
 #5 handle_error at xcb_io.c:213
 #6 handle_response at xcb_io.c:325
 #8 XOpenDevice at XOpenDev.c:83
 #9 open_gdk_device at gsd-mouse-manager.c:154
 #10 set_motion at gsd-mouse-manager.c:413
 #11 set_mouse_settings at gsd-mouse-manager.c:961
 #12 device_added_cb at gsd-mouse-manager.c:1149
 #16 g_signal_emit_by_name at gsignal.c:3403
 #17 add_device at gdkdevicemanager-xi2.c:421

Potential duplicate: bug 1033080

Comment 1 Jiri Koten 2014-12-19 17:16:00 UTC
Created attachment 971262 [details]
File: backtrace

Comment 2 Jiri Koten 2014-12-19 17:16:01 UTC
Created attachment 971263 [details]
File: cgroup

Comment 3 Jiri Koten 2014-12-19 17:16:03 UTC
Created attachment 971264 [details]
File: core_backtrace

Comment 4 Jiri Koten 2014-12-19 17:16:04 UTC
Created attachment 971265 [details]
File: dso_list

Comment 5 Jiri Koten 2014-12-19 17:16:05 UTC
Created attachment 971266 [details]
File: environ

Comment 6 Jiri Koten 2014-12-19 17:16:06 UTC
Created attachment 971267 [details]
File: limits

Comment 7 Jiri Koten 2014-12-19 17:16:08 UTC
Created attachment 971268 [details]
File: maps

Comment 8 Jiri Koten 2014-12-19 17:16:09 UTC
Created attachment 971269 [details]
File: open_fds

Comment 9 Jiri Koten 2014-12-19 17:16:10 UTC
Created attachment 971270 [details]
File: proc_pid_status

Comment 10 Jiri Koten 2014-12-19 17:16:11 UTC
Created attachment 971271 [details]
File: var_log_messages

Comment 11 Jiri Koten 2014-12-19 17:17:03 UTC
Created attachment 971272 [details]
File: sosreport.tar.xz

Comment 14 Bastien Nocera 2015-03-31 11:59:05 UTC
We probably won't be able to reproduce the problem ourselves, but we can check that the code does block X11 errors when we upgrade to the newer version of GNOME for 7.2.

Comment 15 Bastien Nocera 2015-05-15 13:16:51 UTC
The error is caused by a device being unplugged:
        msg = 0xc3d520 "The program 'gnome-settings-daemon' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'XI_BadDevice (invalid Device parameter)'.\n  (Details: serial 635 erro"...

Which should be fixed by:

commit a800b3333c8a4501fa501aa918c4d2f88c20e9fd
Author: Peter Hutterer <peter.hutterer>
Date:   Thu Feb 20 17:21:21 2014 +1000

    common: provide a helper function to close an XDevice safely
    
    XCloseDevice may cause a BadDevice error if the device disappeared before we
    close it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724789

Which will be in gnome-settings-daemon from version 3.11.91, so in the 3.14.x in the RHEL 7.2 rebase.

Comment 18 errata-xmlrpc 2015-11-19 08:27:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2157.html