ok, thanks to Maarten's debugging we've found the issue. listener->grab
is not copied but rather referenced, leaving the grab stale once it was
deleted. Reproducible test case is simply:

XGrabButton()
pointer-emulating touch down
XUngrabButton()
trigger touch update/end

This doesn't necessarily crash, but once you run through valgrind to
reset memory after freeing it we have a reliable crasher.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1068994

Title:
  button1 gets stuck after a while

Status in OEM Priority Project:
  In Progress
Status in OEM Priority Project raring series:
  In Progress
Status in Ubuntu on the Nexus 7:
  Confirmed
Status in X.Org X server:
  In Progress
Status in “xorg-server” package in Ubuntu:
  Confirmed

Bug description:
  distro bug 1015183

  after using the tablet for a while, the touchscreen fails to register
  button clicks anymore, since the "button" appears to be stuck "down".

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1068994/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to