From:             tohlow at novadys dot com
Operating system: win 2k
PHP version:      4.3.2RC1
PHP Bug Type:     COM related
Bug description:  PHP EXE crashes with "could not read memory"

I know this is a pain in the neck, because there already is a couple of
entries similar to this BUT I hope I can provide some extra info.

I am developing a DCOM based PHP application and have just tried with 4.32
RC1. PHP.EXE simply crashes, apparently when clearing up its object tables
(when PHP.EXE unloads from memory, it seems to try to clear up too many
object references, unfortunately I cannot be more specific because I am no
C++ developper). Actually, we had been in contact with Harald Radi before
and he found the problem, fixed it for PHP 4.23, but it got back in in
release 4.30 :(

In RC1 now, it crashes, same for all releases between 4.30 and 4.32 and
4.10 and 4.22.

One additional problem is, that in the only working release (4.23), when
clearing up the object references, apparently NOT all are being cleared
up, resulting in kept alive objects which - as a consequence in my case -
don't free the licenses to our DCOM server :(
The only PHP version that I found that BOTH does NOT crash AND frees ALL
references correctly is 4.06.

One last hint: 4.31 crashes BUT correctly frees the references...

Hope this is not all too confusing and that there will be a fix in the
final release of 4.32, it would be greatly appreciated by a lot of people,
I think, definetly by myself!
Thanks, T

P.S.: It seems to be the same for IIS and Apache...
-- 
Edit bug report at http://bugs.php.net/?id=22921&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22921&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22921&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22921&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22921&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22921&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22921&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22921&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22921&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22921&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22921&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22921&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22921&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22921&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22921&r=gnused

Reply via email to