tecla either crashes or displays a blank window if mapping is not found
The Fedora package crashes with SIGSEGV: https://bugzilla.redhat.com/show_bug.cgi?id=2236832
tecla asdfsafd
:
Stack trace of thread 816610:
#0 0x00007f480d8fd7e4 xkb_keymap_ref (libxkbcommon.so.0 + 0x1e7e4)
#1 0x000055630a8adfaf tecla_application_activate (tecla + 0x7faf)
#2 0x00007f480e64ce85 signal_emit_valist_unlocked (libgobject-2.0.so.0 + 0x33e85)
#3 0x00007f480e64cf91 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33f91)
#4 0x00007f480e64d053 g_signal_emit (libgobject-2.0.so.0 + 0x34053)
#5 0x000055630a8ab7b5 tecla_application_command_line (tecla + 0x57b5)
#6 0x00007f480dca8105 _g_cclosure_marshal_INT__OBJECTv (libgio-2.0.so.0 + 0x7e105)
#7 0x00007f480e64ce85 signal_emit_valist_unlocked (libgobject-2.0.so.0 + 0x33e85)
#8 0x00007f480e64cf91 g_signal_emit_valist (libgobject-2.0.so.0 + 0x33f91)
#9 0x00007f480e64d053 g_signal_emit (libgobject-2.0.so.0 + 0x34053)
#10 0x00007f480dd1053b g_application_call_command_line (libgio-2.0.so.0 + 0xe653b)
#11 0x00007f480dd13a91 g_application_real_local_command_line (libgio-2.0.so.0 + 0xe9a91)
#12 0x00007f480dd13bf3 g_application_run (libgio-2.0.so.0 + 0xe9bf3)
#13 0x000055630a8ab56e main (tecla + 0x556e)
#14 0x00007f480d72514a __libc_start_call_main (libc.so.6 + 0x2814a)
#15 0x00007f480d72520b __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2820b)
#16 0x000055630a8ab5c5 _start (tecla + 0x55c5)
When built from sources, it doesn't crash:
$ build/src/tecla $'fi\tmac'
xkbcommon: ERROR: [XKB-338] Couldn't find file "symbols/fi mac" 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
^C
but it displays a window with no symbols. The messages on the console would not be visible to a user using the graphical interface.