[PATCH 1/2] Abort xi2 tests if ActivateDevice() fails

Alan Coopersmith alan.coopersmith at oracle.com
Sun Sep 21 10:43:28 PDT 2014


On 09/21/14 09:49 AM, Alan Coopersmith wrote:
> I was getting segfaults in xi2 tests from trying to copy XKB keyboard
> state to NULL pointers with a stack of:
>      key=key at entry=0) at xkbActions.c:1189
>      sendevent=sendevent at entry=0 '\000') at devices.c:420
>      at protocol-xiquerydevice.c:338

Bah, stupid gdb putting # signs in front of stack traces, and stupid me for not
noticing.

#0  0x00000000006244d2 in XkbPushLockedStateToSlaves (master=0x7b4650,
     evtype=0, key=0) at xkbActions.c:1189
#1  0x00000000004f450a in EnableDevice (dev=0x7b3810, sendevent=0 '\000')
     at devices.c:420
#2  0x00000000004cf2a7 in init_devices () at protocol-common.c:158
#3  0x00000000004cf5ea in init_simple () at protocol-common.c:259
#4  0x00000000004d090f in main (argc=1, argv=0xffff80ffbfffe458)
     at protocol-xiquerydevice.c:338

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list