Lunacy segfaults on Linux when pressed any key

I can “use” Lunacy with mouse but whenever I press any key (for example CTRL alone) the program crashes. It happens on 3 different machines:

  • on a laptop with Intel GPU and Hungarian keyboard layout;
  • on a laptop with nVidia GPU and American English keyboard layout;
  • on a desktop with a quite old nVidia GPU and Hungarian keyboard layout.

kernel: Lunacy[xyz]: segfault at 8 ip 00007f92b891c594 sp 00007ffe74c6f848 error 4 in libX11.so.6.4.0[7f92b88e8000+8b000]

Lunacy: 8.6.2; 8.7; 8.7.2
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.71-1-lts (64-bit)
Graphics Platform: X11

Any help would be appreciated.

Hi!

Did you install Lunacy through deb or snapcraft?

Thanks @Georg_icons8 for your reply.

I installed through the Arch Linux lunacy-bin package which uses deb.

Anyway, just an hour ago I have found the cause of the problem. All the 3 of my systems were installed without the unnecessary documentation and translation files. As it turned out Lunacy needs some of them.

The solution: I had to remove the text usr/share/X11/locale/* from the file /etc/pacman.conf from the NoExtract = line then reinstall libx11.

sudo mcedit /etc/pacman.conf
yay -S libx11