DragonFly bugs List (threaded) for 2009-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: [issue1137] Process stuck with an empty STATE
:I found a similar zombie process on a PC running -DEVELOPMENT
:(as of 89f297df...), with p_stat==SACTIVE and p_lock==1. The stuck
:process was git again. The previous ones were `git log', and this time
:`git show', all of which involve $PAGER. I tried issuing the same command
:several times, but I couldn't reproduce another zombie yet.
Check p_xstat, see if it is SIGSTOP or SIGTSTP. I think it's going
from SZOMB -> SSTOP -> SACTIVE (on kill or cont) due to the signal.
The p_lock == 1 is due to the exiting LWP and is correct.
I just made another commit which should catch zombied processes which
are improperly resurrected by a stop signal. However, I couldn't
reproduce it to test the fix... the window of opportunity is fairly
small.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]