I would like to force a core dump at a specific location in my C++ application.
I know I can do it by doing something like:
int * crash = NULL;
*cras
Another way of generating a core dump:
$ bash
$ kill -s SIGSEGV $$
Just create a new instance of the bash and kill it with specified signal. The $$ is the PID of
the shell. Otherwise you are killing your current bash and will be logged out, terminal closed or disconnected.
$ bash
$ kill -s SIGABRT $$
$ bash
$ kill -s SIGFPE $$