#23599 [NEW]: Crash when using COM object property/method

From: Date: Mon, 12 May 2003 20:21:31 +0000
Subject: #23599 [NEW]: Crash when using COM object property/method
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39500@lists.php.net to get a copy of this message
From: zstomp at yandex dot ru Operating system: Win2k, Win98 PHP version: 4.3.1 PHP Bug Type: Reproducible crash Bug description: Crash when using COM object property/method $ean = new COM("AsBarcode.Barcode"); echo($ean->LineWidth); $ean->Release(); $ean = NULL; If I comment out line 2, it works fine. If I uncomment line 2, I get a crash (null pointer in php4ts.dll) under Win98/PHP 4.3.1 and nothing (no crash, but php stops and gets terminated in 30 secs timeout) under win2k/PHP 4.2. It doesn't happen with Word.Application that has only difference from AsBarcode.Barcode: it's not a control. The code above works under PHP 4.0 Please email me if you have anything on this including my possible faults. Thanks, Eugene -- Edit bug report at http://bugs.php.net/?id=23599&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23599&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23599&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23599&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23599&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23599&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23599&r=support Expected behavior: http://bugs.php.net/fix.php?id=23599&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23599&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23599&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23599&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23599&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23599&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23599&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23599&r=gnused

« previous php.bugs (#39500) next »