Imagination PowerVR SDK Blog

Crash on eglGetConfigs


Hi *,

I have a crash on eglGetConfigs with the current OpenGL ES Emulator.

The situation:

We have two threads, a main thread and a second "rendering" thread,

we create a window within the rendering thread and try to call eglGetConfigs()

this call crashes in libEGL.lib with an exception: Access violation reading location 0xbaadf00d


the same code runs fine if do this in the "main thread"


Anyone any ideas?


This is a known issue: BRN29913. It will be fixed in a future release.

However: in general, we always recommend using the 'main thread' for the UI: Windows/X11 interaction and rendering; further threads for everything else. This fits well with DirectX usage and will also work around this issue.

Gordon2010-06-24 16:08:54