Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67633 invoked by uid 1010); 10 Sep 2004 06:24:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67608 invoked from network); 10 Sep 2004 06:24:29 -0000 Received: from unknown (HELO smtp.unet.ru) (213.219.244.56) by pb1.pair.com with SMTP; 10 Sep 2004 06:24:29 -0000 Received: from host.phpclub.net by smtp.unet.ru (8.12.9/Unet) with ESMTP id i8A6OSdi099703; Fri, 10 Sep 2004 10:24:28 +0400 (MSD) Received: from s17.hibet.ru by host.phpclub.net (8.12.6/Unet) with ESMTP id i8A6ORHT027763; Fri, 10 Sep 2004 10:24:28 +0400 (MSD) Date: Fri, 10 Sep 2004 10:23:47 +0400 To: Andi Gutmans Cc: php-dev Message-ID: <20040910102347.15cf5cb4.tony2001@phpclub.net> In-Reply-To: <5.1.0.14.2.20040909231354.034fc570@127.0.0.1> References: <20040910095725.257bcb8e.tony2001@phpclub.net> <5.1.0.14.2.20040909231354.034fc570@127.0.0.1> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct()) From: tony2001@phpclub.net (Antony Dovgal) On Thu, 09 Sep 2004 23:15:08 -0700 Andi Gutmans wrote: > I think this makes sense because PHP could be in an unstable state. > Think EG(exit_status) covers all possible situations? No time to check > now how it differs from CG(unclean_shutdown) which is most often used. Well, as I can see zend_error() doesn't change CG(unclean_shutdown), but uses EG(exit_status) instead. And there is a side-effect: using exit_status we allow user to disable destructors calling exit($non_zero_status); Probably, this patch needs some more investigation. -- Wbr, Antony Dovgal aka tony2001 tony2001@phpclub.net || antony@dovgal.com