[Wayland-bugs] [Bug 92736] Weston crash when touch->focus null
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Nov 1 20:21:54 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92736
--- Comment #2 from Guanghua Tan <starxforever at live.com> ---
After debug into weston codes, I find this crash issue is really caused by
following commit:
input: pass the global touch coordinates to the touch grab
in this commit, a call to "weston_view_from_global_fixed" is added but no check
to touch->focus.
weston will crash when touch->focus is null.
It do have the null check on touch->focus before call to "wl_touch_send_down".
this crash only happens in "default_grab_touch_down()".
so i solved it as attached patch file shows.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151102/e46b6ae3/attachment.html>
More information about the wayland-bugs
mailing list