Thanks for the helgrind tip. I think I pinpointed the crash in our program, this is working from trunk:
As said we have multiple files that reference the same image for a texture, I have found two spots that can cause problems: - In InputStream::readImage(bool readFromExternal) at line 777 the program could get an image from the cache. After this it continues to read the image fields and set parameters. The most problematic is at like 784 where it will set the image filename, which is a string. This is not thread safe. Looking further it will call readObjectFields which will read the name and userdata and crash on that. - When a Texture2D is read it will call Texture2D::setImage and this function will call _image->addClient which can mess up the _numClients counter. The second problem can also appear while reading ive files. Cheers, Pjotr ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61424#61424 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

