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:
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.
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. atorEvents should return if that test is true?
Maybe a test for pDev->key = 0x0 should be added and GetKeyboardValu
Attached is the new stacktrace with the full pDev content.