[Mapserver-users] Mapserver doesn't create image, no crash

Berend Veldkamp berend.veldkamp at aris.nl
Wed Jun 9 11:50:34 EDT 2004


Hi,

I'm in the process of upgrading an old mapserver CGI (3.4) application 
to 4.2. I have most things working now, but it seems that now and then 
mapserver doesn't create a map image (there's nothing in the tmp dir).
Instead, I get the following output:

<HTML>
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 4.2.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
OUTPUT=PDF SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
</BODY></HTML>

It seems it depends on which layers I have turned on, and which area I'm 
zoomed in to. However I can't find a clear pattern, sometimes I have to 
turn on a particular layer to make it work, other times I have to turn 
off a layer.

When I turn on logging in the WEB object, I get this:

Wed Jun  9 17:37:32 2004,21917,127.0.0.1,vl,0,172329.357920 
438926.688000 196177.642080 453219.312000,0.000000 0.000000,route bkgrnd 
nummers roads landuse ,normal execution
Wed Jun  9 17:37:42 2004,21928,127.0.0.1,vl,0,172329.357920 
438926.688000 196177.642080 453219.312000,0.000000 0.000000,route bkgrnd 
nummers roads toerinfo landuse ,

On the second line, 'toerinfo' is turned on, and I don't get the 'normal 
execution' message.
I have no idea where to start looking, so any hints are appreciated.

I already tried (to no avail):
- Different ouput format (jpeg, png, png 24 bit)
- Upgrading GD to 2.0.26
- Removing all antialiasing, backgroundcolors, pixmap symbols etc, 
reducing the number of colors from >1000 to 15
- Tried MS 4.0 and 4.2


Thanks in advance, Berend

-- 



More information about the mapserver-users mailing list