[Wayland-bugs] [Bug 95337] XWayland crashes during startup if output data is received

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 11 07:01:35 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95337

--- Comment #1 from Olivier Fourdan <fourdan at xfce.org> ---
Created attachment 123617
  --> https://bugs.freedesktop.org/attachment.cgi?id=123617&action=edit
Possible fix

(In reply to Mike Blumenkrantz from comment #0)
> [...]
> ConnectionInfo is NULL, as InitInput is called before the connection data is
> initialized, meaning that anything trying to access it before this point
> will trigger a crash.

Huh...

I am not sure, why we'd need to call the wl_display_roundtrip() in InitInput()?

This and initializing xwl_screen->expecting_event to 0 will be done again later
again in xwl_screen_init() where it seems more appropriate, and events can
safely be queued up meanwhile.

Does this patch help? I haven't detected any ill effect in my light initial
testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160511/409fbb88/attachment-0001.html>


More information about the wayland-bugs mailing list