Backtrace using gdb & Download and Compile.sh
Appearance
Tracking down a crash with double free corruption (fasttop)
Set environment variable:
set environment MALLOC_CHECK_ 2Next run FlightGear with debug:
./run_fgfs_debug.sh --launcher
Use the below gdb commands handle SIGPIPE nostop and handle SIG32 nostop to skip innocent events:
gdb: handle SIGPIPE nostop
gdb: handle SIG32 nostopUse r within gdb to run FlightGear:
gdb: rAfter the crash use the gdb command bt to print the backtrace:
gdb: bt