keyboard crashes in current git

Daniel Stone daniel at fooishbar.org
Mon Mar 3 00:37:53 PST 2008


On Sun, Mar 02, 2008 at 10:31:09PM -0800, David Miller wrote:
> I suspect it's caused by all of the recent XKB work by Daniel Stone.
> 
> My keyboard is using pre-XKB keymaps, the curKeySyms.map is NULL for
> the device so even the very first getevents call gets a SIGSEGV.

While you have definitely encountered a bug, I'd definitely recommend
using a real keymap, rather than having a broken setup whereby it falls
back to defaults.

> Here is a trace from some of the relevant code:
> 
> InitKeyboardDeviceStruct(dev[0x338bb8],pSyms[0xff9ad5b8])=1
> InitKeyboardDeviceStruct: dev->key->curKeySyms.map[(nil)]
> 
> So XKB is passing in the non-NULL pSyms but for some reason
> it isn't getting attached to dev->key->curKeySyms.map
> 
> GetKeyboardValuatorEvents: pDev(0x338bb8) map((nil))
> 
> And then we crash in GetKeyboardValuatorEvents because it is
> NULL.

Please file a bug at http://bugs.freedesktop.org.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080303/6e34b549/attachment.pgp>


More information about the xorg mailing list