Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12846 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45185 invoked by uid 1010); 15 Sep 2004 21:08:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45125 invoked from network); 15 Sep 2004 21:08:13 -0000 Received: from unknown (HELO theta.altoona-pa.com) (209.161.72.28) by pb1.pair.com with SMTP; 15 Sep 2004 21:08:13 -0000 Received: from IONZOFT-JEG (dpvc-207-68-114-163.alt.east.verizon.net [207.68.114.163]) by theta.altoona-pa.com (Postfix) with ESMTP id 6F82617D33; Wed, 15 Sep 2004 17:08:12 -0400 (EDT) Date: Wed, 15 Sep 2004 17:08:24 -0400 X-Mailer: The Bat! (v2.11.02) Business Reply-To: Jason Garber Organization: IonZoft, Inc. X-Priority: 3 (Normal) Message-ID: <8010368013.20040915170824@ionzoft.com> To: Antony Dovgal Cc: Stanislav Malyshev , internals@lists.php.net In-Reply-To: <20040914181829.24869390.tony2001@phpclub.net> References: <20040910095725.257bcb8e.tony2001@phpclub.net> <20040914181829.24869390.tony2001@phpclub.net> 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: jason@ionzoft.com (Jason Garber) Hello Antony, Maybe this was assumed, but wouldn't this be a per-request flag, rather than a global flag? -- Best regards, Jason mailto:jason@ionzoft.com Tuesday, September 14, 2004, 10:18:29 AM, you wrote: AD> Sounds nice: we should not call destructors after they were already called =) AD> I could propose a simple solution: add a global flag, which will indicate AD> that shutdown_destructors() was called, and do appropriate check in AD> zend_objects_store_del_ref(). AD> Comments/objections?