[mapserver-users] [BUG] MapServer 5.4.2 going into an endless loop!
paalkr
pal.kristensen at statkart.no
Fri Nov 20 06:13:25 PST 2009
Hi!
I have discovered a situation where MapServer seems to enter an endless loop
and uses all the CPU power available on a server. I have managed to track
down the specific feature in our postgis database that causes MapServer to
hang. A database dump containing only this feature and a working mapfile are
attached.
The really strange thing is that this feature does not always fail to draw,
the situation does only occur with some specific BBOX's in a WMS GetMap
request. A working and a non working request are posted below. The only
difference between the requests is that the bbox in the working one is
extended with 1000 meters to the east.
I have tested this on MapServer 5.4.2 on Linux and Windows, with the same
result. I also tried it on an old MapServer 5.0.0 (windows) that still lays
around, and the error was NOT present on 5.0.0, where both the requests
below did work.
NOT WORKING (>5.0.0)
http://localhost/cgi-bin/topo2?LAYERS=topo2_WMS&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A32632&BBOX=513024,6792928,599680,6879584&WIDTH=256&HEIGHT=256
WORKING:
http://localhost/cgi-bin/topo2?LAYERS=topo2_WMS&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A32632&BBOX=513024,6792928,600680,6879584&WIDTH=256&HEIGHT=256
Same information are provided in ticket
http://trac.osgeo.org/mapserver/ticket/3207 #3207
Mapfile: http://n2.nabble.com/file/n4037146/topo2.zip
db_dump: http://n2.nabble.com/file/n4037146/n2000_arealdekkeflate.zip
Regards,
Pål Kristensen
The Norwegian Mapping Authority
-----
Regards,
Pål Kristensen
--
View this message in context: http://n2.nabble.com/BUG-MapServer-5-4-2-going-into-an-endless-loop-tp4037991p4037991.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list