[Mapserver-users] GD 2.0.26 makes Mapserver 4.2.0 crash on symbol rendering

Havard Tveite havard.tveite at imt.nlh.no
Thu Jun 10 13:48:43 EDT 2004


I have tested the newest GD release (GD 2.0.26) with Mapserver
4.2.0, and have experienced occational Mapserver crashes due
to symbol problems.
I have managed to track down the following:
When my "lltriangle" symbol (shown below) is placed such that
it intersects the right edge of the rendered map (a part of the
triangle is inside and a part is outside), Mapserver always
crashes ("Internal Server Error" - in the Apache error log:
"Premature end of script headers: mapserv_4.2").

Switching to the GD 2.0.25 library there is no crash.

Here is the problematic symbol:

SYMBOL
   NAME "lltriangle"
   TYPE vector
   FILLED true
   POINTS
     0 1
     1 1
     1 0
     0 1
   END
END

With a box symbol like the one below, map edge intersection is not a
problem.

SYMBOL
   NAME "box"
   TYPE vector
   FILLED true
   POINTS
     0 0
     1 0
     1 1
     0 1
     0 0
   END
END

mapserv_4.2 -v:
MapServer version 4.2.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=SDE INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Platform Solaris 2.7

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology
Agricultural University of Norway
Drøbakveien 14, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64948857 Fax: +47 64948810 http://www.nlh.no/imt



More information about the mapserver-users mailing list