php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25617 segmentation_fault with gdFreeFontCache with t1lib/freetype 1+2
Submitted: 2003-09-20 21:49 UTC Modified: 2003-09-21 08:57 UTC
From: volker dot augustin at multiartstudio dot com Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.3.3 OS: Linux
Private report: No CVE-ID: None
 [2003-09-20 21:49 UTC] volker dot augustin at multiartstudio dot com
Description:
------------
php 4.3.3 gives segmentation fault using the 

t1lib together with gdlib 2 and freetype 1+2

tried to combine different versions, and find out that this error comes from 

gdFreeFontCache() in gd.c at /usr/src/php/ext/gd

i wrote down everything i know and find out and put it on a website
, its to much to post here....

here it is: http://www.erdtrabant.de/index.php?i=77000

also i find how to fix it temporarily...
sorry for my bad english.





 

Reproduce code:
---------------
ImageTTFBBox()
ImageTTFText()

Actual result:
--------------
please have a look at:
http://www.erdtrabant.de/index.php?i=77000

i will put everything here...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-21 00:52 UTC] sniper@php.net
We do not support using the external GD library.
Use the bundled GD library which has many fixes and improvements in it. 

 [2004-01-02 10:31 UTC] dcrignon at adequasys dot com
I have the same problem on PHP 4.3.3 Win 32 ISAPI mode undrer IIS5 and it's a new an strange problem ...

We didn't have it under 4.3.1 and neither under 4.3.3 on several customer plateforms !

We also have it on a customer plateform with Apache

It seems to be dependant of the Service Pack level or Hotfixes level ...

Sometimes we have broken images, some times error messages from ImageTTFText and sometimes "PHP has encountered an Access Violation at ...." errors.

Can you help us please ?

It's a very critical situation for us !

David
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 14:01:31 2024 UTC