PHP/Mapscript Crash...

c p cplists at GMAIL.COM
Thu Feb 24 09:47:58 PST 2005


Benoit,

Well at least there's someone else to share my pain. :P  After doing
some more reading today I realized I wasn't running php as a cgi but
as an apache DSO so I thought that must be my problem.  Is it still
true that PHP/Mapscript v4.4.1 still must be run as a cgi?  Anyway, I
reconfigured Apache to call php as a cgi but that did not resolve the
crash. :(

Regards,
Corey

On Thu, 24 Feb 2005 13:54:54 +0100, Benoît Toutain <bf.toutain at free.fr> wrote:
> Hi Corey,
> 
> I have the same pb as you.
> Here is my configuration obtained with <?php
> dl('php_mapscript.so');phpinfo(); ?>
> 
> MapServer version 4.2.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF
> SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> ($Revision: 1.194.2.6 $ $Date: 2004/08/25 16:27:43 $)
> 
> Is not there compatibity problems with freetype libraray and another one ?
> 
> Hope everybody can show us the right way ;-)
> 
> Best regards,
> 
> Benoît
> 
> c p a écrit :
> 
> >All,
> >
> >I'm hoping someone here can help or can point me to a more appropriate
> >forum.  I've been having problems getting the samples that ship with
> >Chameleon v2.0 fully functional.  When I attempt to view one of the
> >sample maps I'm getting a segmentation fault:
> >
> >==> error_log <==
> >[Wed Feb 23 15:59:59 2005] [notice] child pid 18222 exit signal
> >Segmentation fault (11)
> >
> >By enabling/disabling different layers I was able to narrow the
> >problem down to the popplace layer and specifically the FONT, TYPE &
> >SIZE tags (which specify a truetype font) inside the LABEL definition.
> > Commenting out these three tags result in the layer displaying
> >(albeit with the default bitmap font).  Although I've narrowed what
> >triggers the crash I still have no idea how to rectify the problem.
> >I'm further puzzled by the fact that when I use shp2img to render the
> >map it works fine which seems to suggest the problem is specific to
> >the php/mapscript module?
> >
> >I'm running Fedora Core 2 & Mapserver v4.4.1 using the RPMs hosted at
> >the Mapping Hacks website (http://mappinghacks.com/rpm/).  I've
> >attached the chameleon.map file in case that helps.
> >
> >Any help would be appreciated.
> >
> >Thanks,
> >Corey
> >
> >
> 
>



More information about the MapServer-users mailing list