Re: output/threads aborting

From: Date: Wed, 23 May 2001 04:14:47 +0000
Subject: Re: output/threads aborting
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-56426@lists.php.net to get a copy of this message
At 03:48 PM 5/22/2001 -0700, Shane Caraveo wrote:
Hello everyone, With the current CVS debug_ts build I'm getting an abort in the TSRM library. I've tracked this down to php_module_startup() in main.c. The call to php_output_startup() on line 783 accesses thread specific data, however the output module is not started (thus no thread data alocated) until php_startup_internal_extensions() is called on line 873. Simply moving the call to php_output_startup, but it looks like this might need to happen before that point in startup. I don't want to commit that change without somebody a bit more knowlegable on the output stuff looks into this.
This is probably due to my patch yesterday of moving the output initialization from GINIT to MINIT. In php_module_startup() can you try moving php_output_startup() after php_startup_internal_extensions() and see if things are working. If not then please revert my patch from yesterday and I will take another look at what can be done. Thanks, Andi

« previous php.dev (#56426) next »