Hi, the new JSBSim code crashes when referring to an undefined property in the <function> element.
Example: <function NAME="foo"> <description> This one will crash fg </description> <product> <property>aero/function/bar</property> <property>aero/qbar-area</property> <!-- other stuff --> This is no proplem when you have a working config file, but is no fun while developing a new model :-( I think a message like function name="xyz" referring to undefined property aero/function/bar and a more or less graceful shutdown of fg should be more developer friendly ;-) (gdb) bt #0 SGPropertyNode::getDoubleValue (this=0x0) at props.cxx:1130 #1 0x08195e71 in JSBSim::FGFunction::GetValue (this=0xb042a98) at FGFunction.cpp:138 #2 0x08195e71 in JSBSim::FGFunction::GetValue (this=0xb04b000) at FGFunction.cpp:138 #3 0x083ca1a5 in copyProperties (in=0xb0427a8, out=0xb6fcb70) at props_io.cxx:579 #4 0x083ca0bd in copyProperties (in=0xb04f718, out=0xb6fcb10) at props_io.cxx:609 #5 0x083ca0bd in copyProperties (in=0xac51af8, out=0xb6fbd90) at props_io.cxx:609 #6 0x083ca0bd in copyProperties (in=0xa3ca8a8, out=0xb6f73b0) at props_io.cxx:609 #7 0x083ca0bd in copyProperties (in=0xa38b850, out=0xb6f7338) at props_io.cxx:609 #8 0x083ca0bd in copyProperties (in=0x88622e8, out=0xb64cb78) at props_io.cxx:609 #9 0x08069cb2 in FGGlobals::saveInitialState (this=0x8862160) at globals.cxx:212 #10 0x0806517c in fgInitSubsystems () at fg_init.cxx:1848 #11 0x08054244 in fgIdleFunction () at main.cxx:869 #12 0x40058878 in glutMainLoop () at freeglut_main.c:1116 #13 0x08051a66 in fgMainInit (argc=2, argv=0xbffaa8c4) at main.cxx:1007 greetings, Torsten ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel