Bug 260 - "GLException: Surface already locked" after failed makeCurrent
Summary: "GLException: Surface already locked" after failed makeCurrent
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL: http://www.javagaming.org/forums/inde...
Depends on:
Reported: 2007-01-17 10:20 CET by Sven Gothel
Modified: 2010-03-24 07:49 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:49:50 CET

---- Reported by kbr 2007-01-17 10:20:06 ----

The above forum posting, as well as some others from earlier releases of JOGL,
shows that when a makeCurrent() call for an on-screen GLContext fails, the
system starts producing "surface already locked" errors on subsequent calls to

---- Additional Comments From kbr 2007-01-17 10:23:48 ----

Fixed Issue 260: "GLException: Surface already locked" after failed makeCurrent

Added checking for thrown run-time exceptions to on-screen GLContext
makeCurrent() implementations on all three major supported platforms; now
unlocks the underlying GLDrawable if an exception is thrown.

---- Additional Comments From kbr 2007-01-20 17:19:29 ----

Fixed as described above.

--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 260 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=260