Chinaunix
标题:
zombie进程,无法gdb attach,怎么看backtrace
[打印本页]
作者:
Tanacore
时间:
2012-06-28 16:06
标题:
zombie进程,无法gdb attach,怎么看backtrace
系统有个进程zombie了,kill也没用,gdb attach也没用,我想看看它最后调用的堆栈或者函数,有办法吗?/proc/<pid>/stat是不是有一些信息?
作者:
woshizzb
时间:
2012-06-28 16:06
zombie进程其实已经退出了, 不能gdb.
作者:
folklore
时间:
2012-06-29 07:44
ziebom "process" is allready exited, it has not a current executing pointer (IP),
of course can't be attached &
there is no call-stack(no any stack) of a exited process.
(if it is still can be called "process").
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2