Mathias Fröhlich writes:

> Hi,
>
> On Monday 19 December 2005 14:10, Jon S. Berndt wrote:
>> When a sim reset is selected from the menu, what is the calling sequence to
>> the FDMs that follows? That is, which FGInterface functions are called (and
>>
>> >from where)? I thought that might be done from main.cxx, but I can't find
>> > it
>>
>> at the moment.
> The Interface is deleted and a new one is created.
> That is a bit crude, but it works ...

it doesn't work anymore though:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1223874848 (LWP 22155)]
0x00000019 in ~logstream (this=0xbd3d3e8) at logstream.hxx:237
237     {

(gdb) where
#0  0x00000019 in ~logstream (this=0xbd3d3e8) at logstream.hxx:237
#1  0x0812a812 in ~FGFDMExec (this=0xbd3d3e8) at FGFDMExec.cpp:173
#2  0x08113095 in ~FGJSBsim (this=0xb4b39e0) at JSBSim.cxx:308
#3  0x0806c7fc in fgInitFDM () at fg_init.cxx:1331
#4  0x0806deaa in fgReInitSubsystems () at fg_init.cxx:1922
#5  0x08221e31 in reInit (cb=0x0) at gui_local.cxx:81
#6  0x0821c4ad in do_reinit_dialog (arg=0x89b1a00) at menubar.cxx:35
#7  0x0823c845 in FGBinding::fire (this=0xd1b2820) at input.cxx:132
#8  0x0823cd2c in FGInput::doKey (this=0xc1b1cb0, k=27, modifiers=6, x=631, 
    y=-13) at input.cxx:258
#9  0x0823b23d in keyHandler (key=27, keymod=6, mousex=631, mousey=-13)
    at input.cxx:1120
#10 0x080888c4 in callKeyHandler (k=27, mods=6, x=631, y=-13) at fg_os.cxx:73
#11 0xb7db0c4b in processEventsAndTimeouts () at glut_event.c:546
#12 0xb7db10a5 in glutMainLoop () at glut_event.c:954
#13 0x0805aca2 in fgMainInit (argc=3, argv=0xbff962e4) at main.cxx:1007
#14 0x0805a489 in main (argc=3, argv=0xbff962e4) at bootstrap.cxx:193

i haven't had time to really look at it though, but it seems to happen
only with jsb planes. anybody else sees this? i have the carrier
patches applied to the jsb fdm.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to