HI Gianni, In theory the .ive plugin should be backwards compatible so 2.8.3 should be compatible with 2.8.2. I don't know what the cause might be, but the strack trace points to src/osgPlugins/ive/Image.cpp and DataInputStream.cpp so have a look at any differences 2.8.2 and 2.8.3 in these files.
Robert. On Thu, Sep 16, 2010 at 12:14 PM, Gianni Ambrosio <[email protected]> wrote: > I made a different test, executing the osgviewerQT example, using the same > ive file to load as first parameter of the exe. > With OSG 2.8.2 it works fine, while with OSG 2.8.3 it crashes. > Here is the call stack (hoping you can understand better than me what's going > on): > > osgdb_ived.dll!std::vector<unsigned int,std::allocator<unsigned int> > >::swap(std::vector<unsigned int,std::allocator<unsigned int> > & > _Right=[0]()) Line 1044 + 0xf bytes C++ > osgdb_ived.dll!ive::Image::read(ive::DataInputStream * in=0x00dbf01c) > Line 154 C++ > osgdb_ived.dll!ive::DataInputStream::readImage(ive::IncludeImageMode > mode=IMAGE_INCLUDE_DATA) Line 1176 C++ > osgdb_ived.dll!ive::DataInputStream::readImage() Line 1157 + 0xc > bytes C++ > osgdb_ived.dll!ive::Texture2D::read(ive::DataInputStream * > in=0x00dbf01c) Line 54 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readStateAttribute() Line 1340 + > 0xc bytes C++ > osgdb_ived.dll!ive::StateSet::read(ive::DataInputStream * > in=0x00dbf01c) Line 173 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readStateSet() Line 1247 C++ > osgdb_ived.dll!ive::Drawable::read(ive::DataInputStream * > in=0x00dbf01c) Line 100 + 0x8 bytes C++ > osgdb_ived.dll!ive::Geometry::read(ive::DataInputStream * > in=0x00dbf01c) Line 180 C++ > osgdb_ived.dll!ive::DataInputStream::readDrawable() Line 1492 + 0x2d > bytes C++ > osgdb_ived.dll!ive::Geode::read(ive::DataInputStream * in=0x00dbf01c) > Line 86 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readNode() Line 1688 + 0x2d > bytes C++ > osgdb_ived.dll!ive::Group::read(ive::DataInputStream * in=0x00dbf01c) > Line 74 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readNode() Line 1680 + 0xc bytes > C++ > osgdb_ived.dll!ive::Group::read(ive::DataInputStream * in=0x00dbf01c) > Line 74 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readNode() Line 1680 + 0xc bytes > C++ > osgdb_ived.dll!ive::Group::read(ive::DataInputStream * in=0x00dbf01c) > Line 74 + 0x8 bytes C++ > osgdb_ived.dll!ive::DataInputStream::readNode() Line 1680 + 0xc bytes > C++ > > osgdb_ived.dll!ReaderWriterIVE::readNode(std::basic_istream<char,std::char_traits<char> > > & fin={...}, const osgDB::ReaderWriter::Options * options=0x01d45bd0) > Line 98 + 0xb bytes C++ > osgdb_ived.dll!ReaderWriterIVE::readNode(const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > & > file="D:\test_files\virianimator\rdeve\gfx\afvg.ive", const > osgDB::ReaderWriter::Options * options=0x00000000) Line 72 + 0x23 bytes > C++ > > osg65-osgDBd.dll!osgDB::Registry::ReadNodeFunctor::doRead(osgDB::ReaderWriter > & rw={...}) Line 1421 + 0x40 bytes C++ > osg65-osgDBd.dll!osgDB::Registry::read(const > osgDB::Registry::ReadFunctor & readFunctor={...}) Line 1559 + 0x22 bytes C++ > osg65-osgDBd.dll!osgDB::Registry::readImplementation(const > osgDB::Registry::ReadFunctor & readFunctor={...}, bool useObjectCache=false) > Line 1667 + 0x13 bytes C++ > osg65-osgDBd.dll!osgDB::Registry::readNodeImplementation(const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > & > fileName="D:\test_files\virianimator\rdeve\gfx\afvg.ive", const > osgDB::ReaderWriter::Options * options=0x00000000) Line 1872 + 0x57 bytes > C++ > osg65-osgDBd.dll!osgDB::Registry::readNode(const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > & > fileName="D:\test_files\virianimator\rdeve\gfx\afvg.ive", const > osgDB::ReaderWriter::Options * options=0x00000000, bool > buildKdTreeIfRequired=true) Line 237 + 0x98 bytes C++ > osg65-osgDBd.dll!osgDB::readNodeFile(const > std::basic_string<char,std::char_traits<char>,std::allocator<char> > & > filename="D:\test_files\virianimator\rdeve\gfx\afvg.ive", const > osgDB::ReaderWriter::Options * options=0x00000000) Line 69 + 0x1f bytes > C++ > osg65-osgDBd.dll!osgDB::readNodeFiles(osg::ArgumentParser & > arguments={...}, const osgDB::ReaderWriter::Options * options=0x00000000) > Line 221 + 0x43 bytes C++ > osgviewerQTd.exe!osgDB::readNodeFiles(osg::ArgumentParser & > parser={...}) Line 132 + 0x32 bytes C++ > osgviewerQTd.exe!mainAdapterWidget(QApplication & a={...}, > osg::ArgumentParser & arguments={...}) Line 202 + 0x9 bytes C++ > osgviewerQTd.exe!main(int argc=2, char * * argv=0x01d3d5e0) Line 56 + > 0xd bytes C++ > osgviewerQTd.exe!__tmainCRTStartup() Line 597 + 0x19 bytes C > osgviewerQTd.exe!mainCRTStartup() Line 414 C > > I'm sorry but the ive file is too huge (18 MB) to be posted. > > Regards > Gianni > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=31689#31689 > > > > > > _______________________________________________ > 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

