Re: [osg-users] [osgPlugins] Visual C++ Runtime Error in osg 2.9.9 ive uncompress
Hi Robert, thanks for the quick reply. For now, I am suspecting memory exhaustion since I just got the following crash as well (call stack does not seem to be very complete any more...). What speaks for this, it doesn't happen alle of the time... The scene graph has 7e6 vertices, Physical RAM usage was at 3.6 GB, and the process was holding 1.2 GB RAM at the time of the crash... Code: > osg66-osgDBrd.dll!osgDB::Registry::readImage(const > std::basic_string,std::allocator > & > fileName="...\texture6.jpg", const osgDB::Options * options=0x) Line > 213 + 0x5 bytes C++ osg66-osgDBrd.dll!osgDB::readRefImageFile(const std::basic_string,std::allocator > & filename="...\texture6.jpg", const osgDB::Options * options=0x) Line 264C++ osgdb_daerd.dll!osgDB::readRefImageFile(const std::basic_string,std::allocator > & filename="üDp") Line 218 + 0x2c bytes C++ osgdb_daerd.dll!osgDAE::daeReader::processTexture(domCommon_color_or_texture_type_complexType::domTexture * tex=0x750f3a58, const osg::StateSet * ss=0x19002f00, osgDAE::daeReader::TextureUnitUsage tuu=406192626, domFx_opaque_enum opaque=-2122200076, float transparency=2.6826877e+030) Line 1112 + 0x12 bytes C++ Cheers, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31975#31975 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Visual C++ Runtime Error in osg 2.9.9 ive uncompress
Hi Florian, Does the problem exist when using models form the standard OpenSceneGraph-Data set? i.e. osgconv cow.osg cow.ive -O compressed I have just done this test on my Linux system and it works fine, and I'm able to run "osgviewer cow.ive" just fine. FYI, very little has changed with the .ive plugin in recent times, so if a problem does exist in 2.9.9 then it's likely to occur in prior versions of the OSG. Not that this really helps us too much, but might gives some clues to what might be amiss. At your end I'd recommend double checking that the build when fine, perhaps trying other build combinations and other models. Robert. On Thu, Sep 23, 2010 at 8:15 AM, Florian Kolbe wrote: > Hi, > > I got a (sporadic) MS VC Runtime Error (MS VS 2008, Config RelWithDebInfo) > in OSG 2.9.9 as follows. The file was created with: > > > Code: > osgconv abc.dae abc.ive -O compressed > > > > Callstack of the runtime error: > > > Code: > >> >> osgdb_iverd.dll!ive::DataInputStream::DataInputStream(std::basic_istream >> > * istream=0x0030da6c, const osgDB::Options * options=0x35106238) Line >> 196 C++ > > osgdb_iverd.dll!ReaderWriterIVE::readNode(std::basic_istream > > & fin={...}, const osgDB::Options * options=0x35106238) Line 97 C++ > osgdb_iverd.dll!ReaderWriterIVE::readNode(const > std::basic_string,std::allocator > & > file="abc.ive", const osgDB::Options * options=0x) Line 74 + 0x18 > bytes C++ > > osg66-osgDBrd.dll!osgDB::Registry::ReadNodeFunctor::doRead(osgDB::ReaderWriter > & rw={...}) Line 791 + 0x24 bytes C++ > osg66-osgDBrd.dll!osgDB::Registry::read(const > osgDB::Registry::ReadFunctor & readFunctor={...}) Line 964 C++ > osg66-osgDBrd.dll!osgDB::Registry::readImplementation(const > osgDB::Registry::ReadFunctor & readFunctor={...}, > osgDB::Options::CacheHintOptions cacheHint=CACHE_NODES) Line 1128 C++ > > > > The line in question is: > > > Code: > if (!uncompress(*istream, data)) > > > > Cheers, > Florian > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=31956#31956 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] Visual C++ Runtime Error in osg 2.9.9 ive uncompress
Hi, I got a (sporadic) MS VC Runtime Error (MS VS 2008, Config RelWithDebInfo) in OSG 2.9.9 as follows. The file was created with: Code: osgconv abc.dae abc.ive -O compressed Callstack of the runtime error: Code: > > osgdb_iverd.dll!ive::DataInputStream::DataInputStream(std::basic_istream > > * istream=0x0030da6c, const osgDB::Options * options=0x35106238) Line 196 > C++ osgdb_iverd.dll!ReaderWriterIVE::readNode(std::basic_istream > & fin={...}, const osgDB::Options * options=0x35106238) Line 97 C++ osgdb_iverd.dll!ReaderWriterIVE::readNode(const std::basic_string,std::allocator > & file="abc.ive", const osgDB::Options * options=0x) Line 74 + 0x18 bytes C++ osg66-osgDBrd.dll!osgDB::Registry::ReadNodeFunctor::doRead(osgDB::ReaderWriter & rw={...}) Line 791 + 0x24 bytes C++ osg66-osgDBrd.dll!osgDB::Registry::read(const osgDB::Registry::ReadFunctor & readFunctor={...}) Line 964 C++ osg66-osgDBrd.dll!osgDB::Registry::readImplementation(const osgDB::Registry::ReadFunctor & readFunctor={...}, osgDB::Options::CacheHintOptions cacheHint=CACHE_NODES) Line 1128C++ The line in question is: Code: if (!uncompress(*istream, data)) Cheers, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31956#31956 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org