Bug 106620

Summary: Xwayland crashed when I try return to desktop while playing game MAD MAX
Product: Wayland Reporter: mikhail.v.gavrilov
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: subdiff
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Xwayland backtrace
Xwayland backtrace

Description mikhail.v.gavrilov 2018-05-22 19:31:21 UTC
Created attachment 139684 [details]
Xwayland backtrace

Xwayland crashed when I tried return to desktop while playing game MAD MAX (pressed Alt + Tab)
This happens one times, and I unable it reproduce again.
Comment 1 Olivier Fourdan 2018-05-22 19:54:03 UTC
Crash is in Xwayland present code.
Comment 2 Roman Gilg 2018-05-23 09:15:20 UTC
It maybe only happened once because it seems to happen when a sync-event is still pending from the Wayland server, what is a very small part of a full refresh cycle.

It's weird that the crash happened after the sync event triggered present_wnmd_event_notify very late in present_send_complete_notify's call to present_window_priv. I would have assumed such a crash could only happen earlier. Does this mean the private window struct is suddenly gone?
Comment 3 Roman Gilg 2018-06-12 19:44:21 UTC
Created attachment 140141 [details]
Xwayland backtrace

It seems exactly this crash just happened to me as well when trying to launch Steam.

The "Updating Steam Information.." dialog appeared and afterwards my session froze.
Comment 4 Roman Gilg 2018-09-27 10:39:21 UTC
Should be fixed with ce271535adb697.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.