Message “During startup program terminated with signal SIGKILL” from GDB

前端 未结 1 777
死守一世寂寞
死守一世寂寞 2021-01-23 10:24

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         


        
相关标签:
1条回答
  • 2021-01-23 10:40

    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).

    0 讨论(0)
提交回复
热议问题