Upgrading Mapscript from 4.10.1 to 5.0 causes an Apache crash

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Wed Nov 14 05:28:58 PST 2007


sorry, a typo, I meant gdb (gnu debugger)

Umberto

On Nov 14, 2007 1:29 PM, Julien <g2c.martel at orange.fr> wrote:
>
>  # gd php
>  -bash: gd: command not found
>
>  Unfortunately, I have no "gd" binary on my system.
>
>  gd2copypal
>  gdcmpgif
>  gd2togif
>  dlib-config
>  gd2topng
>  gdparttopng
>  gdtopng
>
>  Are the only binaries related to GD I can use... Where did you find that
> "gd" executable ? Is is a compilation flag ?
>
>
>
>
>  Umberto Nicoletti a écrit :
>
>  If you can run php on the cli and try to debug it with gd.
> Example:
>
> suppose the crashing page is mapserver.php
>
> just run:
>
> shell > gd php
> gd > start mapserver.php
>
> and post the otuput.
> Umberto
>
> On Nov 14, 2007 11:39 AM, Julien <g2c.martel at orange.fr> wrote:
>
>
>  Sorry for the wrong reply adress.
>
>  The crash happens with every request. In fact it is just impossible to
> display the map. I am using GD 2.0.35, built from source, no other version
> existing on the system...
>
>  Umberto Nicoletti a écrit :
>
>  Please keep the list in cc or to.
>
> Does the crash happen with every request or only once in a while, say
> after 10 minutes?
> Which gd are you using and/or have you got another gd lying around in
> your system path?
>
> Umberto
>
> On Nov 14, 2007 9:17 AM, Julien <g2c.martel at orange.fr> wrote:
>
>
>  shp2img works perfectly. here are my configure options :
>
>  ./configure --with-proj --with-wmsclient --with-ogr --with-libwww
> --with-gdal --enable-runpath --enable-debug --without-tiff
> --with-gd=/usr/local --with-freetype=/usr/local --with-threads
> --with-curl-config=/usr/bin/curl-config --with-wfs --with-wcs
> --with-wmsclient -with-wfsclient --with-php=/usr/src/php-4.4.4/
> --with-httpd=/www/bin/httpd --with-geos=/usr/local/bin/geos-config
> --with-mapscript
>
>  Above path are correct and libraries are detected the right way...
>
>
>  Umberto Nicoletti a écrit :
>
>  Could you document *precisely* how you built php mapscript (configure
> flags, etc)?
> Also try to run the shp2img utility on one of the crashing map files
> to see if you can reproduce the error.
>
> Umberto
>
> On Nov 13, 2007 2:40 PM, Julien <g2c.martel at orange.fr> wrote:
>
>
>
>  Hi all (sorry if double posted),
>
>  Upgrading Mapserver/Mapscript from 4.10.1 to 5.0 causes an apache crash on
> our server, with all our projects (with more or less complex mapfiles). I
> have no error during mapscript compilation. When PHP is installed as an
> apache DSO the error log reports the following errors :
>
>  *** glibc detected *** /www/bin/httpd: free(): invalid next size (fast):
> 0x0867db38 ***
>  [Wed Nov 7 13:54:06 2007] [notice] child pid 23219 exit signal Segmentation
> fault (11)
>
>  When PHP is installed as a CGI executable, the error log reports the
> following :
>
>  [Thu Nov 8 14:56:46 2007] [error] [client xxx.xxx.xxx.52] Premature end of
> script headers: /www/cgi-bin/php
>
>  Downgrading to 4.10.1 makes everything working back again. I didn't
> succeeded in replicating the problem on a test machine using
>  the same software environnement.
>
>
>  Here's my software environnement (everything built from source) :
>
>  Ubuntu 6.10 Server
>  Apache 1.3.39 with OpenSSL 0.9
>  PHP 4.4.4 (I tried to build php as an Apache DSO as well as CGI, both are
> crashing)
>  Curl and LibCurl 7.15.5
>  Freetype 2.3.4
>  GD 2.0.35
>  Gdal 1.4.3
>  GEOS 2.2.3
>  GeoTiff 1.2.3
>  Tiff 3.7.1
>  Zlib 1.2.3
>
>  Any help would be greatly appreciated.
>
>
> Julien MARTEL
> Technicien Informatique et Réseaux
> 2 Avenue Madeleine Bonnaud
>  Parc d'Activités, Point Rencontre
> 13770 Venelles - FRANCE
> Tel : +33 (0) 4 42 54 00 68 Fax : +33 (0) 4 42 54 06 78
>  e-mail : j.martel at g2c.fr web : www.g2c.fr
>
> Lire les conditions légales d'utilisation de cet e-mail
>
> Venez nous retrouver sur les prochains salons
>
>
>
>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
> Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>
>
>
>



More information about the MapServer-users mailing list