in(marathi) segfaults xkbcomp
cc @Niranjan
xkbcomp segfaults because of the name:
name[Group1]="मराठी इन्स्क्रिप्ट";
I don't know enough about sanskrit (?) to understand the symbols but bit of trial-and-error shows that just leaving the bits after न्
part works, so the issue is in the first half of the name.
test case:
setxkbmap -layout in -variant marathi -print | xkbcomp -xkb - - > /dev/null
valgrind says:
==668064==
==668064== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==668064== Bad permissions for mapped region at address 0x49FD000
==668064== at 0x49EB1F0: XkbStringText (in /usr/lib64/libxkbfile.so.1.0.2)
==668064== by 0x49E56E0: XkbWriteXKBSymbols (in /usr/lib64/libxkbfile.so.1.0.2)
==668064== by 0x49E72A9: XkbWriteXKBKeymap (in /usr/lib64/libxkbfile.so.1.0.2)
==668064== by 0x10DF66: ??? (in /usr/bin/xkbcomp)
==668064== by 0x4A24041: (below main) (in /usr/lib64/libc-2.31.so)
So, the real bug is somewhere in xkbcomp or libX11 but I don't know yet where.