w*s 发帖数: 7227 | 1 my linux code has 5 processes,
seems 1 dies, (top shows it's zombie)
causing watchdog eventually.
i don't know how to reproduce the bug,
this is the plan,
every time i see watchdog, code will call abort() to generate core.
Then debug core.
Do you think i can get useful info ? as there're 5 app processes in the
system, can this core still provide useful info for the dead process ?
Also "ps -ef -T" shows this dead process has only 1 thread.
In normal case it should have 5 threads.
My question is, is it really has 1 thread in this case,
or because the process is zombie, it only displays 1 thread ?
Thanks for your help ! | G*****h 发帖数: 33134 | 2 use printf
【在 w*s 的大作中提到】 : my linux code has 5 processes, : seems 1 dies, (top shows it's zombie) : causing watchdog eventually. : i don't know how to reproduce the bug, : this is the plan, : every time i see watchdog, code will call abort() to generate core. : Then debug core. : Do you think i can get useful info ? as there're 5 app processes in the : system, can this core still provide useful info for the dead process ? : Also "ps -ef -T" shows this dead process has only 1 thread.
|
|