Now I got it to segfault at a different place:

(gdb) bt
#0  ProcGetPointerControl (client=0x38f4c0) at ../../dix/devices.c:2122
#1  0x000305c4 in Dispatch () at ../../dix/dispatch.c:439
#2  0x000279d4 in main (argc=7, argv=0xbefe38a4, envp=<value optimized out>) at 
../../dix/main.c:285
(gdb) info locals
ptr = <value optimized out>
rep = {type = 1 '\001', pad1 = 12 '\f', sequenceNumber = 8, length = 0, 
accelNumerator = 62656, accelDenominator = 56, threshold = 0, pad2 = 0, pad3 = 
1685396, pad4 = 1685396, pad5 = 3732672, pad6 = 0}
rc = 0

gdb says the line would be

rep.threshold = ctrl->threshold;

but of course ctrl is optimized out.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to