Crash in Mesa when using Wayland EGL platform: The root cause is incorrect parameter for wayland_roundtrip() in function wayland_shm_display_init_screen (see file src/gallium/state_trackers/egl/wayland/native_shm.c). The following patch fixes the issue: diff --git a/src/gallium/state_trackers/egl/wayland/native_shm.c b/src/gallium/state_trackers/egl/wayland/native_shm.c index a959237..e543619 100644 --- a/src/gallium/state_trackers/egl/wayland/native_shm.c +++ b/src/gallium/state_trackers/egl/wayland/native_shm.c @@ -163,7 +163,8 @@ wayland_shm_display_init_screen(struct native_display *ndpy) return FALSE; if (shmdpy->base.formats == 0) - wayland_roundtrip(shmdpy->base.dpy); + wayland_roundtrip(&shmdpy->base); + if (shmdpy->base.formats == 0) return FALSE;
The same patch was posted earlier to the Mesa list. Fixed with commit c07c18081e3b21070c7db3aea0c7a31a31ff20ce
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.