On Sun, 2010-04-04 at 10:05 +0200, Julien Cristau wrote:
> any chance you can get a backtrace from gdb (with xserver-xorg-core-dbg
> installed)?
Here's a backtrace and local variables for each frame.
Ben.
(gdb) bt
#0 0x080b4eec in DGAProcessPointerEvent (pScreen=<value optimized out>,
event=0xa336400, mouse=0xa332418)
at ../../../../hw/xfree86/common/xf86DGA.c:1097
#1 0x0809fd29 in mieqProcessDeviceEvent (dev=0xa332418, event=0xa336400,
screen=0x8b15368) at ../../mi/mieq.c:404
#2 0x0809feac in mieqProcessInputEvents () at ../../mi/mieq.c:471
#3 0x080b1437 in ProcessInputEvents ()
at ../../../../hw/xfree86/common/xf86Events.c:165
#4 0x08074040 in Dispatch () at ../../dix/dispatch.c:407
#5 0x0806693a in main (argc=9, argv=0xffc31114, envp=0xffc3113c)
at ../../dix/main.c:285
(gdb) info locals
butc = 0xa3328a0
ev = {header = 255 '\377', type = ET_Motion, length = 408, time = 0,
deviceid = 0, sourceid = 0, detail = {button = 0, key = 0}, root_x = 0,
root_x_frac = 0, root_y = 0, root_y_frac = 0,
buttons = '\000' <repeats 31 times>, valuators = {mask = "\000\000\000\000",
mode = "\000\000\000\000", data = {0 <repeats 36 times>}, data_frac = {
0 <repeats 36 times>}}, mods = {base = 0, latched = 0, locked = 0,
effective = 0}, group = {base = 0 '\000', latched = 0 '\000',
locked = 0 '\000', effective = 0 '\000'}, root = 0, corestate = 0,
key_repeat = 0}
(gdb) up
#1 0x0809fd29 in mieqProcessDeviceEvent (dev=0xa332418, event=0xa336400,
screen=0x8b15368) at ../../mi/mieq.c:404
404 ../../mi/mieq.c: No such file or directory.
in ../../mi/mieq.c
(gdb) info locals
screenNum = <value optimized out>
handler = 0x80b5050 <DGAHandleEvent>
master = <value optimized out>
mevent = {any = {header = 192 '\300', type = 0, length = 0, time = 0},
device_event = {header = 192 '\300', type = 0, length = 0, time = 0,
deviceid = -3995384, sourceid = -3995540, detail = {button = 4290971752,
key = 4290971752}, root_x = 36423, root_x_frac = 1.06619174e-33,
root_y = 10100, root_y_frac = 1.06620166e-33,
buttons = "\340\021\v\b4'\261\b\001\000\000\000\310&\261\b\000|E\n\000\000\000\000\210\326=\367\000\000\000", valuators = {
mask = "\001\216r", <incomplete sequence \367>, mode = "|E\n|\003",
data = {1024, 0 <repeats 33 times>, 145827636, 167522360}, data_frac = {
135587579, 32, 32, -144928780, -3993944, -143223808, 29, 99, 0, 43,
43, -144928780, 32, -3993944, -3993980, 32, 1, -3993800, 32, 0, 0,
-143223760, 35, 2110102, -3993980, 43, -3994604, 0, 0, -147770984,
172098632, 172099432, -3995160, -147910644, 172098632, 172099432}},
mods = {base = 330, latched = 18, locked = 1, effective = 4290972176},
group = {base = 0 '\000', latched = 0 '\000', locked = 0 '\000',
effective = 0 '\000'}, root = 4151408674, corestate = 171500120,
key_repeat = 1}, changed_event = {header = 192 '\300', type = 0,
length = 0, time = 0, deviceid = -3995384, flags = -3995540,
masterid = -3995544, sourceid = -143487417, buttons = {
num_buttons = 145827528, names = {145827700, 145827636, 134943200,
145827636, 1, 145827528, 172325888, 0, 4148024968, 0, 4151479809,
172325888, 892, 1024, 0 <repeats 33 times>, 145827636, 167522360,
135587579, 32, 32, 4150038516, 4290973352, 4151743488, 29, 99, 0, 43,
43, 4150038516, 32, 4290973352, 4290973316, 32, 1, 4290973496, 32, 0,
0, 4151743536, 35, 2110102, 4290973316, 43, 4290972692, 0, 0,
4147196312, 172098632, 172099432, 4290972136, 4147056652, 172098632,
172099432, 330, 18, 1, 4290972176, 0, 4151408674, 171500120, 1,
171569982, 0, 4290973196, 4290972176, 4147031323, 136180172, 4,
4290972176, 4290973224, 0, 7845976, 2160918528, 330, 18, 1,
4290972176, 4294902655, 4294902048, 4294967295, 136004405, 16, 0, 43,
0, 0, 0, 0, 0, 0, 2147483648, 49167, 0, 1073709056, 0, 3355443200,
16387, 0, 0, 0, 2356019200, 49166, 0, 3222178926, 288, 18875263, 0,
136004405, 0, 0, 0, 8064, 65535, 0, 0, 0, 0, 0, 0, 7845976,
2160918528, 0, 2147483648, 4294902655, 4294902048, 4294967295,
136004405, 16, 0, 43, 0, 0, 0, 0, 0, 0, 2147483648, 49167, 0,
1073709056, 0, 3355443200, 16387, 0, 0, 0, 2356019200, 49166, 0,
3222178926, 288, 18875263, 0, 136004405, 0, 0, 0, 8064, 65535, 0, 0,
0, 0, 0, 0, 0, 0, 0, 2147483648, 49167, 0, 0, 2147483648, 16383, 0, 0,
3355443200, 16387, 0, 0, 0, 0, 0, 0, 2356019200, 49166, 0, 0,
2356019200, 49166, 0...}}, num_valuators = 0, valuators = {{min = 0,
max = 0, resolution = 135579312, mode = 0 '\000', name = 0}, {
min = 136265120, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 0, resolution = 0, mode = 0 '\000', name = 0}, {
min = 0, max = 136180172, resolution = 0, mode = 240 '\360',
name = 4290973000}, {min = 0, max = 4290972976,
resolution = 4149291337, mode = 204 '\314', name = 134919401}, {
min = 0, max = 4290972976, resolution = 0, mode = 0 '\000', name = 0},
{min = 20000, max = 0, resolution = 20000, mode = 153 '\231',
name = 136180172}, {min = 4290973624, max = 134876191, resolution = 1,
mode = 160 '\240', name = 0}, {min = 0, max = 4290973588,
resolution = 4149174493, mode = 134 '\206', name = 4147530204}, {
min = 136180172, max = 166689704, resolution = 4290973080,
mode = 113 'q', name = 32}, {min = 1, max = 4290973460,
resolution = 0, mode = 7 '\a', name = 0}, {min = 0, max = 0,
resolution = 0, mode = 0 '\000', name = 0} <repeats 12 times>, {
min = 0, max = 0, resolution = 0, mode = 221 '\335', name = 32}, {
min = 136180172, max = 32, resolution = 171135424, mode = 200 '\310',
name = 135140110}, {min = 32, max = 4290973496, resolution = 1,
mode = 71 'G', name = 4290973400}, {min = 136180172, max = 4290973416,
resolution = 171140088, mode = 192 '\300', name = 4290973496}, {
min = 1, max = 134784785, resolution = 169790576, mode = 8 '\b',
name = 4150038516}, {min = 4150043584, max = 1800,
resolution = 4290973480, mode = 221 '\335', name = 1800}, {min = 1800,
max = 171666976, resolution = 1792, mode = 0 '\000',
name = 171140088}, {min = 1800, max = 4149178635,
resolution = 136180172, mode = 0 '\000', name = 136242656}}, keys = {
min_keycode = -3993784, max_keycode = 134919875}}, dga_event = {
header = 192 '\300', type = 0, length = 0, time = 0, subtype = -3995384,
detail = -3995540, dx = -3995544, dy = -143487417, screen = 145827528,
state = 10100}, raw_event = {header = 192 '\300', type = 0, length = 0,
time = 0, deviceid = -3995384, sourceid = -3995540, detail = {
button = 4290971752, key = 4290971752}, valuators = {
mask = "G\216r\367", <incomplete sequence \310>, data = {145827700,
145827636, 134943200, 145827636, 1, 145827528, 172325888, 0,
-146942328, 0, -143487487, 172325888, 892, 1024,
0 <repeats 22 times>}, data_frac = {0 <repeats 11 times>, 145827636,
167522360, 135587579, 32, 32, -144928780, -3993944, -143223808, 29,
99, 0, 43, 43, -144928780, 32, -3993944, -3993980, 32, 1, -3993800,
32, 0, 0, -143223760, 35}, data_raw = {2110102, -3993980, 43,
-3994604, 0, 0, -147770984, 172098632, 172099432, -3995160,
-147910644, 172098632, 172099432, 330, 18, 1, -3995120, 0, -143558622,
171500120, 1, 171569982, 0, -3994100, -3995120, -147935973, 136180172,
4, -3995120, -3994072, 0, 7845976, -2134048768, 330, 18, 1},
data_raw_frac = {-3995120, -64641, -65248, -1, 136004405, 16, 0, 43, 0,
0, 0, 0, 0, 0, -2147483648, 49167, 0, 1073709056, 0, -939524096,
16387, 0, 0, 0, -1938948096, 49166, 0, -1072788370, 288, 18875263, 0,
136004405, 0, 0, 0, 8064}}}}
(gdb) up
#2 0x0809feac in mieqProcessInputEvents () at ../../mi/mieq.c:471
471 in ../../mi/mieq.c
(gdb) info locals
e = <value optimized out>
evlen = <value optimized out>
screen = 0x8b15368
event = 0xa336400
dev = 0xa332418
(gdb) up
#3 0x080b1437 in ProcessInputEvents ()
at ../../../../hw/xfree86/common/xf86Events.c:165
165 ../../../../hw/xfree86/common/xf86Events.c: No such file or directory.
in ../../../../hw/xfree86/common/xf86Events.c
(gdb) info locals
x = 136180172
y = 134914603
(gdb) up
#4 0x08074040 in Dispatch () at ../../dix/dispatch.c:407
407 ../../dix/dispatch.c: No such file or directory.
in ../../dix/dispatch.c
(gdb) info locals
result = <value optimized out>
client = 0xa375870
nready = 0
start_tick = 1340
(gdb) up
#5 0x0806693a in main (argc=9, argv=0xffc31114, envp=0xffc3113c)
at ../../dix/main.c:285
285 ../../dix/main.c: No such file or directory.
in ../../dix/main.c
(gdb) info locals
i = <value optimized out>
alwaysCheckForInput = {0, 1}
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
Attachment:
signature.asc
Description: This is a digitally signed message part