11/26/2009 4:03 AM
io-display pends on a mutex indefinitely
I'm using SDP 6.4.1 on a vmware box.
I have a strange issue when I try to use OpenGL.
The code creates in sequence:
- 2 surfaces capable of 3D operations (flag GF_SURFACE_CREATE_3D_ACCESSIBLE)
- from the previous surfaces creates a 3d target surface
- then use it as native for EGL
- after the code try to create a surface for offscreen drawing (offscreen framebuffer) but at this point my code wait
indefinitely on a reply from io-display.
Looking on io-display I can see that one thread is waiting to lock a mutex. Seems that this mutex wasn't unlocked on the
last AGF operation. Using the symbols and looking deeper in the mutex is possible to see that the values are very
strange, like an uninitialized mutex.
As attachment I send the screen shot of the "injured" thread call stack.