Hi everyone, Has anyone experienced issues with OpenThreads on Windows 7? I don't exactly know how to describe the glitch we're seeing, but I'll give it a go and hope that someone can shed more light on it.
Occasionally a crash occurs in an application, and a dialog pops up asking to debug. If I click no, the application exits. However, if I click yes, after debugging, the application will continue as if there were no problem. Upon debugging, Vis. Studio pops up and shows an unhandled exception, error writing to location... The line it identifies is always Code: OpenThreads::ScopedLock(OpenThreads::Mutex) lock(aMutex); I should note that ntdll.dll and the openthreads dll (ot11-OpenThreads.dll I believe, don't have the crash up in front of me right now though) are on the top of the call stack in the debugger, and the above call is immediately below those. I tried wrapping the call in a try/catch block to see if I could get more information about the exception, however the crash still happens and the debugger reports it on the same line without getting to the catch statements. (I'm very very inexperienced at using try/catch so I'm not even sure if I should expect it to work that way or not.) The crash occurs even when only a single thread accesses that method (we got rid of the other threads to test it out) so it shouldn't be that the crash is related to trying to access a locked mutex. System info: Windows 7 64-bit (we haven't seen the issue in XP, and don't have 32 bit 7) 32 and 64 bit projects both have the crash osg 2.8.4 Visual Studio 2008 The application also uses Qt, not sure if that is even relevant. Not all of our projects crash like this, but they all use the same source code for the osg/OpenThreads components. Does anyone have any experience with similar issues? Thanks for any input, Tom ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41524#41524 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

