[mapserver-users] PHP: Segmentation fault when draw() or saveWebImage()
Pavel Dobeš
dobes at lnx.cz
Sat May 24 12:41:29 PDT 2008
Hi to all,
I run mapserver on my gentoo server now with php-5.2.6_rc4.
After upgrade the apache is falling down with message:
[Sat May 24 21:13:02 2008] [notice] child pid 2476 exit signal
Segmentation fault (11)
With mapserver 5.0.0-r1 the last line is
$url = $image->saveWebImage();
When I upgrade to 5.0.2 the last lins was
$image=$map->draw();
$image is from $image=$map->prepareImage(); in both cases...
Any hint, whitch mix of versions (PHP & mapserver) is OK or how to
pretend this segfault?
Tahnks
Pavel
PS: this simple script works
<?php
header("Content-type: image/jpeg");
$map = ms_newMapObj("file.map");
$img = $map->drawScaleBar();
$img->saveImage('');
?>
More information about the MapServer-users
mailing list