|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8711 When I call the the ImageTTFText Function I receive a Segmentation Fault
Submitted: 2001-01-15 09:12 UTC Modified: 2001-06-27 22:34 UTC
From: gafain at fineware dot it Assigned:
Status: Closed Package: GD related
PHP Version: 4.0.4pl1 OS: Linux Mandrake 7.2
Private report: No CVE-ID: None
 [2001-01-15 09:12 UTC] gafain at fineware dot it
      Header("Content-type: image/gif"); 
       $im = imagecreate($w,$h);
       $bg = splitColor($background);
       $fg = splitColor($color);
       $back= ImageColorAllocate($im, $bg[0],$bg[1],$bg[2]);
       $fore= ImageColorAllocate($im, $fg[0],$fg[1],$fg[2]);
       ImageTTFText($im, $size, 0, -1 ,$h-2 , $fore, $fontname, $text);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 06:59 UTC]
Please try the latest release candidate:

Also, add a FULL example script which can be just copy/pasted and run to reproduce this. 
Also a GDB backtrace would be useful. Here are intructions
how to generate one:


 [2001-06-27 22:34 UTC]
No feedback. Can't reproduce.

 [2004-10-06 21:42 UTC] jason at axsystech dot net
I have the same problem.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Oct 03 12:01:26 2023 UTC