#15982 [Com]: PHP Freeze with swffont() call
| From: | weishengli at yahoo dot com | Date: | Tue, 03 Dec 2002 21:53:10 +0000 |
| Subject: | #15982 [Com]: PHP Freeze with swffont() call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26569@lists.php.net to get a copy of this message | ||
ID: 15982
Comment by: weishengli@yahoo.com
Reported By: tonalgeek@hotmail.com
Status: No Feedback
Bug Type: Ming related
Operating System: Win XP Prof
PHP Version: 4.x.x
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2002-10-25 01:00:08] php-bugs@lists.php.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@hotmail.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/.
------------------------------------------------------------------------
[2002-10-09 16:18:58] jmartin@jplstudios.com
Still an issue. Running Apache 2.0.40 with php 4.2.3 and ming 2a all
on Windows 2000 Pro.
ERROR message as follows:
The instruction at "0x00bacf0c" referenced memory at "0x00ad8000". The
memory could not be "written".
------------------------------------------------------------------------
[2002-09-28 04:03:34] php@mled.net
you'll find some .fdb fonts at:
http://www.neuralust.com/~mingdocs/fonts/getfonts.htm
------------------------------------------------------------------------
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