2009/4/1 David Doria <daviddoria at gmail.com>: > I am compiling in debug mode. Actually, when I changed to release mode, it > seg faults without doing anything at all. Seemed odd... Ok, well now run it in GDB. Something like this: $ gdb path/to/binary (gdb) run <program runs> SIGSEGV received! (gdb) bt <backtrace printed out> -- http://codebad.com/