Re: [osg-users] [osgPlugins] osgdb_ive.dll problem when loading an ive globe in osg app
Hi, I got a (sporadic) MS VC Runtime Error (MS VS 2008, Config RelWithDebugInfo) in OSG 2.9.9 as follows. The file was created with: Code: osgconv abc.dae abc.ive -O compressed Code: osgdb_iverd.dll!ive::DataInputStream::DataInputStream(std::basic_istreamchar,std::char_traitschar * istream=0x0030da6c, const osgDB::Options * options=0x35106238) Line 196 C++ osgdb_iverd.dll!ReaderWriterIVE::readNode(std::basic_istreamchar,std::char_traitschar fin={...}, const osgDB::Options * options=0x35106238) Line 97 C++ osgdb_iverd.dll!ReaderWriterIVE::readNode(const std::basic_stringchar,std::char_traitschar,std::allocatorchar 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)) Hope this helps! Cheers, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31942#31942 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] osgdb_ive.dll problem when loading an ive globe in osg app
Hi, sorry, my reply was probably OT and should be separate topic. Cheers, Florian -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=31943#31943 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] osgdb_ive.dll problem when loading an ive globe in osg app
Hi all, My apology if this seems to be a noobish question. I have an osg application and it seems that is experiencing some problems when i try and run it on my machine outside visual studio and also other machines. I have build osg 2.9.8 and also the plugins for it. If i run osgviewer.exe on the ive file it loads just fine. When i compile my application in debug and release build and run it through Visual Studio 08 sp1 it runs just fine. Now on my machine i get the .exe file and also all the osg dlls and the plugins and put them in the same folder. I double click on the exe and the GUI which is in QT starts and i can get to the point to select my globe to load. Then when the application start loading the globe it just dies and i get a runtime error. I ran the application through Dependency walker and it got to the point where it says Loading osgdb_ive.dll then an exception is raised. Has anyone seen this before? Any advice on how i can identify what might be happening? Thank you so much to all. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30887#30887 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] osgdb_ive.dll problem when loading an ive globe in osg app
On Wednesday 18 August 2010 17:26:35 Darko Radiceski wrote: Hi all, My apology if this seems to be a noobish question. I have an osg application and it seems that is experiencing some problems when i try and run it on my machine outside visual studio and also other machines. I have build osg 2.9.8 and also the plugins for it. If i run osgviewer.exe on the ive file it loads just fine. When i compile my application in debug and release build and run it through Visual Studio 08 sp1 it runs just fine. Now on my machine i get the .exe file and also all the osg dlls and the plugins and put them in the same folder. I double click on the exe and the GUI which is in QT starts and i can get to the point to select my globe to load. Then when the application start loading the globe it just dies and i get a runtime error. I ran the application through Dependency walker and it got to the point where it says Loading osgdb_ive.dll then an exception is raised. Has anyone seen this before? Any advice on how i can identify what might be happening? Thank you so much to all. Start up your application outside of VS as you did. Then try to attach the VS debugger to this process. Continue to work in your application as you described. When the crash occurs the debugger should be able to show where it crashed, and what the call chain was up to that point. HTH, Magnus ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org