gerard robin wrote: > Yes it is difficult to trap these nan which are coming ( + or - > randomly ? ? ? , though, getting trouble with carrier) ), and when we get it > the system is closed to be frozen , with black screen, and command line > overflowed with messages. > And when i tried with GDB i did not got any NAN "?????"
You might want to try to comment out line 66 of src/Main/bootstrap.cxx in such case. It'll then throw an exception and a core dump which could be analysed: static void initFPE () { fpu_control_t fpe_flags = 0; _FPU_GETCW(fpe_flags); fpe_flags &= ~_FPU_MASK_IM; // invalid operation // fpe_flags &= ~_FPU_MASK_DM; // denormalized operand // fpe_flags &= ~_FPU_MASK_ZM; // zero-divide // fpe_flags &= ~_FPU_MASK_OM; // overflow // fpe_flags &= ~_FPU_MASK_UM; // underflow // fpe_flags &= ~_FPU_MASK_PM; // precision (inexact result) _FPU_SETCW(fpe_flags); signal(SIGFPE, handleFPE); } Erik ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel