By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,348 Members | 1,397 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,348 IT Pros & Developers. It's quick & easy.

segmentation fault on image create

P: n/a
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
Share this Question
Share on Google+
1 Reply

P: 1
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.