PHP/Mapscript Crash...

c p cplists at GMAIL.COM
Thu Feb 24 12:53:11 EST 2005


I don't believe the problem is related to Chameleon at all.  Chameleon
uses the PHP/Mapscript APIs...  What does the --enable-sigchild option
do that might help the situation?

Regards,
Corey

On Thu, 24 Feb 2005 12:18:09 -0300, Murilo Lacerda Yoshida
<murilo.yoshida at agx.com.br> wrote:
>   Hi Benoit and Corey,
>   I have this same bug also, but I don't use Chameleon. I'm going to try
> a solution now, if you want you can try it to ...
>   Check if your php is configured with --enable-sigchild ... if not (my
> case) compile it again with it.
>   Hope that helps,
>      Murilo
> 
> -----Mensagem original-----
> De: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Em
> nome de Benoît Toutain
> Enviada em: quinta-feira, 24 de fevereiro de 2005 09:55
> Para: MAPSERVER-USERS at LISTS.UMN.EDU
> Assunto: Re: [UMN_MAPSERVER-USERS] PHP/Mapscript Crash...
> 
> 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