Originally Posted by Daws
It says: program exited with error code 0377.
A backtrace of the kind you are seeking will only be available when the program crashes (i.e., the debugger catches the SIGSEGV
signal and halts execution), not dies gracefully. In your case, it seems the program itself detects the error and makes a graceful exit. So you have to set a breakpoint for a function you think will be in the stack trace of the guilty code (you could go all the way back to main()
if you’d like). Then, keep typing next
until you see the problem occurring. At that point, type backtrace
. It’s kind of hard to explain since debugging is an art.