Invalid lock sequence error in OpenSceneGraph application
I have an application that is built on OpenSceneGraph (2.6.1) and therefore indirectly OpenGL. The application initializes and starts to run, but then I get the following exception: "Attempt to execute an invalid lock sequence" in OpenGL32.dll. When I re-run it, I sometimes get this exception and sometimes the "privileged statement" exception. The call pillar looks like it's corrupted, so I can't tell exactly where the exception is thrown from. I ran the app several times a couple days ago and have never seen this behavior. Since then I've added an else clause for a pair of ifs and that's it. My app is a console app built with Visual Studio 2008 and sets OpenScenGraph to SingleThreaded.Has anyone seen this before? Any tips for debugging?
source to share
Can you reproduce it using one of the standard examples?
Can you create a minimal application that causes this?
You have a machine with a different video card that you can test (like Nvidia vs. ATI), there are some problems with openscenegraph and bad OpenGL drivers.
Have you tried posting to osg-users@lists.openscenegraph.org
source to share