Looking at the change made in xorg-server (2:1.5.1-1ubuntu3), it seems like the case of key_code>255 should be captured and not cause a crash anymore. So I guessed pDev might have something interesting, and indeed, it does:
(gdb) print pDev->key $2 = (KeyClassPtr) 0x0 (gdb) print *pDev->key Cannot access memory at address 0x0 So the line "KeySym *map = pDev->key->curKeySyms.map;" will likely cause the segfault. Maybe a test for pDev->key = 0x0 should be added and GetKeyboardValuatorEvents should return if that test is true? Attached is the new stacktrace with the full pDev content. ** Attachment added: "X-pDev" http://launchpadlibrarian.net/18558840/X-pDev -- Joystick detected as mouse, crashes X https://bugs.launchpad.net/bugs/274203 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
