MapServer crashes on multiple REQUIRES?

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCAN.GC.CA
Fri Oct 21 13:04:29 PDT 2005


Yup, I'm aware of the changes :)

Turns out it's a known bug I didn't find because it's marked as fixed
already in bugzilla ...

Thanks,
J.F. 

-----Original Message-----
From: Ethan Alpert [mailto:ealpert at digitalglobe.com] 
Sent: October 21, 2005 4:02 PM
To: Doyon, Jean-Francois; MAPSERVER-USERS at lists.umn.edu
Subject: RE: [UMN_MAPSERVER-USERS] MapServer crashes on multiple REQUIRES?



There are significant gotchas when upgrading from such an old version.
Specifically you had better check your mapfile because 4.6 enforces many
mapfile syntax rules that were kind of loose in older versions. If you did
not follow the spec exactly when writing your mapfiles you'll definitely run
into these kinds of problems.

-e

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu] On
Behalf Of Doyon, Jean-Francois
Sent: Friday, October 21, 2005 1:09 PM
To: MAPSERVER-USERS at lists.umn.edu
Subject: [UMN_MAPSERVER-USERS] MapServer crashes on multiple REQUIRES?


Hello,

I was trying to migrate a MapFile from 3.6.6 to 4.6.0, and suddenly the
MapServer CGI would die, and the web server return a 500 ...

I tried upgrading to 4.6.1, didn't help ...

After some fiddling around, I've tracked it down to the use of "REQUIRES".

It looks as if I can only have ONE layer with a "REQUIRES" ... The minute I
have more than that, mapserver seems to crash.

This is a problem, as the mapfile has ~380 layers, and lots of REQUIRES :)
As mentionned this mapfile works fine on 3.6.6 ...

Oh, and I just tried rendering using shp2img, and I get a segfault ...

Just wanted to check here before I file this as a bug, anybody run into
this? Have a quick solution?

Thanks,

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique Canada Centre for Remote
Sensing/Centre Canadien de télédétection Natural Resources Canada/Ressources
Naturelles Canada http://atlas.gc.ca
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410



More information about the MapServer-users mailing list