#24975 [Opn->Fbk]: Segmentation Fault after ImageCreate on Png
ID: 24975
Updated by: iliaa@php.net
Reported By: c-dilla at gmx dot ch
-Status: Open
+Status: Feedback
Bug Type: GD related
Operating System: SuSe 8.2
PHP Version: 4.3.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
If the problem still occurs please include a backtrace in your reply.
Previous Comments:
------------------------------------------------------------------------
[2003-08-07 08:13:51] c-dilla at gmx dot ch
Description:
------------
hey,
i want to do
ImageString ($im, 10, 5, 5, "..........", $text_color);
ImagePng ($im)
i get a Segmentation fault in Apache error log
Apache version 1.3.28
gdlib 2.0.15
libpng 1.2.5
php 4.3.2 Stable
everything self compiled. i tried to compile a bunch of other versions
on gd like 2.0.10, but got no better result
Reproduce code:
---------------
<?
header ("Content-type: image/png");
$im = @ImageCreate (650, 100)
or die ("Auf diesem Server funktioniert die Erstellung von PNG
Grafiken nicht");
$background_color = ImageColorAllocate ($im, 255, 25, 255);
$text_color = ImageColorAllocate ($im, 233, 255, 91);
ImageString ($im, 10, 5, 5, "Auf diesem Server funktioniert die
Erstellung von PNG Grafiken", $text_color);
ImagePng ($im);
?>
Expected result:
----------------
nothing happens. Segmentation faul of a Child process in Apache
error_log
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24975&edit=1
Thread (6 messages)