Bug 2236832 - [abrt] tecla: xkb_keymap_ref(): tecla killed by SIGSEGV
Summary: [abrt] tecla: xkb_keymap_ref(): tecla killed by SIGSEGV
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tecla
Version: 39
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact:
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e147c559dfc00c5d1fd44ca9b66...
: 2267691 2279591 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-01 17:08 UTC by Michael Catanzaro
Modified: 2024-05-07 16:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.46 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: maps (3.87 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: limits (1.29 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: environ (1.77 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: open_fds (1.02 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: mountinfo (3.18 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: os_info (756 bytes, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: cpuinfo (3.04 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: core_backtrace (15.62 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: exploitable (81 bytes, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: dso_list (361 bytes, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: var_log_messages (1.28 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details
File: backtrace (32.47 KB, text/plain)
2023-09-01 17:08 UTC, Michael Catanzaro
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME tecla issues 20 0 None opened tecla either crashes or displays a blank window if mapping is not found 2023-11-21 10:52:37 UTC
GNOME Gitlab GNOME tecla issues 7 0 None opened Couldn't find symbols/azerty in include paths 2023-09-01 17:11:23 UTC

Description Michael Catanzaro 2023-09-01 17:08:35 UTC
Description of problem:
https://gitlab.gnome.org/GNOME/tecla/-/issues/7

Version-Release number of selected component:
tecla-45~beta-1.fc39

Additional info:
reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=c843df8bee4b4b56a15bd4ecafa08214;i=e59f58;b=eb7f9a50018f48478fabdeb13788dfe5;m=2908ff3b3;t=6044f2a01d391;x=4a6d16e7e010d790
executable:     /usr/bin/tecla
cmdline:        tecla us+dvorak
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Settings-35085.scope
rootdir:        /
uid:            1000
kernel:         6.5.0-0.rc7.20230821gitf7757129e3de.50.fc39.x86_64
package:        tecla-45~beta-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref
comment:        https://gitlab.gnome.org/GNOME/tecla/-/issues/7

Truncated backtrace:
Thread no. 1 (3 frames)
 #0 xkb_keymap_ref at ../src/keymap.c:61
 #1 tecla_model_new_from_xkb_keymap at ../src/tecla-model.c:294
 #2 tecla_model_new_from_layout_name at ../src/tecla-model.c:315

Comment 1 Michael Catanzaro 2023-09-01 17:08:38 UTC
Created attachment 1986604 [details]
File: proc_pid_status

Comment 2 Michael Catanzaro 2023-09-01 17:08:40 UTC
Created attachment 1986605 [details]
File: maps

Comment 3 Michael Catanzaro 2023-09-01 17:08:42 UTC
Created attachment 1986606 [details]
File: limits

Comment 4 Michael Catanzaro 2023-09-01 17:08:43 UTC
Created attachment 1986607 [details]
File: environ

Comment 5 Michael Catanzaro 2023-09-01 17:08:45 UTC
Created attachment 1986608 [details]
File: open_fds

Comment 6 Michael Catanzaro 2023-09-01 17:08:46 UTC
Created attachment 1986609 [details]
File: mountinfo

Comment 7 Michael Catanzaro 2023-09-01 17:08:48 UTC
Created attachment 1986610 [details]
File: os_info

Comment 8 Michael Catanzaro 2023-09-01 17:08:49 UTC
Created attachment 1986611 [details]
File: cpuinfo

Comment 9 Michael Catanzaro 2023-09-01 17:08:50 UTC
Created attachment 1986612 [details]
File: core_backtrace

Comment 10 Michael Catanzaro 2023-09-01 17:08:51 UTC
Created attachment 1986613 [details]
File: exploitable

Comment 11 Michael Catanzaro 2023-09-01 17:08:53 UTC
Created attachment 1986614 [details]
File: dso_list

Comment 12 Michael Catanzaro 2023-09-01 17:08:54 UTC
Created attachment 1986615 [details]
File: var_log_messages

Comment 13 Michael Catanzaro 2023-09-01 17:08:56 UTC
Created attachment 1986616 [details]
File: backtrace

Comment 14 arto 2023-10-17 10:39:03 UTC
tried to open keyboard view 


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=f70737b67d414a1aa63e36e3b9b76442;i=427a1;b=0ddbe45dc70c445290e7ed85a58a272a;m=51fd2a37a;t=607e70ad9b952;x=a830f91f13b19f43
executable:     /usr/bin/tecla
cmdline:        /usr/bin/tecla default
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Settings.SearchProvider
rootdir:        /
uid:            1000
kernel:         6.5.6-300.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref
comment:        tried to open keyboard view

Comment 15 perl0n 2023-11-19 11:30:53 UTC
Depuis le raccourci présent dans ma barre des taches (me permettant de basculer en différent layout clavier) , j'ai cliqué sur "afficher la disposition du clavier"


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=199246427b404f3cb47a3c57e1a838eb;i=4b220;b=3a25a3a811dd4edfb4715d6a9c196757;m=596515ee;t=60a7f8524e71a;x=6cf5c8e057ee8447
executable:     /usr/bin/tecla
cmdline:        tecla $'fr\tazerty'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-10868.scope
rootdir:        /
uid:            1000
kernel:         6.5.11-300.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
comment:        Depuis le raccourci présent dans ma barre des taches (me permettant de basculer en différent layout clavier) , j'ai cliqué sur "afficher la disposition du clavier"
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 16 Zbigniew Jędrzejewski-Szmek 2023-11-21 10:18:16 UTC
I added fi and fi-mac layouts using gnome-settings, selected fi-mac, and then "Show Keyboard Layout". With 'fi-mac', it always crashes.


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=b0950a8fa6154271bc2b5aaf67c3649d;i=406660c;b=2c3729b618374bbab0fe2a088fa9aca3;m=57ea18a90d;t=60aa6cbf94006;x=8cac57de0606911e
executable:     /usr/bin/tecla
cmdline:        tecla $'fi\tmac'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-815681.scope
rootdir:        /
uid:            1000
kernel:         6.5.10-300.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref
comment:        I added fi and fi-mac layouts using gnome-settings, selected fi-mac, and then "Show Keyboard Layout". With 'fi-mac', it always crashes.

Comment 17 Zbigniew Jędrzejewski-Szmek 2023-11-21 10:22:28 UTC
I guess it might always crash if it cannot find the layout.
Two of the reports are about a layout with a tab in the name,
but the layout has a dash in the file on disk ('fi\tmac' vs. 'fi-mac').
The result is the same when called with a non-existing layout:

$ tecla asdfsafd                               
xkbcommon: ERROR: [XKB-338] Couldn't find file "symbols/asdfsafd" in include paths
xkbcommon: ERROR: [XKB-338] 1 include paths searched:
xkbcommon: ERROR: [XKB-338] 	/usr/share/X11/xkb
xkbcommon: ERROR: [XKB-338] 4 include paths could not be added:
xkbcommon: ERROR: [XKB-338] 	/home/zbyszek/.config/xkb
xkbcommon: ERROR: [XKB-338] 	/home/zbyszek/.config/xkb
xkbcommon: ERROR: [XKB-338] 	/home/zbyszek/.xkb
xkbcommon: ERROR: [XKB-338] 	/etc/xkb
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[1]    816610 segmentation fault (core dumped)  tecla asdfsafd

Comment 18 Nico Madysa 2023-12-10 21:29:16 UTC
clicked "show keyboard layout" in the context menu of the layout switcher in the top-right gnome menu


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=1abf5a9128b2474098abc14785c6e27b;i=668a3;b=1c33425604a846338e3a419f153a6c9f;m=dfc3dc8001;t=60c2dc709f5d6;x=c21baf6167ca2a56
executable:     /usr/bin/tecla
cmdline:        tecla $'us\tsymbolic'
rootdir:        /
uid:            1000
kernel:         6.6.2-201.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref
comment:        clicked "show keyboard layout" in the context menu of the layout switcher in the top-right gnome menu

Comment 19 phil 2023-12-13 09:25:18 UTC
I tried to open the keyboard viewer after I added a new keyboard layout and removed one (added ¨us international with dead keys¨, and removed `us`)


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=9dd1e93aad1f43628df9c6b989b13c77;i=76d4e;b=eb2b7d6b682a428c8ad193b0d9c93d8d;m=1206460b4;t=60c60a2d6d963;x=7d70cbc9cde50301
executable:     /usr/bin/tecla
cmdline:        tecla $'us\tintl'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-18278.scope
rootdir:        /
uid:            1000
kernel:         6.6.4-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
comment:        I tried to open the keyboard viewer after I added a new keyboard layout and removed one (added ¨us international with dead keys¨, and removed `us`)
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 20 Frank de Groot - Schouten 2023-12-15 22:03:47 UTC
Clicked keyboard layout in top right corner on Dutch (US) layout.
Works for US English layout, switching keyboard layout while showing the layout works but shows title Keyboard Layout - (null)


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=7a775c7b0ee449468aa807ba456bd2f2;i=4546;b=4efff3e223b642ad9ff855e676d87521;m=d8b274bf;t=60c937d129bb8;x=7f46ef04ecc18a29
executable:     /usr/bin/tecla
cmdline:        tecla $'nl\tus'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-15158.scope
rootdir:        /
uid:            1000
kernel:         6.6.6-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 21 Albert Larsan 2023-12-15 22:25:14 UTC
1. Add multiple keyboard layouts (I had French (AZERTY), French (BÃPO), and English (US))
2. Try to open the keyboard layout via the top bar button, then "Show keyboard layout)
3. See the ABRT notification appear, and no keyboard on screen.


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=5955047738684684bc1f491bb5e7291e;i=1c85003;b=5cefee4627c14f5b83584964414abb77;m=4821ec6b7;t=60c796876cd94;x=c0eef10058e6026c
executable:     /usr/bin/tecla
cmdline:        tecla $'fr\tazerty'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-44883.scope
rootdir:        /
uid:            1000
kernel:         6.6.6-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 22 Andrei Iancu 2023-12-21 11:48:13 UTC
Requirements: GNOME session running (Fedora 39, GNOME 45.2), romanian (standard) keyboard layout
How to reproduce: On the top bar click on the keyboard language icon ("ro", in my case), then click on "show keyboard layout" and the crash happens. If the kyboard is on english US layout it doesn't crash.

Note: my system is using romanian as main language, locale, interface.


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=a798bb2595484c369476f1b74dc43b35;i=21efb2;b=e6e23b1685594466be6ef8e461ad0a85;m=40ddfe1;t=60d036eb7d98a;x=f958d5d43df131df
executable:     /usr/bin/tecla
cmdline:        tecla $'ro\tstd'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-3676.scope
rootdir:        /
uid:            1000
kernel:         6.6.7-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 23 Yannick Defais 2024-01-15 21:13:01 UTC
I have 2 keyboard layouts. Using the upper gnome bar to select the layout, there is an option to display the layout. Using it make this crash.


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=981a4fa48f884a44ae2ae6e80a2e397b;i=2a8569;b=165e86eb3d61400cae6fd516b5e0a2e3;m=5feb11524;t=60f0270a71e8b;x=14e40035bb410fb3
executable:     /usr/bin/tecla
cmdline:        tecla $'fr\toss'
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/app-gnome-tecla-131619.scope
rootdir:        /
uid:            1001
kernel:         6.6.8-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref
comment:        I have 2 keyboard layouts. Using the upper gnome bar to select the layout, there is an option to display the layout. Using it make this crash.

Comment 24 Serge van Thillo 2024-01-16 14:55:55 UTC
When launching tecla from the gnome-shell keyboard shortcut, with parameters for us intl keyboard layout, the application crashes.

When running it command line without parameters everything is well, when running the same command with parameters the application crashes again:

> tecla $'us\tintl'
xkbcommon: ERROR: [XKB-338] Couldn't find file "symbols/us      intl" in include paths
xkbcommon: ERROR: [XKB-338] 1 include paths searched:
xkbcommon: ERROR: [XKB-338]     /usr/share/X11/xkb
xkbcommon: ERROR: [XKB-338] 4 include paths could not be added:
xkbcommon: ERROR: [XKB-338]     /home/name/.config/xkb
xkbcommon: ERROR: [XKB-338]     /home/name/.config/xkb
xkbcommon: ERROR: [XKB-338]     /home/name/.xkb
xkbcommon: ERROR: [XKB-338]     /etc/xkb
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
Segmentation fault (core dumped)


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=639c0069f39d430db7ee1238f74dbf9a;i=2bfe69;b=1951a26130374bef882ac85ad787e662;m=2421962e7;t=60f11169e5861;x=5b649bb9b81c870d
executable:     /usr/bin/tecla
cmdline:        tecla $'us\tintl'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-24544.scope
rootdir:        /
uid:            1000
kernel:         6.6.11-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 25 phil 2024-01-18 10:13:30 UTC
I just wanted to see my current keyboard layout

In gnome, on the top bar click on the current keyboard layout, and click on "Show keyboard layout"

The program crashed instantly without showing a window.


reporter:       libreport-2.17.11
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=78ef37e063944dd58a7750d939a26b9e;i=aab7c;b=38b71dec920a4418bfdc23148ad7ab2a;m=1f1df24b4;t=60f3595c68fd1;x=3b14b82aab58d11c
executable:     /usr/bin/tecla
cmdline:        tecla $'fr\toss'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-23516.scope
rootdir:        /
uid:            1000
kernel:         6.6.11-200.fc39.x86_64
package:        tecla-45.0-1.fc39
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 26 Ondrej Svetlik 2024-03-01 13:06:33 UTC
I wanted to display a keyboard layout.


reporter:       libreport-2.17.11
type:           CCpp
kernel:         6.7.5-200.fc39.x86_64
runlevel:       N 5
backtrace_rating: 3
comment:        I wanted to display a keyboard layout.
package:        tecla-45.0-1.fc39
reason:         tecla killed by SIGSEGV
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-494336.scope
rootdir:        /
cmdline:        tecla $'ru\tphonetic'
executable:     /usr/bin/tecla
crash_function: xkb_keymap_ref
journald_cursor: s=404173647ee841f68a777f861030e0cf;i=162a8ec;b=859779c626514596a974556afaf2e068;m=30bf189ac3;t=6129783422d15;x=4936d57e67b3bcbe
uid:            1000

Comment 27 Kan-Ru Chen 2024-03-04 13:36:06 UTC
*** Bug 2267691 has been marked as a duplicate of this bug. ***

Comment 28 Ankur Sinha (FranciscoD) 2024-03-12 23:38:18 UTC
Tried to look at keyboard layout for French m17n input


reporter:       libreport-2.17.11
backtrace_rating: 4
runlevel:       N 5
package:        tecla-45.0-1.fc39
journald_cursor: s=9b699a9c851840bda92e4109118b2221;i=1b51f6;b=7c39dc53972a4c6aa782c910645545b3;m=28b82d7bc;t=6137f1fe7dbac;x=7d31a28f2f31e636
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.gnome.Settings-75622.scope
cmdline:        /usr/bin/tecla default
type:           CCpp
comment:        Tried to look at keyboard layout for French m17n input
kernel:         6.7.9-200.fc39.x86_64
reason:         tecla killed by SIGSEGV
crash_function: xkb_keymap_ref
rootdir:        /
uid:            1000
executable:     /usr/bin/tecla

Comment 29 xds_xps_ivx 2024-04-05 23:13:52 UTC
This is a fresh install of Fedora 40. It was installed using the spanish locale, and added two keyboards: Spanish (Windows keys) and United States international.

After installing the system, I decided to take a look at the current keyboard layout as a few keys did not match (namely, the '<' key  on my spanish keyboard was generating the '\' character)

I decided to open the kerboard layout preview from the settings and the keyboard preview crashed and did not open.


reporter:       libreport-2.17.15
type:           CCpp
reason:         tecla killed by SIGSEGV
journald_cursor: s=6d32c91f7f2144d28a3b227d24bf6e1a;i=f46f;b=6715b4a45e074b8eb144f60bc2854442;m=19e177dc;t=6154bd4c4bc45;x=bd04fc729ef9a3f8
executable:     /usr/bin/tecla
cmdline:        tecla $'es\twinkeys'
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-tecla-4926.scope
rootdir:        /
uid:            1000
kernel:         6.8.2-300.fc40.x86_64
package:        tecla-45.0-2.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: xkb_keymap_ref

Comment 30 Adam Williamson 2024-05-07 16:01:04 UTC
*** Bug 2279591 has been marked as a duplicate of this bug. ***

Comment 31 Adam Williamson 2024-05-07 16:01:54 UTC
This is still valid up to current Rawhide. It is also the crash you hit when reproducing https://bugzilla.redhat.com/show_bug.cgi?id=1790554 (clicking on "View Keyboard Layout" for an input method).


Note You need to log in before you can comment on or make changes to this bug.