#15982 [Com]: PHP Freeze with swffont() call
| From: | mabuzzer at hotmail dot com | Date: | Thu, 01 Aug 2002 17:20:30 +0000 |
| Subject: | #15982 [Com]: PHP Freeze with swffont() call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15754@lists.php.net to get a copy of this message | ||
ID: 15982
Comment by: mabuzzer@hotmail.com
Reported By: tonalgeek@hotmail.com
Status: Open
Bug Type: Ming related
Operating System: Win XP Prof
PHP Version: 4.2.1
New Comment:
I've managed to eliminate the web server from the equation - ran the
test script from the command line, and got the same result. The script
hung until it reached the timeout limit, and consumed 97% of the CPU
time while it was hung.
It also seemed to keep consuming more and more memory, as if it was
stuck in some kind of infinite loop?
This was using PHP 4.2.2, Ming 0.2a which I downloaded from php.net.
This is quite important for me, cos I have a couple of applications
which I haven't been able to upgrade beyond PHP 4.0.4 (with Ming 0.9a)
for one reason or another, and there are security issues involved in
that.
Thanks
Richy Black
Previous Comments:
------------------------------------------------------------------------
[2002-07-12 20:58:48] tonalgeek@hotmail.com
This bug also exists in 4.2.1
------------------------------------------------------------------------
[2002-07-12 12:13:27] yann.lossouarn@tak.net
I'm currently using the "EasyPHP 1.6" distrib, which includes Apache
1.3.20 and PHP 4.2.0, used on a NT4 station, and encountered the same
problem. Any solution known ?
Cheers,
Yann
------------------------------------------------------------------------
[2002-06-04 04:29:13] mfischer@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-04-04 03:50:14] oevloev@scadasoft.ru
I had the same bug on Win2000+php.4.1.2. When called SWFFont function
with same normal (worked on previous version ) *.fdb file, php module
crashes and sometime crash the web server (Apache).
It is very important to have the text in generated Flash movies, but it
does not work in Ming 0.2 version.
------------------------------------------------------------------------
[2002-03-10 07:56:16] tonalgeek@hotmail.com
When SWFFont() is called with a fdb file (not with internal fonts like
'_sans') PHP appears to do nothing until the time limit for scripts is
reached.
Here is a reproductible example:
<?php
x=new SWFMovie();
y=new SWFFont("_sans"); // <---- does not freeze here
z=new SWFFont("foo.fdb");
// <--- PHP does not execute at and below this point
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15982&edit=1