http://bugs.winehq.org/show_bug.cgi?id=21037
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2009-12-16 08:34:32 --- The backtrace doesn't make a lot of sense, line 843 in context.c is inside a WARN_ON(d3d) block. That said, it crashes because create_context() in create_primary_opengl_context() fails, after which context_release() tries to dereference the NULL context pointer. I can fix create_primary_opengl_context() to return a proper error code instead of crashing, but the failing context_create() call is pretty much a duplicate of bug 18490 and a few other similar reports that all fail due to OpenGL not being allowed on the root window.