Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 92481 invoked from network); 4 Sep 2003 00:49:36 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Sep 2003 00:49:36 -0000 Received: (qmail 60218 invoked by uid 500); 4 Sep 2003 00:49:13 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 60177 invoked by uid 500); 4 Sep 2003 00:49:13 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 60137 invoked from network); 4 Sep 2003 00:49:12 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 4 Sep 2003 00:49:12 -0000 Received: (qmail 29935 invoked by uid 50); 4 Sep 2003 00:51:16 -0000 Date: 4 Sep 2003 00:51:16 -0000 Message-ID: <20030904005116.29934.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 21737] - cgi process defunct X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21737 cgi process defunct eseidel@apple.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From eseidel@apple.com 2003-09-04 00:51 ------- I have confirmed, this condition still exists on Mac OS X 10.3 with this patch. I patched the 1.3.28 sources (I erred in my comment above). And was still able to reproduce this. I did extensive further testing and found that both Mac OS X, and FreeBSD violate the POSIX specification for kill() and return ESRCH, when sending a signal to a zombie process. This violation introduces a race condition with this patched code, as a process could finish (become zombie) after the NEED_WAITPID "waitpid" cleanup, but before the ap_os_kill() call and thus return ESRCH, be marked as kill_never, and then never be cleaned up. Although it is my hope that Mac OS X 10.3 final will have fixed this error. Apache is still left with an interoperability problem on Mac OS X 10.2 and likely FreeBSD (as they share this same violoation). I have attached my program "main.c" which tests for this phenomenon. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org