[BUG] X.Org 1.14.6 with touchscreens

Filippo Sironi filippo.sironi at gmail.com
Fri Jun 6 01:36:46 PDT 2014


I'm running X.Org 1.14.6 on a touchscreen device and I'm getting a bunch of BUG
messages on my console:

BUG: triggered 'if (ti->listeners[0].type != LISTENER_GRAB && ti->listeners[0].type != LISTENER_POINTER_GRAB)'
BUG: Xi/exevents.c:1044 in ActivateEarlyAccept()

Whenever the first of this messages appears, I enter an "endless" loop if I
continue using the touchscreen. I can only get out of it by using a mouse to
somehow undo what the touchscreen started.

The backtrace is the following:

(gdb) bt
#0  ActivateEarlyAccept (dev=0x30bfc8, ti=0xd3c664) at exevents.c:1045
#1  0x001a68d0 in DeliverTouchBeginEvent (dev=0x30bfc8, ti=0xd3c664, ev=0xbe98df78,
    listener=0x6258f8, client=0x34a1a8, win=0x471720, grab=0x0, xi2mask=0x0) at exevents.c:1851
#2  0x001a6da8 in DeliverTouchEvent (dev=0x30bfc8, ti=0xd3c664, ev=0xbe98df78, listener=0x6258f8,
    client=0x34a1a8, win=0x471720, grab=0x0, xi2mask=0x0) at exevents.c:1973
#3  0x001a6ffc in DeliverTouchEvents (dev=0x30bfc8, ti=0xd3c664, ev=0xbe98df78, resource=0)
    at exevents.c:2028
#4  0x001a5fc8 in ProcessTouchEvent (ev=0xbe98df78, dev=0x30bfc8) at exevents.c:1617
#5  0x001a67b4 in ProcessOtherEvent (ev=0xbe98df78, device=0x30bfc8) at exevents.c:1814
#6  0x001ec9a8 in ProcessPointerEvent (ev=0xbe98df78, mouse=0x30bfc8) at xkbAccessX.c:751
#7  0x00234c5c in mieqProcessDeviceEvent (dev=0x459dc8, event=0x2b4008 <event.17119>,
    screen=0x2ec6c0) at mieq.c:565
#8  0x00234f08 in mieqProcessInputEvents () at mieq.c:627
#9  0x000ab59c in ProcessInputEvents () at xf86Events.c:165
#10 0x00037088 in Dispatch () at dispatch.c:357
#11 0x00024c78 in main (argc=3, argv=0xbe98eda4, envp=0xbe98edb4) at main.c:298

The condition, which is not met, that triggers the BUG is 'ti->listeners[0].type != LISTENER_POINTER_GRAB' .

Apparently, this BUG has been discussed previously on this list but no changes
landed inside the 1.14 branch (which I'm forced to use since I have a
binary driver that is compiled for X.Org 1.14).

Any help?

Cheers,
Filippo



More information about the xorg mailing list