Sometimes there is some small stack corruption that causes gdb to fail doing a \"backtrace\", I have created the below gdb macro (x86-64, can be easily made to work for x86)