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 faul
The SIGKILL
at startup most likely means that the AIX runtime loader couldn't find some library that the binary links against (a Linux runtime loader produces a more helpful error message when that happens).
You should verify that ldd cryptestcwd
doesn't complain about anything.
You could also try to load the core
that is produced when you run your program outside of GDB into GDB -- there may be additional clues there (use info shared
, where
, x/i $pc
commands).