Bug 226745

Summary: unkillable processes in D and T states
Product: Red Hat Enterprise Linux 5 Reporter: Alexey Dobriyan <adobriyan>
Component: kernelAssignee: Vitaly Mayatskikh <vmayatsk>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: dzickus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL5.0GA Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-09 16:42:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Parent in D-state, child is TASK_STOPPED none

Description Alexey Dobriyan 2007-02-01 13:45:25 UTC
Version: 2.6.18-1.2747.el5

Is seems that fix 5ecfbae093f0c37311e89b29bfc0c9d586eace87 aka

    [PATCH] fix zap_thread's ptrace related problems
    
    1. The tracee can go from ptrace_stop() to do_signal_stop()
       after __ptrace_unlink(p).
    
    2. It is unsafe to __ptrace_unlink(p) while p->parent may wait
       for tasklist_lock in ptrace_detach().

somehow not working anymore.

Attached program will create unkillable processes, but won't do it
on 2.6.20-rc7.

Comment 1 Alexey Dobriyan 2007-02-01 13:45:25 UTC
Created attachment 147098 [details]
Parent in D-state, child is TASK_STOPPED