#23542 [Ver->Bgs]: Crash when PDF functions used in class
| From: | iliaa@php.net | Date: | Sat, 17 May 2003 17:39:11 +0000 |
| Subject: | #23542 [Ver->Bgs]: Crash when PDF functions used in class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39846@lists.php.net to get a copy of this message | ||
ID: 23542
Updated by: iliaa@php.net
Reported By: pvy at novosoft dot ru
-Status: Verified
+Status: Bogus
Bug Type: PDF related
Operating System: any
PHP Version: 4.3.2RC4-dev
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Upgrade to pdflib 5.0, after the upgrade the problem went away.
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