Created attachment 15427 [details] configuration My Xserver (Debian sid, 1:7.3+10), running with a self-compiled ATI driver (6.6 branch, a5570f3), segfaults if I run xmodmap on it, but only if the three (or any of the three) InputDevice lines in the configuration are uncommented. If they're commented out, it all works. Here is the backtrace, reproducible at will: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b3aafa442c0 (LWP 25679)] XkbSendNotification (kbd=0x8a2650, pChanges=0x7ffffcf1ab00, cause=<value optimized out>) at ../../xkb/xkbEvents.c:770 770 ../../xkb/xkbEvents.c: No such file or directory. in ../../xkb/xkbEvents.c (gdb) bt #0 XkbSendNotification (kbd=0x8a2650, pChanges=0x7ffffcf1ab00, cause=<value optimized out>) at ../../xkb/xkbEvents.c:770 #1 0x00000000005401df in XkbApplyMappingChange (kbd=0x8a2650, request=32 ' ', firstKey=<value optimized out>, num=248 'ø', client=0x9a9320) at ../../xkb/xkbUtils.c:580 #2 0x0000000000526ec1 in SendDeviceMappingNotify (client=0x42, request=0 '\0', firstKeyCode=0 '\0', count=1 '\001', dev=0x8a2650) at ../../Xi/exevents.c:966 #3 0x000000000044641e in ProcSetModifierMapping (client=0x9a9320) at ../../dix/devices.c:1382 #4 0x000000000044e300 in Dispatch () at ../../dix/dispatch.c:502 #5 0x0000000000436add in main (argc=1, argv=0x7ffffcf1b208, envp=<value optimized out>) at ../../dix/main.c:452
Created attachment 15428 [details] log output This log file includes me telling gdb to 'continue' after the segfault, resulting the the SIGABRT.
Created attachment 18474 [details] The log I have exactly the same issue with an aiptek tablet
Well not running xmodmap certainly helps I'm guessing xmodmap in this case would be like using a hammer where a fine screwdriver would suffice. Or in other words the tablets tend to have some keys on them and I'm guessing the driver for them doesn't take into account that someone could use xmodmap with them...
I can't remember the exact commit but I fixed this a number of months ago. This seems to work fine now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.