[Bug 31043] Segfault when trying to run Direct3D or OpenGL apps