From: scarr at progbits dot com Operating system: Windows 2000 PHP version: 4.3.4 PHP Bug Type: COM related Bug description: COM Hangs PHP Script
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 bug report at http://bugs.php.net/?id=26245&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26245&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26245&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26245&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26245&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26245&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26245&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26245&r=support Expected behavior: http://bugs.php.net/fix.php?id=26245&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26245&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26245&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26245&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26245&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26245&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26245&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26245&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26245&r=float