Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949998 - dev-qt/qtwebengine-6.8.1: Keymap file failed to load: us,ru(typewriter) with x11-libs/libxkbcommon-1.8.0
Summary: dev-qt/qtwebengine-6.8.1: Keymap file failed to load: us,ru(typewriter) with ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-20 18:30 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2025-02-20 18:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,20.36 KB, text/plain)
2025-02-20 18:31 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2025-02-20 18:30:55 UTC
qtwebengine (marble-qt and qutebrowser at least) started to hate my keymap. Reverting to libxkbcommon-1.7.0-r1 fixed the problem. With 1.8.0 i get this:

xkbcommon: ERROR: [XKB-661] Couldn't process include statement for 'us(typewriter)'
xkbcommon: ERROR: [XKB-769] Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: [XKB-822] Failed to compile keymap
[2729:2782:0220/184026.107124:FATAL:xkb_keyboard_layout_engine.cc(654)] Keymap file failed to load: us,ru(typewriter)

Thread 19 "ThreadPoolForeg" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7fffb4ff96c0 (LWP 2782)]
0x00007fffeef88ee4 in logging::LogMessage::HandleFatal(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () from /usr/lib64/libQt6WebEngineCore.so.6
(gdb) bt
#0  0x00007fffeef88ee4 in logging::LogMessage::HandleFatal(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const () at /usr/lib64/libQt6WebEngineCore.so.6
#1  0x00007fffeef89bbc in logging::LogMessage::Flush() () at /usr/lib64/libQt6WebEngineCore.so.6
#2  0x00007fffeef8b417 in logging::LogMessageFatal::~LogMessageFatal() () at /usr/lib64/libQt6WebEngineCore.so.6
#3  0x00007ffff068acb3 in ui::(anonymous namespace)::LoadKeymap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, scoped_refptr<base::SingleThreadTaskRunner>, base::OnceCallback<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unique_ptr<char, base::FreeDeleter>)>) () at /usr/lib64/libQt6WebEngineCore.so.6
#4  0x00007ffff06880ab in base::internal::Invoker<base::internal::BindState<void (*)(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, scoped_refptr<base::SingleThreadTaskRunner>, base::OnceCallback<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unique_ptr<char, base::FreeDeleter>)>), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, scoped_refptr<base::SingleThreadTaskRunner>, base::OnceCallback<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unique_ptr<char, base::FreeDeleter>)> >, void ()>::RunOnce(base::internal::BindStateBase*) ()
    at /usr/lib64/libQt6WebEngineCore.so.6
#5  0x0000555555ee58d0 in ??? ()
#6  0x0000000000000000 in ??? ()



$ setxkbmap -print -verbose 10     
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules:      evdev
model:      pc105
layout:     us,ru(typewriter)
options:    grp:caps_toggle,grp_led:caps,terminate:ctrl_alt_bksp
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:      complete
compat:     complete+grp_led(caps)
symbols:    pc+us+ru(typewriter):2+inet(evdev)+group(caps_toggle)+terminate(ctrl_alt_bksp)
geometry:   pc(pc105)
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete+grp_led(caps)"	};
	xkb_symbols   { include "pc+us+ru(typewriter):2+inet(evdev)+group(caps_toggle)+terminate(ctrl_alt_bksp)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
Comment 1 Sergey 'L29Ah' Alirzaev 2025-02-20 18:31:38 UTC
Created attachment 919451 [details]
emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2025-02-20 18:53:33 UTC
I don't "think" this is really qtwebengine-specific, the message:

[XKB-661] Couldn't process include statement for 'us(typewriter)'

Is generated by xkbcommon itself, I'd "assume" that either the keymap is broken (e.g. bad syntax that was tolerated before), or there is a regression in xkbcommon and it may affect other applications.

I don't intend to debug/handle this myself, but bisecting libxkbcommon would probably be useful.