Hi Sukender, On Tue, Jan 26, 2010 at 3:44 PM, Robert Osfield <[email protected]> wrote: > Could you have a look at these. I'll revert my local changes till > you've cleared up this issue.
I reverted your changes but still got the hang in exactly the same place with: osgconv cow.osg cow.3ds Curiously osgconv glider.osg glider.3ds works fine. Your changes don't seem to warrant an all clear though, as I could write glider.3ds and then re-read it successfully with osgviewer prior to applying to latest changes, but in just re-applying them just now the write glider.3ds does crash, but the reading of this file results in a seg fault. I've tried a couple of other 3rd party .3ds files and new code you've sent crashes when trying to load all of them. Stack trace is: (gdb) where #0 0x00007f99b7d813bb in ReaderWriter3DS::ReaderObject::ReaderObject () from /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so #1 0x00007f99b7d84d6d in ReaderWriter3DS::constructFrom3dsFile () from /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so #2 0x00007f99b7d855e1 in ReaderWriter3DS::doReadNode () from /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so #3 0x00007f99b7d82b63 in ReaderWriter3DS::readNode () from /home/robert/OpenSceneGraph/lib/osgPlugins-2.9.7/osgdb_3ds.so #4 0x00007f99bb6e400c in osgDB::Registry::ReadNodeFunctor::doRead () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 #5 0x00007f99bb6e2f4a in osgDB::Registry::read () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 #6 0x00007f99bb6e35fd in osgDB::Registry::readImplementation () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 #7 0x00007f99bb6e3b59 in osgDB::Registry::readNodeImplementation () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 #8 0x00007f99bb6d1331 in osgDB::readNodeFile () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 #9 0x00007f99bb6d277d in osgDB::readNodeFiles () from /home/robert/OpenSceneGraph/lib/libosgDB.so.63 I'll wait for fixes to the write of cow.3ds and the read of .3ds before merging any of the changes put forward in this thread. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
