glXDestroyContext causes segmentation fault with Via Unichrome graphics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libgl1-mesa-glx
On a machine with Via Unichrome graphics, run the program glxinfo (from package mesa-utils). It prints the normal info about the GL/GLX availability on the machine, and then gives a segmentation fault (before printing info about the visual).
Putting in some debug comments in the code for glxinfo reveals that it dies on the call to glXDestroyContext, i.e. at line 494 of glxinfo.c of the mesa-utils source code. The function glXDestroyContext is in libGL.so, which comes (I believe) from the libgl1-mesa-glx package, hence I am assigning to this package.
On other machines (with other graphics) glxinfo runs normally - so it is some interaction (or lower level call) specific to the Via Unichrome graphics driver.
Note I am convinced that this bug is the cause of bug https:/
where wine is crashing/locking up. Wine tests the availability of opengl, by doing pretty much what glxinfo does - creates a context, tests some parameters, and then destroys it with glXDestroyContext. The call to glXDestroyContext again gives a segmentation fault - only in the case of wine this leads to a runaway process and the appearance of a frozen X11 session. For more info leading to this conclusion, please see wine upstream bug report http://
I'm not quite sure where to go to report to the upstream authors of libGL, so I thought I would at least report it here.
Regards
Karl
Are you using the via or openchrome driver? We are probably going to default to openchrome for hardy, so it needs testing to support the decision making. So please test hardy with openchrome.