From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 18 15:45:25 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87F6B37B401; Fri, 18 Apr 2003 15:45:25 -0700 (PDT) Received: from snark.ratmir.ru (snark.ratmir.ru [213.24.248.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B80A43F85; Fri, 18 Apr 2003 15:45:24 -0700 (PDT) (envelope-from freebsd@snark.ratmir.ru) Received: from snark.ratmir.ru (freebsd@localhost [127.0.0.1]) by snark.ratmir.ru (8.12.9/8.12.9) with ESMTP id h3IMjNC2063383; Sat, 19 Apr 2003 02:45:23 +0400 (MSD) (envelope-from freebsd@snark.ratmir.ru) Received: (from freebsd@localhost) by snark.ratmir.ru (8.12.9/8.12.9/Submit) id h3IMjN42063382; Sat, 19 Apr 2003 02:45:23 +0400 (MSD) Date: Sat, 19 Apr 2003 02:45:22 +0400 From: Alex Semenyaka To: freebsd-threads@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20030418224522.GA63339@snark.ratmir.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i cc: David Xu cc: Daniel Eischen Subject: Re: libpthread patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 22:45:25 -0000 On Wed, Apr 16, 2003 at 01:09:46PM -0400, Daniel Eischen wrote: > Found it! The library's version of sigaction was not allowing > a signal handler for SIGCHLD to be installed; it was leftover > from libc_r. By the way, in this connection could somebody check my follow-up to the PR bin/48856? I suggested a really small fix (3 lines in total) to the current implementation of the signal(). With the current one the call of signal(SIGCHLD, SIG_IGN) still allows zombie to be born. There are to places to fix actually, one is the standard libc and second is the pthreads (that's why I am sending this message to -threads as well). If that fix is bad somehow I would gladly receive any explanations. Thanks! SY, Alex