Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6925 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36531 invoked by uid 1010); 9 Jan 2004 11:03:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36417 invoked from network); 9 Jan 2004 11:03:19 -0000 Received: from unknown (HELO smtp2.netcologne.de) (194.8.194.218) by pb1.pair.com with SMTP; 9 Jan 2004 11:03:19 -0000 Received: from localhost.localdomain (xdsl-213-196-211-133.netcologne.de [213.196.211.133]) by smtp2.netcologne.de (Postfix) with SMTP id BEA7D3A0E2; Fri, 9 Jan 2004 12:03:18 +0100 (MET) Date: Fri, 9 Jan 2004 12:03:18 +0100 To: ilia@prohost.org Cc: internals@lists.php.net Message-ID: <20040109120318.6b6d1cdb.paj@pearfr.org> In-Reply-To: <200401090011.44840.ilia@prohost.org> References: <200401090011.44840.ilia@prohost.org> Organization: Freelancer X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ZE2, dl() and objects From: paj@pearfr.org (Pierre-Alain Joye) On Fri, 9 Jan 2004 00:11:44 -0500 Ilia Alshanetsky wrote: > It seems there is a problem in either the PHP's shutdown sequence in > php_request_shutdown() or destrutor order in ZE2. The problem is quite > simple, Thanks to point it out :-) Simple but difficult to figure out what happens :). > To demonstrate the problem compile pecl/date as a shared module and > run-r ' dl("date.so"); $a = new date(); ' I do not know if that can help but adding $a=null; obviously do not crash. Am I the only one to get such problem within an extension? That makes hard to track down the leaks or things like that (in debug mode). pierre