I'm having trouble debugging a C++ program on AIX built with GNU tools. When the program runs outside the debugger:
-bash-4.3$ ./cryptestcwd v
Segmentation fault (core dumped)
When the program runs under GDB, the debugger prints the message During startup program terminated with signal SIGKILL, Killed.
and exits:
An added wrinkle is, this only happens with an Autotools front-end. It does not happens with our regular GNUmakefile. We supply the same arguments to both Autotools and the GNUmakefile. We are aware Autotools adds additional options and even adds C files to the C++ project, but we have no control over it.
A related question is at During startup program terminated with signal SIGKILL, Killed, but it does not have useful answers. Two other related questions just state that SIGKILL
cannot be caught. Also see Debugging program that catches SIGKILL under Linux and Handling signals with gdb.
How can I debug the problem further?