#15982 [Opn->Fbk]: PHP Freeze with swffont() call

From: Date: Thu, 29 Aug 2002 06:37:26 +0000
Subject: #15982 [Opn->Fbk]: PHP Freeze with swffont() call
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18123@lists.php.net to get a copy of this message
ID: 15982 Updated by: derick@php.net Reported By: tonalgeek@hotmail.com -Status: Open +Status: Feedback Bug Type: Ming related Operating System: Win XP Prof PHP Version: 4.2.1 New Comment: Can you send me that font file by (private) e-mail? Derick Previous Comments: ------------------------------------------------------------------------ [2002-08-29 01:55:14] drdee@bigfoot.com My system: Win-98, Apache 1.3.26, PHP 4.2.1 -- trying to set SWFFont(), e.g. $f=new SWFFont("ParkAvenue_BT.fdb"); usually crashes Apache, sometimes the browser (IE 5.5) too. However the system fonts ("_sans", "_serif", "_typewriter") are now working although they weren't at first. Weirdness! ------------------------------------------------------------------------ [2002-08-22 12:10:37] rkenny@waukbearing.com I tried installing PHP 4.1.1 and 4.1.0, but had the same problem under those versions. I also switched from the CGI version of PHP to the ISAPI DLL -- but that didn't help either. When I was running the PHP ISAPI DLL, I could see an "access violation" error directly in my web browser, whereas before it just said "CGI error". ------------------------------------------------------------------------ [2002-08-21 16:42:27] rkenny@waukbearing.com I've experienced this bug as well. I'm running Windows 2000 Server, IIS, and PHP 4.1.2. The system has all of the "critical" Microsoft patches applied except for W2K SP3. It seems that if I do a SWFFont("somefile.fdb") IIS will report a CGI error after running for perhaps 5 seconds. There are some Dr. Watson entries in my event log which talk about an access violation. The dates and times of these entries roughly correspond to when I was testing the ming font functions, but when I run the scripts now, I just get the CGI errors without the Dr. Watson entries. I thought I could get around this bug by using SWFFont("_sans"), but that does not work either. I can create a new font object just fine, but when I try to add() the font object to the movie object, Internet Explorer dies, and asks if I want to send a bug report ot Microsoft. ------------------------------------------------------------------------ [2002-08-01 13:20:29] mabuzzer@hotmail.com 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 ------------------------------------------------------------------------ [2002-07-12 20:58:48] tonalgeek@hotmail.com This bug also exists in 4.2.1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15982 -- Edit this bug report at http://bugs.php.net/?id=15982&edit=1

« previous php.bugs (#18123) next »