Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1543128

Summary: [abrt] gnome-shell: xkb_keymap_ref(): gnome-shell killed by SIGSEGV
Product: Red Hat Enterprise Linux 7 Reporter: Matěj Cepl <mcepl>
Component: mutterAssignee: Florian Müllner <fmuellner>
Status: CLOSED NEXTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: esauloff, extras-qa, fedora, fmuellner, gnome-sig, mikhail.v.gavrilov, otaylor, peter, riototype, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/17c0afe54f67a23d7c28f69958affec29fd9d094
Whiteboard: abrt_hash:c50731d04df538049ea732054a5625b4389d0b2e;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1507656 Environment:
Last Closed: 2018-06-29 08:46:58 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:
Bug Depends On: 1507656    
Bug Blocks:    

Description Matěj Cepl 2018-02-07 19:17:16 UTC
Upstream bug is Gnome 787422

+++ This bug was initially created as a clone of Bug #1507656 +++

Version-Release number of selected component:
gnome-shell-3.26.1-2.fc27

Additional info:
reporter:       libreport-2.9.2
backtrace_rating: 3
cmdline:        /usr/bin/gnome-shell
crash_function: xkb_keymap_ref
executable:     /usr/bin/gnome-shell
journald_cursor: s=d32a4e29ca0d4b22a542259de8ac73f9;i=bf7;b=b19664eb73b0447bbdb8b1b3f88fbff0;m=57a2f0e;t=55cc7446575af;x=74257d2a0d68a86f
kernel:         4.13.9-300.fc27.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 xkb_keymap_ref at src/keymap.c:59
 #1 clutter_evdev_set_keyboard_map at evdev/clutter-device-manager-evdev.c:2409
 #2 meta_backend_native_set_keymap at backends/native/meta-backend-native.c:496
 #3 ffi_call_unix64 at ../src/x86/unix64.S:76
 #4 ffi_call at ../src/x86/ffi64.c:525
 #5 gjs_invoke_c_function at gi/function.cpp:1033
 #6 function_call at gi/function.cpp:1351
 #7 js::CallJSNative at /usr/src/debug/mozjs52-52.4.0-1.fc27.x86_64/jscntxtinlines.h:239
 #8 js::InternalCallOrConstruct at /usr/src/debug/mozjs52-52.4.0-1.fc27.x86_64/vm/Interpreter.cpp:447
 #9 js::CallFromStack at /usr/src/debug/mozjs52-52.4.0-1.fc27.x86_64/vm/Interpreter.cpp:510

Potential duplicate: bug 1349265

--- Additional comment from Peter on 2017-10-30 21:08:29 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:31 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:34 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:35 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:38 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:40 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:42 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:43 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:48 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:53 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:55 CET ---



--- Additional comment from Peter on 2017-10-30 21:08:57 CET ---



--- Additional comment from Christian Stadelmann on 2017-11-29 22:12:34 CET ---

I am seeing this crash quite often on login, where gnome-shell crashes before having finished startup, and which results in an Xwayland crash: https://bugzilla.redhat.com/show_bug.cgi?id=1510078

--- Additional comment from Christian Stadelmann on 2017-11-29 23:03:24 CET ---

Also, the crash has been present for a few releases:
https://bugzilla.redhat.com/show_bug.cgi?id=1398128
https://bugzilla.redhat.com/show_bug.cgi?id=1398142
https://bugzilla.redhat.com/show_bug.cgi?id=1441490

More details and a few hints what might cause the bug can be found upstream: https://bugzilla.gnome.org/show_bug.cgi?id=782688

--- Additional comment from Christian Stadelmann on 2017-11-29 23:16:52 CET ---

Just in case, this is the logging output before the crash from xkbcommon:

Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR: Couldn't find file "rules/evdev" in include paths
Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR: 1 include paths searched:
Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR:         /usr/share/X11/xkb
Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR: 1 include paths could not be added:
Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR:         /home/username/.xkb
Nov 29 20:17:53 hostname org.gnome.Shell.desktop[2161]: xkbcommon: ERROR: Couldn't look up rules 'evdev', model 'pc105+inet', layout 'de,de,us,de', variant 'neo,nodeadkeys,,', options 'grp:sclk_toggle'
Nov 29 20:17:53 hostname kernel: show_signal_msg: 51 callbacks suppressed

--- Additional comment from Mikhail on 2017-12-06 21:05:24 CET ---

Similar problem has been detected:

just login into system with Wayland session

reporter:       libreport-2.9.3
backtrace_rating: 3
cmdline:        /usr/bin/gnome-shell
crash_function: xkb_keymap_ref
executable:     /usr/bin/gnome-shell
journald_cursor: s=76d2444e84524432975cafac5aee4189;i=43be;b=12b9130fb96040639cb156369526bbe1;m=33b743f;t=55fb15ea0db39;x=3a0c58ae732ae94b
kernel:         4.15.0-rc2-amd-vega+
package:        gnome-shell-3.26.2-1.fc27
reason:         gnome-shell killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

--- Additional comment from Andrey on 2018-01-25 15:46:55 CET ---

Comment 3 Matěj Cepl 2018-02-07 19:20:19 UTC
The basic problem is that when keyboard layout is changed (via localectl in my case), mutter is not able to take it in some times. More details in the upstream bug.

Comment 4 Matěj Cepl 2018-02-08 14:17:08 UTC
Still can reproduce with gnome-shell-3.26.2-2.el7.x86_64, mutter-3.26.2-7.el7.x86_64, xorg-x11-server-Xwayland-1.19.5-2.el7.x86_64, gjs-1.50.4-1.el7.x86_64, and kernel-3.10.0-845.el7.x86_64. Coredumps and backtrace are on http://file.rdu.redhat.com/~mcepl/crash-2018-02-08/ and exact reproduction steps are in bug 1543474.

Comment 5 Matěj Cepl 2018-02-08 14:18:40 UTC
The situation described in comment 4, I didn't have anything special set up with localectl, just

matej@mitmanek: ~$ localectl 
   System Locale: LANG=en_IE.UTF-8
       VC Keymap: cz-qwerty
      X11 Layout: cz
matej@mitmanek: ~$