Hi Adrian, On 2/14/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
i did following test, and crash !****************** TEST with SingleThreaded C:\Dokumente und Einstellungen\adegli>set OSG_THREADING=SingleThreaded C:\Dokumente und Einstellungen\adegli>osgshaders GraphicsWindowWin32::setPixelFormat() - Found a matching pixel format but without the WGL_SWAP_METHOD_ARB specification for screen #0 Warning: deleting still referenced object 014AB0C0 of type 'class osg::Referenced *' the final reference count was 1, memory corruption possible. ******************DEADLOCK
Thanks for the feedback. I'm a bit frustrated as I was hoping in was simple a threading issue related to update callbacks in osgshaders. :-| I am just doing some work to automatically pick this type of usage up and to set the DataVariance to DYNAMIC, which will hopefully close a few loops holes that are could cause thread problems with DrawThreadPerContext. This works needs to be done anyway so its good to get it flushed through now. Perhaps there is chance that if the env var for threading is working properly you could still be running DrawThreadPerContext. The way to find out is to run osgviewer and toggle stats on with 's', it should display the threading model used. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
