#23542 [NEW]: IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD

From: Date: Thu, 08 May 2003 11:30:19 +0000
Subject: #23542 [NEW]: IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39295@lists.php.net to get a copy of this message
From:             pvy at novosoft dot ru
Operating system: windows 2000/sp3
PHP version:      4.3.2RC2
PHP Bug Type:     PDF related
Bug description:  IIS/ISAPI: PHP has encountered an Access Violation at 77FC8DBD

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 bug report at http://bugs.php.net/?id=23542&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23542&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23542&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23542&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23542&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23542&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23542&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23542&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23542&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23542&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23542&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23542&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23542&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23542&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23542&r=gnused



Thread (4 messages)

« previous php.bugs (#39295) next »