[mapserver-users] MS4W Crash: Faulting app: mapserv.exe, module: libmap.dll
Michael Shishcu
micklesh at gmail.com
Mon Nov 7 05:46:15 PST 2011
Hi,
I had the similar issue long time ago with v5.2 that was caused by some
features being actually not simple polygons but lines/complex polygons with
arcs.
I am not sure if this can be the issue you've got, anyway, if everything
else (memory, libs, etc.) seems to be ok, make sure the data is "well".
regards, michael
On Mon, Nov 7, 2011 at 3:33 PM, vaibhavgarg <vaibhavkumargarg at gmail.com>wrote:
> Hi,
>
> I am trying to get MS4W to dish out tile for use in google maps as overlay.
>
> I was successful in making it work with a sample data set but when pointing
> it to the full set, it crashes:
>
> Windows 7 Event Log:
> /Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp:
> 0x4e1c9886
> Faulting module name: libmap.dll, version: 0.0.0.0, time stamp: 0x4e1c9885
> Exception code: 0xc0000005
> Fault offset: 0x00005db6
> Faulting process id: 0xc2c
> Faulting application start time: 0x01cc9d49ca7b11ac
> Faulting application path: C:\ms4w\Apache\cgi-bin\mapserv.exe
> Faulting module path: C:\ms4w\Apache\cgi-bin\libmap.dll
> Report Id: 0c7e2d19-093d-11e1-8aea-0025228983f5/
>
> Apache Log:
> /[Mon Nov 07 13:02:14 2011] [error] [client 117.201.84.121] Premature end
> of
> script headers: mapserv.exe/
>
> The machine is Windows 7 Home Premium SP1 x64, Core i5 2500K 3.30Ghz, 8GB
> Ram, Lots of disk space
>
> The OS is fresh install, MS4W is fresh too.
>
> The Tile URL looks like this:
> /
> http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/hampshire/Hampshire.map&layers=HampshireAreas%20HampshirePoints%20HampshireLines&mode=tile&tilemode=gmap&tile=129599+87740+18/
>
> Dataset is .SHP format and about 30GB in size.
>
>
> *Map File:*The only change in the small data set and the full data set's
> map
> files is the path to the data files. Rest of it is exactly the same.
>
> /MAP
> NAME WMS_Server
> SIZE 256 256
> UNITS METERS
> EXTENT 399353.025466 117022.852602 399809.101028 117313.950158
> FONTSET 'fonts.txt'
> SYMBOLSET 'symbols.txt'
> STATUS ON
> PROJECTION
> "proj=merc"
> "a=6378137"
> "b=6378137"
> "lat_ts=0.0"
> "lon_0=0.0"
> "x_0=0.0"
> "y_0=0"
> "k=1.0"
> "units=m"
> "nadgrids=@null"
> "no_defs"
> END
> IMAGECOLOR 255 255 255
> IMAGEQUALITY 95
> IMAGETYPE png
> OUTPUTFORMAT
> NAME png
> DRIVER 'GD/PNG'
> MIMETYPE 'image/png'
> IMAGEMODE RGB
> EXTENSION 'png'
> END
> LEGEND
> IMAGECOLOR 255 255 255
> STATUS ON
> KEYSIZE 18 12
> LABEL
> TYPE BITMAP
> SIZE MEDIUM
> COLOR 0 0 89
> END
> END
> WEB
> IMAGEPATH '/tmp/ms_tmp/'
> IMAGEURL '/tmp/'
> METADATA
> 'wms_title' 'Hampshire'
> 'wms_onlineresource'
> '
> http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map
> '
> 'wms_srs' 'EPSG:4326'
> 'wms_enable_request' '*'
> END
> TEMPLATE 'fooOnlyForWMSGetFeatureInfo'
> END
>
> LAYER
> NAME 'HampshireAreas'
> TYPE POLYGON
> DEBUG ON
> TEMPLATE fooOnlyForWMSGetFeatureInfo
> DATA 'C:/ms4w/apps/Hampshire/HampshireAreas.shp'
> METADATA
> 'wms_title' 'HampshireAreas'
> END
> PROJECTION
> "proj=tmerc"
> "lat_0=49"
> "lon_0=-2"
> "k=0.9996012717"
> "x_0=400000"
> "y_0=-100000"
> "ellps=airy"
> "datum=OSGB36"
> "units=m"
> "no_defs"
> END
> STATUS DEFAULT
> CLASSITEM 'osgb:theme'
> CLASS
> NAME "default"
> EXPRESSION ""
> STYLE
> WIDTH 0.91
> OUTLINECOLOR 0 0 0
> COLOR 179 225 155
> END
> END
> /[more style classes and two layers removed for clarity, ful MAP file
> attached
> http://osgeo-org.1803224.n2.nabble.com/file/n6970353/Hampshire.map.txt
> Hampshire.map.txt ]/
> END
> END
> /
>
> *Please help! *
>
> Regards,
>
> Vaibhav Garg
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/MS4W-Crash-Faulting-app-mapserv-exe-module-libmap-dll-tp6970353p6970353.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111107/a1e2ebb3/attachment.htm>
More information about the MapServer-users
mailing list