[Mesa-dev] [Bug 62362] New: Crash when using Wayland EGL platform
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Mar 15 01:56:51 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62362
Priority: medium
Bug ID: 62362
Assignee: mesa-dev at lists.freedesktop.org
Summary: Crash when using Wayland EGL platform
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: geomatsi at gmail.com
Hardware: All
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
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;
--
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/mesa-dev/attachments/20130315/81fb30c0/attachment.html>
More information about the mesa-dev
mailing list