On Sun, 2009-09-13 at 22:48 +0200, Csaba Halász wrote:
> On Sun, Sep 13, 2009 at 8:19 AM, Scott Hamilton
> <scott.hamil...@popplanet.biz> wrote:
> > Greetings,
> >
> >
> > Below is an short extract of the errors;
> >
> > Warning:: Picked up error in TriangleIntersect
> > (-0.072605 0.529981 -0.111424, -0.073436 0.535242 -0.117702,
> > -0.07705 0.529981 -0.114243)
> > (nan, nan, nan)
> >
> > Is there anything else I can try to determine what causes the errors or
> > to fix them?
>
> Use the --enable-fpe option, preferably with a debug build, and get a
> backtrace from gdb.
command line options;
gdb --args bin/fgfs --enable-sound --enable-hud --aircraft=A380
--airport=YSSY --runway=34L --timeofday=afternoon
--enable-real-weather-fetch --enable-clouds3d --nav1=108.3 --dme=nav1
--enable-fpe
Program received signal SIGFPE, Arithmetic exception.
0x000000000087e6f2 in FGNavRadio::updateReceiver (this=0xc09c760,
dt=0.033333333333333333) at navradio.cxx:474
474 double range_exceed_norm = loc_dist/effective_range_m;
(gdb) bt
#0 0x000000000087e6f2 in FGNavRadio::updateReceiver (this=0xc09c760,
dt=0.033333333333333333) at navradio.cxx:474
#1 0x000000000087ec4b in FGNavRadio::update (this=0xc09c760,
dt=0.033333333333333333) at navradio.cxx:363
#2 0x0000000000b2b691 in SGSubsystemGroup::Member::update (this=0xc099ff0,
delta_time_sec=<value optimized out>) at subsystem_mgr.cxx:308
#3 0x0000000000b2dc6c in SGSubsystemGroup::update (this=0xc064db0,
delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:161
#4 0x0000000000b2b691 in SGSubsystemGroup::Member::update (this=0xc06a1a0,
delta_time_sec=<value optimized out>) at subsystem_mgr.cxx:308
#5 0x0000000000b2dc6c in SGSubsystemGroup::update (this=0xfb4d68,
delta_time_sec=0.033333333333333333) at subsystem_mgr.cxx:161
#6 0x00000000004354b2 in fgMainLoop () at main.cxx:461
#7 0x000000000049c369 in fgOSMainLoop () at fg_os_osgviewer.cxx:172
#8 0x000000000043204c in fgMainInit (argc=12, argv=0x7fffffffd9e8) at
main.cxx:1005
#9 0x0000000000431523 in main (argc=12, argv=0x7fffffffd9e8) at
bootstrap.cxx:228
(gdb) inspect loc_dist
$1 = 295313.5432570572
(gdb) inspect effective_range_m
$2 = 0
Hope that helps.
Scott.
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel