Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like your program is crashing on startup. There is code that runs before main, and it looks like something in there is crashing.

gdb's list command is not my preferred choice for debugging; looking at the backtrace (gdb's backtrace command) will show the series of function calls and the final line where your program crashed.