Robert, After running osgdem in the debugger, it is crashing in gdalrasterband.cpp where an integer divide by zero is happening. Tracing up further, it appears that in the method SourceData::readImage(...) in SourceData.cpp, the variable "destWidth" is coming in as zero. Interestingly, the first pass through the loop in that method yields a destWidth of 256. On the next time around, it is zero which is causing the crash in GDAL.
The ".tif" file is a file that I have used before with osgdem on another machined with no problems so I know the image file is good. I will try to dig further to get more on what's happening... -Shayne -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Osfield Sent: Saturday, July 10, 2010 3:30 AM To: OpenSceneGraph Users Subject: Re: [osg-users] floating point exeption in VPB... Hi Shayne, I develop under 64bit system and haven't encountered any floating point exceptions issues with 64bit build of VPB. Could you please run osgdem in a debugger and see what happens. Could you also update to svn/trunk for OSG and VPB to see if the problem persists. Robert. On Thu, Jul 8, 2010 at 11:01 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <[email protected]> wrote: > All, > > > > I'm using VPB 0.9.10 along with OSG 2.8.2 on a system that is using 64-bit > Linux (Fadora core 10) i386. Both packages were built from source. > > > > No matter what database I try to build, I get a floating point exception > when running osgdem. I know the DTED and imagery are good since I've built > VPB databases with this content on a windows 32-bit system. > > > > Here is a sample command that fails: osgdem -TERRAIN -geocentric -PagedLOD > -whole-globe -t wholeearthtexture.tif -l 10 -o output.ive > > > > My question is, has anyone else seen problems with VPB in a similar > environment. Are there some 64-bit issues going on here? I'm at a loss as to > why I'm getting this floating point exception. If I use any other content > (i.e. dted or imagery), I get the same results. > > > > Any help or input would be most appreciated. > > -Shayne > > _______________________________________________ > 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

