[BUG] xkbcommon: segfault in xkb_compile_keymap_from_rules()

David Herrmann dh.herrmann at googlemail.com
Thu Mar 29 09:02:14 PDT 2012


Hi

xkb_compile_keymap_from_rules() fails on my machine if the "variant"
is not found. I used:

struct xkb_rules_names rmlvo = {
  .rules = "evdev",
  .model = "evdev",
  .layout = "us",
  .variant = "de",
  .options = "",
};

Then a call to xkb_compile_keymap_from_rules(&rmlvo) produces a
segfault. I have no debug symbols (so the backtrace is pretty useless)
and currently no time to debug it myself. I just wanted to report it.
I use a relatively new libxkbcommon from git.

Regards
David


More information about the xorg-devel mailing list