Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23840 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54387 invoked by uid 1010); 1 Jun 2006 04:26:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54372 invoked from network); 1 Jun 2006 04:26:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2006 04:26:04 -0000 X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:16245] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 48/F9-07504-B5C6E744 for ; Thu, 01 Jun 2006 00:26:04 -0400 Received: (qmail 3245 invoked from network); 1 Jun 2006 04:25:39 -0000 Received: from localhost (HELO ANDI-NOTEBOOK.zend.com) (127.0.0.1) by localhost with SMTP; 1 Jun 2006 04:25:39 -0000 Message-ID: <7.0.1.0.2.20060531212500.03758ec8@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 31 May 2006 21:25:56 -0700 To: "Steph Fox" ,"Frank M. Kromann" Cc: "'internals'" , "'Antony Dovgal'" ,"Dmitry Stogov" , "'Xuefer'" In-Reply-To: <091901c684c6$390ef370$6602a8c0@foxbox> References: <11490874854760000@9866357972520000.9866341568840000> <091901c684c6$390ef370$6602a8c0@foxbox> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] tsrm_shutdown() and the CLI SAPI From: andi@zend.com (Andi Gutmans) At 08:23 AM 5/31/2006, Steph Fox wrote: >Hi Frank, > >>tsrm_shutdown() is already comented out in the CGI version, most likely as >>a fix to the same kind of problem there. Perhaps enabling that again will >>show the same kind of problems? > >Yes, it would, given the root cause - but would you really want to >break the whole of PHP for an academic exercise? It's not really an academic exercise. If we know there's a bug someplace we should at least look into it and try and understand it. Then if we decide to remove the trsm_shutdown call for a good reason (circular dependency, blah blah blah) then we can do that and put a nice fat comment on why it's the right thing to do. But I do think it's benefical to try and understand what's happening. Andi >The more interesting thing is that none of this happens under CLI >debug. I've still no clue why. > >I also think I've somehow corrupted something here with my debug >lines, I'm crashing 'differently' now . > >- Steph > >>- Frank