470,634 Members | 2,107 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,634 developers. It's quick & easy.

segmentation fault on image create

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
Jul 16 '05 #1
1 3115
I've got the same problem.... Any solution to this yet? One thing I did notice is imagepng isn't working but imagejpeg is.
Sep 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Alexandre | last post: by
5 posts views Thread by Fra-it | last post: by
3 posts views Thread by Amar Prakash Tripaithi | last post: by
18 posts views Thread by Digital Puer | last post: by
27 posts views Thread by Paminu | last post: by
6 posts views Thread by SP | last post: by
3 posts views Thread by madunix | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.