Summary: | Xorg crashes due to calling wrong offset in GL dispatch table for indirect GGLX | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Stefan Brüns <stefan.bruens> | ||||
Component: | Server/Ext/GLX | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Stefan Brüns
2013-02-17 19:26:31 UTC
This happens due to the intel driver pulling in libglapi via libGL/Glamor. The result are 2 definitions of _glapi_add_dispatch, one from the X server (glx/glapi.c) and one from Mesa (mapi/mapi/mapi_glapi.c), and the wrong one wins. Disabling glamor in the intel driver works around this problem. I believe I am seeing the same issue when trying to run the game Braid. I wrote some notes in Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1073519 I see Stefan discussed this bug with Ian Romanick back in 2013: http://lists.freedesktop.org/archives/mesa-dev/2013-March/035907.html Subject: Mismatch between Mesas dispatch table and the one used by the X server Here's another instance of an X server crash due to incorrect GL dispatch, from May 2014: https://bugs.freedesktop.org/show_bug.cgi?id=78604#c17 commented by Michel Dänzer: [...] it looks like a GLX indirect GL dispatch issue. Reassigning, but I wouldn't hold my breath for that sort of thing getting fixed. :) Created attachment 102088 [details]
short reproducer
Here is a small reproducer program that crashes Xorg reliably for me on Fedora 20.
In current Fedora Rawhide it does not crash (presumably thanks to ajax's "GLX dispatch rewrite").
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/213. |
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.