[Wayland-bugs] [Bug 79609] VT switching crashes Xwayland and weston
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jun 27 20:25:01 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=79609
--- Comment #7 from Boyan Ding <stu_dby at 126.com> ---
Ok, I think I have nearly found what causes the problem (thanks Tyler for the
detailed info).
When switching VTs back and forth, weston will reprobe input devices. So after
switching back from another VT, Xwayland, as a wayland client, will add new
device for the pointer (line 473 of hw/xwayland/xwayland-input.c). However, the
devPrivates field of the newly created device is not properly set (pointing to
NULL) thus cause the problem.
The field is set in xwl_realize_cursor in xwayland-cursor.c and that function
is passed into some functions as function pointer. However, from my debugging,
it is never called after the new pointer device was created.
So the problem may lie in forgetting to init something.
--
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/20140628/95469bc1/attachment.html>
More information about the Wayland-bugs
mailing list