#23542 [Opn]: IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD
ID: 23542
User updated by: pvy at novosoft dot ru
Reported By: pvy at novosoft dot ru
Status: Open
Bug Type: PDF related
Operating System: windows 2000/sp3
PHP Version: 4.3.2RC2
New Comment:
Also, I want only post small addition:
tested on 4.2.3, 4.3.0, and 4.3.2RC2 same results as I wrote
Previous Comments:
------------------------------------------------------------------------
[2003-05-08 06:30:19] pvy at novosoft dot ru
hello!
this bug you can reproduce:
see next code:
<?
$p = new pdf();
class pdf {
function pdf() {
$p = PDF_new();
$opened = PDF_open_file ($p, "");
}
}
?>
and ran it under IIS5.
first time you get message about PDF_delete cannot be used in document
scope
after reload a page you get violation access error.
but code as next:
<?
$p = PDF_new();
$opened = PDF_open_file ($p, "");
?>
working fine (gives error about PDF_Delete and don't hang IIS).
I'm purposely not write pdf_close, and pdf_delete functions
in my case, i would be sure, if some errors happens, IIS still live for
any another request.
In case apache under linux, apaches child still lives and eat CPU and
memory.
I cannot use CVS PHP versions. I can use only PHP releases.
vladimir.
Novosibirsk,
Russian Federation
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23542&edit=1
Thread (4 messages)