Typically you run fgfs from within gdb.

Something like

bash$ gdb fgfs
gdb> run --fgfs-option1 --fgfs-option2

Then when you get a crash you can type:

gdb> where

To get a back trace.

Regards,

Curt.


Michael Basler writes:
> David,
> 
> > That looks like it's just program output.  Can you get a proper
> > backtrace in gdb or some other debugger?
> 
> This would imply me knowing how to use it. I am not a programmer, just an
> ordinary poor physicist...
> 
> I analyzed a core file with gdb once. However, FG doesn't dump a core file
> today. Here's a file fgfs.exe.stackdump it creates:
> 
> ----------------------------------------------------------------
> Exception: STATUS_ACCESS_VIOLATION at eip=007251A7
> eax=1925FB78 ebx=00000003 ecx=00000039 edx=19194DD0 esi=19194DD8
> edi=17F81410
> ebp=0022EC74 esp=0022EC20
> program=G:\cygwin\usr\local\flightgear\BIN\fgfs.exe
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022EC74  007251A7  (19194BF0, 00000001, 0022ECA4, 008CA36F)
> 0022ECA4  008CA3C8  (19194BF0, 00000000, 00000001, 0000001D)
> 0022ECE4  008CADBC  (19194BF0, 00000000, 00000001, 0000001D)
> 0022ED24  008CE6A4  (19194BF0, 00000000, 00000001, 0000001D)
> 0022ED74  008C68BB  (19255768, 00000000, 00000001, 00000155)
> 0022EDC4  008C68BB  (1777DC70, 00000000, 00000001, 00000155)
> 0022EE14  008C5E57  (00000000, 00000001, 00000155, 00000119)
> 0022EFB4  0074DCF9  (1866B330, 00000000, 00000001, 00000155)
> 0022EFE4  0075776A  (00000000, 00000001, 00000155, 00000119)
> 0022F108  1000CE6A  (001206E6, 00000202, 00000000, 01190155)
> 0022F134  77D37AD7  (1000C0E7, 001206E6, 00000202, 00000000)
> 0022F19C  77D3CCD4  (00000000, 1000C0E7, 001206E6, 00000202)
> 0022F1CC  77D15CD6  (FFFF0823, 001206E6, 00000202, 00000000)
> 0022F1EC  77D23346  (FFFF0823, 001206E6, 00000202, 00000000)
> 0022F22C  5F0F2CCF  (001206E6, 00000202, 00000000, 01190155)
> 0022F258  77D37AD7  (5F0F2AB6, 001206E6, 00000202, 00000000)
> End of stack trace (more stack frames may be present)
> ----------------------------------------------------------------
> 
> Can you tell me how to analyse this using gdb? (Which btw. is a graphical
> fronent for Cygwin by default which, however, can be switched off.)
> 
> Regards, Michael
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
>         Michael Basler, Jena, Germany
>                 [EMAIL PROTECTED]
>       http://www.geocities.com/pmb.geo/
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to