Bug 226745 - unkillable processes in D and T states
Summary: unkillable processes in D and T states
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Vitaly Mayatskikh
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-02-01 13:45 UTC by Alexey Dobriyan
Modified: 2008-01-09 16:42 UTC (History)
1 user (show)

Fixed In Version: RHEL5.0GA
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-09 16:42:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Parent in D-state, child is TASK_STOPPED (1.09 KB, text/plain)
2007-02-01 13:45 UTC, Alexey Dobriyan
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.