|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2004-03-29 04:24 UTC] T dot Hauck at janaserver dot de
 Description: ------------ In version 4.3.5 the isapi modul is not working any more. Calling the isapi function to run the php script from within its own thread in the Server software will bring a access violation when this thread is ending. It looks to me as if php is corupting soem kind of data in the thread handling of windows. This allways happend calling "phpinfo();" in a script. Some other script work Ok for a while. ------------ Trying it on a apache server on w2k will bring up a errormessage that apache has a "access violation", by shutting down the apache. "phpinfo();" was called during the session. ------------ PHP has encountered an Access Violation at 01395DF7 This showed up running "phpgroupware" with ISAPI modul on the "Jana-Server" webserver, with php 4.3.5 ------------ All this startet when php 4.3.5 was installed, Non of this happend with php 4.3.4 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 17:00:02 2025 UTC | 
Hallo, i compiled the php source and run it in debugger of the webserver. I'am not sure if i'am right but i found a few strange things. 1.) If the thread on the server exist how called the "HttpExtensionProc" the DLLMain function in the "php4isapi.dll" is called and runs this code. case DLL_THREAD_DETACH: ts_free_thread(); break; after that the thread exit procedure in windows it self crashes. I have to tell you the webserver runs every call to the "HttpExtensionProc" in his own thread, so that DLL_THREAD_DETACH: is called after evry php call. Because the same "php4isapi.dll" with older "php4ts.dll" version work, i think the error must be somewhere "ts_free_thread();" funktion. To other messager showed in the debugterminal up: c:\work\php-4.3.5\zend\zend_hash.c(544) : ht=0x014f0820 is already destroyed c:\work\php-4.3.5\zend\zend_hash.c(108) : Bailed out without a bailout address! I don't now if they have something todo with it. If you need mor information or what every, "i'll be back" on monday morning GMT+0200 Thomas