Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1417 invoked by uid 1010); 27 Jun 2005 07:11:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1402 invoked from network); 27 Jun 2005 07:11:58 -0000 Received: from unknown (HELO php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2005 07:11:58 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:35539] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 4E/63-00424-DB6AFB24 for ; Mon, 27 Jun 2005 03:11:58 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j5R7Bs2Q015064 for ; Mon, 27 Jun 2005 09:11:54 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j5R7Bn70015047; Mon, 27 Jun 2005 09:11:49 +0200 Date: Mon, 27 Jun 2005 09:11:49 +0200 (CEST) X-X-Sender: derick@localhost To: Yasuo Ohgaki cc: internals@lists.php.net In-Reply-To: <42BFA1A5.6030607@ohgaki.net> Message-ID: References: <42BFA1A5.6030607@ohgaki.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jci-ict.nl Subject: Re: [PHP-DEV] sysvsem module: release_sysvsem_sem and lockup(semaphore leak) From: derick@php.net (Derick Rethans) On Mon, 27 Jun 2005, Yasuo Ohgaki wrote: > Since release_sysvsem_sem has error message while releasing acquired > semaphores (both PHP_4_4 and PHP_5_1), it may end up with semaphore > leak when error handler is used. > > The error message is useful for debugging, so the error message > output should be configurable with ini setting. Although this workaround > is not perfect solution, but it works in most cases. If there isn't a better > idea, I'll add new ini directive to the module. We should not add more ini settings, we've enough of them already. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org