FS#54584 - [xkeyboard-config] /usr/lib/X11/xkb/symbols/in breaks gnome-shell for LANG="en_IN.UTF-8"

Attached to Project: Arch Linux
Opened by Raman Mohan (mohan43u) - Sunday, 25 June 2017, 08:43 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 25 June 2017, 16:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
There is a typo error in /usr/lib/X11/xkb/symbols/in file which segfaults gnome-shell at startup. It seems to be an issue with xkeyboard-config 2.21-1.

# journalctl -b | grep xkbcommon
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: Unrecognized RMLVO option "korean:hw_keys" was ignored
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: in:1475:77: syntax error
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: Couldn't process include statement for 'in(eng)'
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: Failed to compile xkb_symbols
Jun 25 10:57:53 mohanlaptop0 org.gnome.Shell.desktop[12514]: xkbcommon: ERROR: Failed to compile keymap
Jun 25 10:57:53 mohanlaptop0 kernel: gnome-shell[12514]: segfault at 8 ip 00007f6b25562343 sp 00007fff95346568 error 6 in libxkbcommon.so.0.0.0[7f6b25546000+3e000]
#0 0x00007f6b25562343 xkb_keymap_ref (libxkbcommon.so.0)

Upstream already fixed this issue

https://cgit.freedesktop.org/xkeyboard-config/commit/?id=b3fb72308942f705e3e8e17765e4097773ed5483

It will be helpful if we change our pkgbuild to patch current xkeyboard-config 2.21-1 with this fix or take the latest upstream and provide a update.


Additional info:
* package version(s)
xkeyboard-config 2.21-1

* config and/or log files etc.
affected file: /usr/lib/X11/xkb/symbols/in

Steps to reproduce:
1. change your locale to "en_IN.UTF-8"
2. make sure you are using gdm+gnome-shell(on wayland)
3. restart your OS and login

gnome-shell segfaults with following error

Jun 25 10:57:53 mohanlaptop0 kernel: gnome-shell[12514]: segfault at 8 ip 00007f6b25562343 sp 00007fff95346568 error 6 in libxkbcommon.so.0.0.0[7f6b25546000+3e000]
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 25 June 2017, 16:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.21-2

Loading...