SFML community forums
Help => Graphics => Topic started by: christoph on October 04, 2008, 10:22:11 am
-
Anyone seen something like
Failed to create an OpenGL context for this window
Failed to create an OpenGL context for this window
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 31
Current serial number in output stream: 31
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x7fd897f9b97c]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x15) [0x7fd897f9ba15]
#2 /usr/lib/libX11.so.6 [0x7fd89b830420]
#3 /usr/lib/libX11.so.6(XESetCloseDisplay+0x43) [0x7fd89b812693]
#4 /usr/lib/libGL.so.1 [0x7fd8a066f7b2]
before?
An Idea what could have caused this? To me, it looks like some very early OpenGL / X11 initlialization.
-
Can you give more information about your distrib version, drivers, graphics card, SFML version, ... ?
Can you run other OpenGL programs like glxgears ?
-
It's not my system that's failing but I've gotten an bug report containing this.
The affected system is an debian lenny amd64 with SFML-1.3 (as present in the debian archive -- differences (http://patch-tracking.debian.net/package/libsfml))
-
Can you get more informations about this system ? Can you show the source code which produced this error ?
-
It's this (https://savannah.nongnu.org/projects/spaceshooter/) project. The exact tarball causing the problem is http://testing.coders-nemesis.eu/spaceshooter-sfml-1.0pre.tar.gz -- for building you may have to fix the liblog4cxx path in Makefile.am (sed -i -e "s@/usr/local/lib@/usr/lib@g" Makefile should do, too)
I'm mailing the person finding this problem so there probably will be more information soon.