On Wednesday, August 11, 2010 02:10:07 pm Stuart Buchanan wrote:
> Hi All,
> 
> I'm getting consistent crashes with the new p51d-jsbsim. Backtrace below.
> 
> My simgear and flightgear source are up to date (as far as I can tell).
> 
> Anyone else seeing this?
> 
> -Stuart

Just to follow up.  I am not running current GIT of FG.  My copy is GIT as of 
about 3 weeks ago and I am not seeing this issue.  The JSBSIm P-51D is doing 
some things that are a little unusual and that push the limits of what can be 
done in JSBSIm.  So it is more likely to run into things that cause crashes 
than most models.

It appears that it is crashing when it tries to do something with a switch.  
You might want to try bisecting to see which commit is causing the problem.

Hal

> 
> setStores
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000009ba8ba in SGPropertyNode::get_int (this=0x100e3740)
>     at props.cxx:370
> 370         return (static_cast<SGRawValue<int>*>(_value.val))->getValue();
> (gdb) bt
> #0  0x00000000009ba8ba in SGPropertyNode::get_int (this=0x100e3740)
>     at props.cxx:370
> #1  SGPropertyNode::getDoubleValue (this=0x100e3740) at props.cxx:1219
> #2  0x00000000005bce52 in JSBSim::FGSwitch::test::GetValue
> (this=0x101cca50) at FGSwitch.h:164
> #3  JSBSim::FGSwitch::Run (this=0x101cca50) at FGSwitch.cpp:169
> #4  0x000000000055425d in JSBSim::FGFCS::Run (this=0x10172810) at
> FGFCS.cpp:215 #5  0x000000000051bbe5 in JSBSim::FGFDMExec::Run
> (this=0x101887e0) at FGFDMExec.cpp:331
> #6  0x000000000051bc58 in JSBSim::FGFDMExec::RunIC (this=0x101887e0)
>     at FGFDMExec.cpp:347
> #7  0x000000000053abfb in JSBSim::FGTrimAxis::Run (this=0x7fffd0054080)
>     at FGTrimAxis.cpp:406
> #8  0x0000000000539707 in JSBSim::FGTrim::DoTrim (this=0x7fffd0053f90)
>     at FGTrim.cpp:262
> #9  0x0000000000501177 in FGJSBsim::do_trim (this=0x10290f80)
>     at JSBSim.cxx:1166
> #10 0x0000000000501be2 in FGJSBsim::update (this=0x10290f80,
>     dt=<value optimised out>) at JSBSim.cxx:501
> #11 0x00000000004e7258 in FDMShell::update (this=0xd22aca0,
>     dt=<value optimised out>) at fdm_shell.cxx:162
> #12 0x00000000009f645d in SGSubsystemGroup::Member::update (this=0xd1b41f0,
>     delta_time_sec=<value optimised out>) at subsystem_mgr.cxx:339
> #13 0x00000000009f83c8 in SGSubsystemGroup::update (this=0xddcf68,
>     delta_time_sec=<value optimised out>) at subsystem_mgr.cxx:177
> #14 0x00000000009f624a in SGSubsystemMgr::update (this=0xddcea0,
>     delta_time_sec=<value optimised out>) at subsystem_mgr.cxx:432
> #15 0x0000000000431a8a in fgMainLoop () at main.cxx:164
> #16 0x000000000047b9a2 in fgOSMainLoop () at fg_os_osgviewer.cxx:200
> #17 0x0000000000432899 in fgMainInit (argc=2, argv=0x7fffffffe318)
>     at main.cxx:664
> #18 0x000000000042fe1e in main (argc=2, argv=0x7fffffffe318)
>     at bootstrap.cxx:243
> (gdb) print _value
> Cannot access memory at address 0x88
> 
> ---------------------------------------------------------------------------
> --- This SF.net email is sponsored by
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to