
Estoy intentando ejecutar pstack en mi proceso C++. Sin embargo, se ve el siguiente error. Esta es una instancia basada en Debian Buster. ¿Podría alguien decirme qué está mal aquí?
pstack 15
15: /usr/local/bin/TestProcess 10.128.2.196 8001 -1 -1
pstack: Input/output error
failed to read target.
Respuesta1
Creo que el pstack ya no se mantiene. Las páginas man y elcódigo fuenteno coincide.
Puede utilizar gdb como alternativa.
$ sudo gdb
(gdb) attach {pid}
(gdb) thread apply all bt