Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 226745 - unkillable processes in D and T states
Summary: unkillable processes in D and T states
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Vitaly Mayatskikh
QA Contact: Brian Brock
Depends On:
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:
Last Closed: 2008-01-09 16:42:30 UTC
Target Upstream Version:

Attachments (Terms of Use)
Parent in D-state, child is TASK_STOPPED (deleted)
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.