Re: ISAPI Crash Debugging Notes

From: Date: Tue, 27 Aug 2002 08:13:53 +0000
Subject: Re: ISAPI Crash Debugging Notes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87513@lists.php.net to get a copy of this message
At 09:53 27/08/2002, Michael Sisolak wrote:
i've been doing some debugging of the crashes when running php under the isapi sapi. is anybody else currently looking at this? if you are let's talk - here are my notes so far.
first off, can you try using http://www.php.net/~zeev/php-4.2.3rc1.tar.gz and see if you experience the same problems? i've made some thread-safety related fixes there, even though none should lead to a hard crash... zeev, i believe that i may have tracked down a major isapi filter thread-safety hole. if i understand what zend_startup() is doing correctly, it assumes that the thread that it runs under will not also be used to serve http requests.
No, the startup thread can be used as a regular HTTP thread, nothing in the code should prevent that. The globals code in the startup sequence is very tricky, but it should work. Either way - starting threads from an ISAPI filter/extension is completely forbidden (or at least strongly discouraged) so even if there is some bug in there, starting our own thread is not an option. Can you give me the data I mentioned in the previous letter? Zeev

« previous php.dev (#87513) next »