GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./test.out...done. [New LWP 20366] Failed to read a valid object file image from memory. Core was generated by `./test.out'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x0000000000402096 in crash () at test.cpp:15 15 *a = 1; (gdb) (gdb) r Starting program: /home/test/breakpad-ffe3e478657dc7126fca6329dfcedc49f4c726d9/test.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0000000000402096 in crash () at test.cpp:15 15 *a = 1; (gdb) n google_breakpad::ExceptionHandler::SignalHandler (sig=11, info=0x62f8f0, uc=0x62f7c0) at src/client/linux/handler/exception_handler.cc:333 333 void ExceptionHandler::SignalHandler(int sig, siginfo_t* info, void* uc) { (gdb) quit