Re: tsrm_shutdown() and the CLI SAPI

From: Date: Thu, 01 Jun 2006 04:25:56 +0000
Subject: Re: tsrm_shutdown() and the CLI SAPI
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-23840@lists.php.net to get a copy of this message
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 <sigh />. - Steph
- Frank


« previous php.internals (#23840) next »