Hi Tim,

On Wednesday 20 May 2009 10:06:18 Tim Moore wrote:
> > It may be helpful to dump the scene graph to a file (from the debug menu)
> > once you're getting the NaN error. Hopefully the offending matrix will
> > be printed with NaNs instead of valid coordinates.
> >
> > Tim
>
> I've added an --enable-fpe argument which, on Linux, will cause an abort or
> core dump on a division-by-zero or other invalid floating point operation,
> including generating NaNs and overflowing float-to-integer conversions. See
> if you can get to the source of the NaNs using that.
>

No breakthroughs yet, but just a quick progress report to keep the thread 
alive. :-)

Thanks for your suggestions. I've been trying to track this down, but don't 
have anything firm yet. My current working hypothesis is that a stack 
corruption may be feeding bad data into the "prepare ground cache" function. 
As I've been tracing the problem further up the stack, I got to the point that 
suggests this. I'll post some more specific results later, because the core 
dumps are on a different machine that I don't have access to. That being the 
case, there's probably no bad date in the scene graph itself. I currently 
don't fully understand the results form the stacktrace yet.

As for the --enable-fpe argument, this is probably going to be a very useful 
debugging tool, but enabling it resulted in a segfault inside the GUI when I 
wanted to click the menu to enable the autopilot...

Cheers,
Durk
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to