ID: 26245 Updated by: [EMAIL PROTECTED] Reported By: scarr at progbits dot com -Status: Open +Status: Feedback Bug Type: COM related Operating System: Windows 2000 PHP Version: 4.3.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-11-13 17:48:42] scarr at progbits dot com We have also found that the script will hang if you just access the database from another script. ------------------------------------------------------------------------ [2003-11-13 17:46:44] scarr at progbits dot com Description: ------------ I have found that PHP will hang if a script is running the $var = COM('anyfile.anyobject'); command while another script is being accessed. We have been able to consitently get PHP to lockup. The COM script is accessing a COM VB Object. While the other script is saving to a SQL Database using PEAR DB Library functions. I am using a standard PHP 4.3.4 pulled from php.net. I haven't made any compile changes. Apache2 PHP 4.3.4 PEAR DB Library Expected result: ---------------- COM Object gets instantiated and runs normally. Actual result: -------------- The COM Object gets hung and the script never returns. The only way to bring back the COM object is to restart Apache2. In the shutdown, the error log says it has to force shutdown a thread. I am assuming this is the COM Script thread. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26245&edit=1