Hi Chang, This is probably due to a static initialization of the various proxy objects.
OSG-3.2 has a few bug fixes related to initialization and might help, but in general I have to say the plugins aren't written to handle multi-threaded initialization. Once they are initialized it should be safe to run them multi-threaded. Robert. On 14 August 2013 10:40, CHANG YONG HO <[email protected]> wrote: > Hi, first i'm sorry for my english writing skill. > i'm begginer ^^; > :( :-* > i try to 28 multi-threaded node loading test. > total polygon is 5*10^6, vertices are 3*10^6. > sometime, osgDB::readNodeFile has error like this, > > when the first running, > 1. Warning: Could not find plugin to read objects from file "xxx02.osg" > ==> this message has random osg file, ex) xxx07 or xxx09 @@; > and the second running, > 2. access violation(0x00~~~) > and the third running, > 3. no problem, my helicopter was loaded within 2minutes. > and 4,5,... running does not take any error, all success. > only when i was root and running, the 1. 2. error comes to me. > > 3ds max file has 28 groups like this, > "xxx0.osg, xxx1.osg, xxx2.osg ..... xxx27.osg" > > later read that osg files by 28 multithreaded readNodeFile(), > i attached to root node by 28 node groups. > > why sometimes random loading error? > i attached my very simple source. > check this source > ... > > Thank you! > > Cheers, > CHANG > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=55848#55848 > > > > > Attachments: > http://forum.openscenegraph.org//files/main_737.cpp > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

