DragonFly-2.1.1.459.g81b18 master sys/kern kern_sig.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 24 23:20:38 PST 2009


commit 81b18e513c41e0e025fc785a16df2c1a63e9551c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 24 23:13:46 2009 -0800

    Fix another process stuck-during-exit bug - stuck due to signal.
    
    Fix a bug where an exiting process becomes a zombie, entering the SZOMB
    state, but then receives a stop signal before it can be reaped.  If this
    occurs the process was incorrectly placed in SSTOP and then later made
    SACTIVE again, preventing it from being reaped.
    
    Symptoms were: process shows up in ps in a DEL state but does not show
    up in kgdb's 'info thread' list.  Process is the zombie list and is still
    a child of init, but it's state is SACTIVE instead of SZOMB and p_xstat
    (last signal taken) is SIGSTOP or SIGTSTP.

Summary of changes:
 sys/kern/kern_sig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81b18e513c41e0e025fc785a16df2c1a63e9551c


-- 
DragonFly BSD source repository





More information about the Commits mailing list