[issue1137] Process stuck with an empty STATE

Matthew Dillon dillon at apollo.backplane.com
Sun Jan 25 00:26:32 PST 2009


: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 at backplane.com>





More information about the Bugs mailing list