Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libxkbfile
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • lib
  • libxkbfile
  • Issues
  • #8
Closed
Open
Issue created Jun 18, 2020 by Peter Hutterer@whotMaintainer

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.

Assignee
Assign to
Time tracking