ID: 32919 Updated by: [EMAIL PROTECTED] Reported By: justincouto at msn dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: Windows 2003 Server PHP Version: 5.0.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-05-11 03:28:50] justincouto at msn dot com I have done more work on trying to figure out the source of this bug. I realized that it seemed to be happening in in all the places that we were using the Curl module for Posting to web services. As a result, I wrote a php socket class to replace curl. The new class eliminated the problem in all places except where it needs to use the OpenSSL module. It seems as if both Curl and the Openssl module have issues. I can reproduce the problem. It occurs with using a socket as follows: $handle = fsockopen($this->host, $this->port, $errno, $errstr, $timeout = 30); I have deffinately narrowed the issue to this line of code. The host and port are set as follows $this->host = "ssl://somehost.com"; $this->port = 443; The reason I know it is the ssl part of the connection is becuse I can use the class to connect to non ssl connection at the same time the access violation is happening. The access violation only occurs on a heavly load (when lots of requests through a secure fsockopen) It seems if it could have something to do with the openssl threading. I also think this because the CLI or CGI version won't reporduce this issue. Please advise. If you know of any other way to do a secure socket connection that doesn't use openssl or curl, it would be helpful for me to get a qucik fix. Thanks, ------------------------------------------------------------------------ [2005-05-03 00:00:58] justincouto at msn dot com Description: ------------ I am running PHP5 on 3 Windows 2003 servers using IIS 6.0. All of these servers randomly get PHP Access Violation errors like this: "PHP has encountered an Access Violation at 7C84E9AF" I am not sure what causes this. I have seen lots of posts where other are experiencing the exact same thing, however, there are no answers. I have seen several other bugs that report this and they state that it has been fixed in the latest version. I have tried several versions and the latest cvs. All of them will have this problem. The poroblem seem to occur when updating a MySQL database. After you esperience the problem, a few moments later it will go away. I have tried the Zend Win Enabler, however, it is not compatible with PHP5. I hope someone can help me. Reproduce code: --------------- It seems to happen with lots of different code when server gets heavily loaded ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32919&edit=1