#15982 [Com]: PHP Freeze with swffont() call

From: Date: Fri, 12 Sep 2003 09:36:55 +0000
Subject: #15982 [Com]: PHP Freeze with swffont() call
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47504@lists.php.net to get a copy of this message
ID: 15982 Comment by: CatherineLMC at Yahoo dot com Reported By: tonalgeek at hotmail dot com Status: No Feedback Bug Type: Ming related Operating System: Win XP Prof PHP Version: 4.x.x New Comment: I'm experiencing this bug as well. I'm running Window XP,IIS, and PHP 4.3. So far, I don't see any propose solution for this problem, if anyone have it fixed, or have any patches need to be downloaded please kindly let me know about it? I am in urgent to make use of SWFFont("somefile.fdb") for SWFText. Thanks Previous Comments: ------------------------------------------------------------------------ [2003-02-25 09:19:45] jwhatcher at hotmail dot com Category: Ming related Version: 4.3 Platform: WIN2000 advance server WEB SERVER: IIS Problem: PHP Freeze with swffont() call. I have installed the lastest version. Doesn't seem to work with _sans either. I can generate flash movies with images. Can not add text. Please advise if any additional information is required. ------------------------------------------------------------------------ [2002-12-03 15:53:09] weishengli at yahoo dot com Hi, This problem in Windows OS is actually caused by call function SWFShape_setRightFill(). In turn it goes to the function newShapeRecord() I changed the following line in this function return shape->records[shape->nRecords++]; as shape->nRecords++; return shape->records[shape->nRecords-1]; It solves the problem. However, I didn't look at it deeply. The one who is distributing the Windows DLL should think about it. Weisheng ------------------------------------------------------------------------ [2002-10-25 01:00:08] php-bugs at lists dot php dot net No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-10-09 20:41:07] iliaa@php.net Using the latest CVS I am unable to replicate this crash on Linux, so this is most likely a Windows only bug. I do however see a number of memory leaks caused by this extension: /home/rei/PHP_CVS/php4/Zend/zend_hash.c(178) : Freeing 0x083A1AA4 (32 bytes), script=m.php Last leak repeated 2 times /home/rei/PHP_CVS/php4/Zend/zend_API.c(597) : Freeing 0x083A1A44 (44 bytes), script=m.php /home/rei/PHP_CVS/php4/Zend/zend_API.c(585) : Actual location (location was relayed) Last leak repeated 2 times Using Google I found the following archive of fdb fonts, http://todbot.com/ming/tsts/fonts/, the url provided by php@mled.net does not appear to work. ------------------------------------------------------------------------ [2002-10-09 20:01:55] tonalgeek at hotmail dot com I know the bug still exists in Ming. Anyway if you want an alternative that works there is FreeMovie/PHP http://freemovie.sourceforge.net/. ------------------------------------------------------------------------ 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 (#47504) next »