From OpenSCADAWiki
Or do the same procedure in an interactive mode to global configuration:
# Transfer to the working directory of OpenSCADA (gdb) cd /var/spool/openscada # Specifying an executable file, not scripts! (gdb) file /usr/bin/openscada # Specifying the dump file of the program (gdb) core-file /var/spool/openscada/core.26658 # Getting the reversal of the stack execution (gdb) thread apply all bt full #0 0xb7d104c0 in pthread_cancel () from /lib/librt.so.1 #1 0xb7d1edaa in start_thread () from /lib/libpthread.so.0 #2 0xb7dfcf5e in clone () from /lib/libc.so.6