On lundi 08 décembre 2008, Anders Gidenstam wrote:
> On Mon, 8 Dec 2008, gerard robin wrote:
> > I hope that solve the problem for you.
> > Here i have rebuilt FG with that patch and recovered one of my old JSBSim
> > Aircraft FDM which did not worked,
> > i am longer getting the same error , black screen and
> > CullVisitor::apply(Geode&) detected NaN,
> >    depth=nan, center=(-3.09272 -0.110464 -0.924417),
> >    matrix={
> >        nan nan nan nan
> >        nan nan nan nan
> >        nan nan nan nan
> >        nan nan nan nan
> > }
> >
> > Anyhow,  as i told before i have solved it in a different way.
>
> Hi Gerard,
>
> Could you tell which aircraft you see these problems with? There might be
> other problems lurking in the code.
>
> This one wasn't easy to find - my manual CVS bisect search on
> JSBSim/CVS put me on the wrong track (I'm not sure what when wrong there).
> In any case I got the same valgrind complaints for the whole period I
> tested, Aug 1st to now, but NaN problems only from Dec 1st with my test
> case (the Dec 1st commit seems to be a completely unrelated and is not
> even present in FG yet). I finally found the missing initialization by dumb
> luck while checking up on all -Wall warnings in JSBSim (not that many).
> The warning wasn't related to the initialization issue.
>
> Valgrind wasn't very helpful in tracking down the source of the
> uninitialized values this time, what I got was messages like this:
>
> ==11005== Conditional jump or move depends on uninitialised value(s)
> ==11005==    at 0x8152E72:
> JSBSim::FGQuaternion::ComputeDerivedUnconditional() const
> (FGQuaternion.cpp:164)
> ==11005==    by 0x807BA15: JSBSim::FGAuxiliary::Run() (FGQuaternion.h:461)
> ==11005==    by 0x804FD2E: JSBSim::FGFDMExec::Run() (FGFDMExec.cpp:367)
> ==11005==    by 0x804E341: main (JSBSim.cpp:360)
>
> with no hint on how the value(s) got there in the first place..
>
> Now JSBSim/CVS runs without any valgrind complaints here on my ZLT-NT
> and Submarine Scout test cases.
> But I just tried the 737_cruise_steady_turn.xml script and got complaints
> again, will try to track them down.
>
> Cheers,
>
> Anders

Unfortunately as i said before , the non working examples, are with JSBSim FDM 
aircraft that i am working on. ( old models translated to FG 1.9 )
None of them are in cvs yet.
And i said the problem was not new to me.
 I never , before these day,  told anything about it, which could have been 
coming from me.

Cheers

-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to