On 26 Oct 2009, at 09:14, James Turner wrote:

> If it's an optimisation-related bug, tracing it is going to be pretty
> awful. That said, the crash seems rather widespread for a straight
> compiler issue. I'm also surprised that a compiler bug would change
> frequency based on compile options.

Speaking to Tim on IRC, I'm sort of swayed back to this some  
uninitialised data scenario. The key question is, is there a  
configuration, for some people (as in, compiler version, compile  
options, FG version, SG version, metar settings, aircraft) that will  
*always* crash? If we have that, then it's easy to test fixes -  
without that, we'll always be guessing.

Incidentally, -O0 often implies that all values are initialised to  
zero, which could by why it fixes the problem. Valgrind should catch  
such an issue, if anyone is able to actually fly FG while running  
under VG - on Mac the performance is too slow to take off.

It would still be interesting to do the CVS binary search if someone  
has time to spare, just to establish an upper bound on when the  
problem might have been introduced.

James



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to