Hello, i encounter a bug in the last rc of the xserver (present before but I was using it so far) when I use it in combination with kdm (and only kdm, I did not try xdm). The server simply crash when kdm is running and I touch any of the keyboard keys but works perfectly fine when I run it from a console. The all stack is from the git repository but the problem originates from the server itself since I can not reproduce it with xorg 1.11.4 for instance (with the same stack almost).
I am able to reproduce it all the time and I have been spending some time to bisect the problem (changing the server, the rest been fixed). The result of the bisection gave me this: git bisect start # bad: [052ca3f22eadd0aa60dd24ac7d5d76137273926f] Bump version to 1.11.99.902 (1.12 RC2) git bisect bad 052ca3f22eadd0aa60dd24ac7d5d76137273926f # good: [e597f0119cd69b6d9edf86d06d941468f90d8e6d] configure.ac: 1.11.4 git bisect good e597f0119cd69b6d9edf86d06d941468f90d8e6d # good: [4ad271d06c5aa42721c0e2e01e17e34a39825c65] xfree86: Bump extension ABI version to 6.0 git bisect good 4ad271d06c5aa42721c0e2e01e17e34a39825c65 # good: [34b0e4eee911f8b09a3682a7f1b4c8598ef48b8d] dri2: Register the DRI2DrawableType after server regeneration git bisect good 34b0e4eee911f8b09a3682a7f1b4c8598ef48b8d # bad: [2df539c0bc3300ea858f8bc7d52e95e67ff379b8] glx: Only declare GlxExtensionInit in one header file git bisect bad 2df539c0bc3300ea858f8bc7d52e95e67ff379b8 # bad: [2abe83df686ed64c4f4df711ac3c1fd12131c2e4] include: add BUG_WARN_MSG for custom error message on bug condition git bisect bad 2abe83df686ed64c4f4df711ac3c1fd12131c2e4 # good: [d26fae246d7c451b4d5ffe24fdb959d4bd00b107] glx: don't leak fbconfigs git bisect good d26fae246d7c451b4d5ffe24fdb959d4bd00b107 # good: [6acebf9e1298939593b942ec91ae9ec9e74faa19] include: add list_append() git bisect good 6acebf9e1298939593b942ec91ae9ec9e74faa19 # good: [4bc2761ad5ec2d0668aec639780ffb136605fbc8] dix: switch the dev->deviceGrab.activeGrab from GrabRec to GrabPtr git bisect good 4bc2761ad5ec2d0668aec639780ffb136605fbc8 # good: [d2ebbcdaf6b13d70eee704b1764ff349e1be22a0] Xi: when removing a device, reset ClientPointers where needed git bisect good d2ebbcdaf6b13d70eee704b1764ff349e1be22a0 # good: [631516a4aa9858874ee197444cd93d91b97a1089] Xi: check button mapping value _before_ assigning it git bisect good 631516a4aa9858874ee197444cd93d91b97a1089 # good: [4fc797f3756611a97767f407e1af0b6a7cf2f1d9] xfree86: include xorg-config.h from xaalocal.h git bisect good 4fc797f3756611a97767f407e1af0b6a7cf2f1d9 so the first bad commit is 2abe83df686ed64c4f4df711ac3c1fd12131c2e4. I also have some information after using gdb from a remote computer. I attach the log file of the debugging session. Since i can reproduce it do not hesitate to ask me for more information. regards Mathieu
#0 0x000000000044e625 in xi2mask_isset (mask=0xb075c0851c74c289, dev=0x2602890, event_type=13) at inpututils.c:1039 #1 0x000000000043ca2b in EventIsDeliverable (dev=0x2602890, evtype=20, win=0x2715680) at events.c:2563 #2 0x000000000044319a in DeliverDeviceEvents (pWin=0x2715680, event=0x7fff28af0fd0, grab=0x2602c30, stopAt=0x0, dev=0x2602890) at events.c:2682 #3 0x00000000004433b1 in DeliverGrabbedEvent (event=0x7fff28af0fd0, thisDev=0x2602890, deactivateGrab=0) at events.c:4295 #4 0x0000000000443526 in DeliverRawEvent (ev=0x7fff28af0fd0, device=0x2602890) at events.c:2308 #5 0x00000000004fecf7 in ProcessOtherEvent (ev=0x7fff28af0fd0, device=0x2602890) at exevents.c:1720 #6 0x0000000000528e81 in ProcessKeyboardEvent (ev=<value optimized out>, keybd=0x2602890) at xkbPrKeyEv.c:158 #7 0x0000000000547b5c in mieqProcessDeviceEvent (dev=0x2724970, event=0x7dce60, screen=0x23823b0) at mieq.c:549 #8 0x0000000000547bf4 in mieqProcessInputEvents () at mieq.c:609 #9 0x0000000000470079 in ProcessInputEvents () at xf86Events.c:165 #10 0x00000000004345c3 in Dispatch () at dispatch.c:362 #11 0x000000000042399a in main (argc=6, argv=<value optimized out>, envp=<value optimized out>) at main.c:287 #0 0x000000000044e625 in xi2mask_isset (mask=0xb075c0851c74c289, dev=0x2602890, event_type=13) at inpututils.c:1039 1039 BUG_WARN(dev->id >= mask->nmasks); $1 = (XI2Mask *) 0xb075c0851c74c289 #1 0x000000000043ca2b in EventIsDeliverable (dev=0x2602890, evtype=20, win=0x2715680) at events.c:2563 2563 if (inputMasks && xi2mask_isset(inputMasks->xi2mask, dev, type)) 2558 int type; 2559 OtherInputMasks *inputMasks = wOtherInputMasks(win); 2560 2561 if ((type = GetXI2Type(evtype)) != 0) 2562 { 2563 if (inputMasks && xi2mask_isset(inputMasks->xi2mask, dev, type)) 2564 rc |= EVENT_XI2_MASK; 2565 } 2566 2567 if ((type = GetXIType(evtype)) != 0) $2 = (OtherInputMasks *) 0x452070 $3 = {deliverableEvents = {1413567809, 2303218517, 3968026875, 4208912392, 2236153855, 3314108608, 20612111, 2380791808, 1207964070, 12616587, 2303197184, 1086802159, 64, 4126599168, 2303262719, 4024363247, 2336817148, 49283, 1032669184, 1199889, 1214286668, 190314472, 2312253696, 3750316230, 190626792, 1032669184, 1199692, 611093833, 1473964048, 3526426635, 2303248009, 1553918175, 2370306059, 307103549, 1472391168, 3526426635, 2303248009, 1552345311, 2370306059, 307145533, 1470818304, 3526426635}, inputEvents = {2303248009, 1550772447, 2303197195, 4197902559, 2236153855, 2776895424, 1157627904, 270818443, 1240281413, 136608907, 2145092933, 1715071768, 8658703, 0, 21335361, 29721417, 2113946937, 881543715, 4135930095, 2303257204, 1531111647, 2369847307, 2202599749, 1161363909, 2089502976, 3716089892, 4243524584, 1153911295, 2084, 3342925824, 1057860, 1207959552, 12616587, 2336751616, 3924314232, 1224735982, 12616587, 3343384576, 18496, 2202533888, 1566247108, 1564564545}, dontPropagateMask = {296094697, 2035456, 147096392, 1547787611, 264461633, 17439, 612141897, 2426530568, 610044232, 1820936416, 2303256612, 1686719739, 2303520804, 1224221804, 1211690115, 136594573, 3040709960, 1090523725, 2303259785, 3448324565, 203703495, 1, 604277064, 190226408, 1154625792, 544530489, 2336805001, 1209541724, 539257995, 610569036, 1821068328, 2202546212, 264452292, 17439, 3906963784, 4294965520, 1220576584, 45794185, 1946157056, 1955416267, 2303200292, 4018751714}, inputClients = 0xed8445000b5723e8, xi2mask = 0xb075c0851c74c289} $4 = (WindowPtr) 0x2715680 $5 = {drawable = {type = 208 '\320', class = 63 '?', depth = 113 'q', bitsPerPixel = 2 '\002', id = 0, x = -29200, y = 82, width = 0, height = 0, pScreen = 0x528df0, serialNumber = 4440736}, devPrivates = 0x1, parent = 0x271b1a0, nextSib = 0x1, prevSib = 0x7f6aa057a200, firstChild = 0x100000001, lastChild = 0x4, clipList = {extents = {x1 = 0, y1 = 0, x2 = 19807, y2 = 755}, data = 0x0}, borderClip = { extents = {x1 = 23072, y1 = 625, x2 = 0, y2 = 0}, data = 0x0}, valdata = 0x0, winSize = {extents = { x1 = 17472, y1 = 68, x2 = 0, y2 = 0}, data = 0x444240}, borderSize = {extents = {x1 = 0, y1 = 0, x2 = 0, y2 = 0}, data = 0x0}, origin = {x = 24896, y = 625}, borderWidth = 0, deliverableEvents = 0, eventMask = 3, background = {pixmap = 0x27163d0, pixel = 40985552}, border = {pixmap = 0x9, pixel = 9}, backStorage = 0x0, optional = 0x2716d80, backgroundState = 0, borderIsPixel = 0, cursorIsNone = 0, backingStore = 0, saveUnder = 0, DIXsaveUnder = 0, bitGravity = 0, winGravity = 0, overrideRedirect = 0, visibility = 0, mapped = 0, realized = 0, viewable = 0, dontPropagate = 0, forcedBS = 0, redirectDraw = 0, forcedBG = 0, damagedDescendants = 0, inhibitBGPaint = 0}
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com