#23542 [Opn->Ver]: IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD

From: Date: Fri, 16 May 2003 02:03:32 +0000
Subject: #23542 [Opn->Ver]: IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39756@lists.php.net to get a copy of this message
 ID:               23542
 Updated by:       sniper@php.net
 Reported By:      pvy at novosoft dot ru
-Status:           Open
+Status:           Verified
 Bug Type:         PDF related
 Operating System: windows 2000/sp3
-PHP Version:      4.3.2RC2
+PHP Version:      4.3.2RC4-dev


Previous Comments:
------------------------------------------------------------------------

[2003-05-08 21:25:18] pvy at novosoft dot ru

Also, I want only post small addition:
tested on 4.2.3, 4.3.0, and 4.3.2RC2 same results as I wrote

------------------------------------------------------------------------

[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)

« previous php.bugs (#39756) next »