Hi,<br><br>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.<br>I am not sure if this can be the issue you&#39;ve got, anyway, if everything else (memory, libs, etc.) seems to be ok, make sure the data is &quot;well&quot;.<br>

<br>regards, michael<br><br><div class="gmail_quote">On Mon, Nov 7, 2011 at 3:33 PM, vaibhavgarg <span dir="ltr">&lt;<a href="mailto:vaibhavkumargarg@gmail.com">vaibhavkumargarg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi,<br>
<br>
I am trying to get MS4W to dish out tile for use in google maps as overlay.<br>
<br>
I was successful in making it work with a sample data set but when pointing<br>
it to the full set, it crashes:<br>
<br>
Windows 7 Event Log:<br>
/Faulting application name: mapserv.exe, version: 0.0.0.0, time stamp:<br>
0x4e1c9886<br>
Faulting module name: libmap.dll, version: 0.0.0.0, time stamp: 0x4e1c9885<br>
Exception code: 0xc0000005<br>
Fault offset: 0x00005db6<br>
Faulting process id: 0xc2c<br>
Faulting application start time: 0x01cc9d49ca7b11ac<br>
Faulting application path: C:\ms4w\Apache\cgi-bin\mapserv.exe<br>
Faulting module path: C:\ms4w\Apache\cgi-bin\libmap.dll<br>
Report Id: 0c7e2d19-093d-11e1-8aea-0025228983f5/<br>
<br>
Apache Log:<br>
/[Mon Nov 07 13:02:14 2011] [error] [client 117.201.84.121] Premature end of<br>
script headers: mapserv.exe/<br>
<br>
The machine is Windows 7 Home Premium SP1 x64, Core i5 2500K 3.30Ghz, 8GB<br>
Ram, Lots of disk space<br>
<br>
The OS is fresh install, MS4W is fresh too.<br>
<br>
The Tile URL looks like this:<br>
/<a href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/hampshire/Hampshire.map&amp;layers=HampshireAreas%20HampshirePoints%20HampshireLines&amp;mode=tile&amp;tilemode=gmap&amp;tile=129599+87740+18/" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/hampshire/Hampshire.map&amp;layers=HampshireAreas%20HampshirePoints%20HampshireLines&amp;mode=tile&amp;tilemode=gmap&amp;tile=129599+87740+18/</a><br>


<br>
Dataset is .SHP format and about 30GB in size.<br>
<br>
<br>
*Map File:*The only change in the small data set and the full data set&#39;s map<br>
files is the path to the data files. Rest of it is exactly the same.<br>
<br>
/MAP<br>
  NAME WMS_Server<br>
  SIZE 256 256<br>
  UNITS METERS<br>
  EXTENT 399353.025466 117022.852602 399809.101028 117313.950158<br>
  FONTSET &#39;fonts.txt&#39;<br>
  SYMBOLSET &#39;symbols.txt&#39;<br>
  STATUS ON<br>
  PROJECTION<br>
      &quot;proj=merc&quot;<br>
      &quot;a=6378137&quot;<br>
      &quot;b=6378137&quot;<br>
      &quot;lat_ts=0.0&quot;<br>
      &quot;lon_0=0.0&quot;<br>
      &quot;x_0=0.0&quot;<br>
      &quot;y_0=0&quot;<br>
      &quot;k=1.0&quot;<br>
      &quot;units=m&quot;<br>
      &quot;nadgrids=@null&quot;<br>
      &quot;no_defs&quot;<br>
  END<br>
  IMAGECOLOR 255 255 255<br>
  IMAGEQUALITY 95<br>
  IMAGETYPE png<br>
  OUTPUTFORMAT<br>
    NAME png<br>
    DRIVER &#39;GD/PNG&#39;<br>
    MIMETYPE &#39;image/png&#39;<br>
    IMAGEMODE RGB<br>
    EXTENSION &#39;png&#39;<br>
  END<br>
  LEGEND<br>
      IMAGECOLOR 255 255 255<br>
    STATUS ON<br>
    KEYSIZE 18 12<br>
    LABEL<br>
      TYPE BITMAP<br>
      SIZE MEDIUM<br>
      COLOR 0 0 89<br>
    END<br>
  END<br>
  WEB<br>
    IMAGEPATH &#39;/tmp/ms_tmp/&#39;<br>
    IMAGEURL &#39;/tmp/&#39;<br>
    METADATA<br>
      &#39;wms_title&#39;           &#39;Hampshire&#39;<br>
      &#39;wms_onlineresource&#39;<br>
&#39;<a href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/apps/gmap/htdocs/hampshire.map</a>&#39;<br>
      &#39;wms_srs&#39;             &#39;EPSG:4326&#39;<br>
      &#39;wms_enable_request&#39;  &#39;*&#39;<br>
    END<br>
    TEMPLATE &#39;fooOnlyForWMSGetFeatureInfo&#39;<br>
  END<br>
<br>
  LAYER<br>
    NAME &#39;HampshireAreas&#39;<br>
    TYPE POLYGON<br>
        DEBUG ON<br>
    TEMPLATE fooOnlyForWMSGetFeatureInfo<br>
    DATA &#39;C:/ms4w/apps/Hampshire/HampshireAreas.shp&#39;<br>
    METADATA<br>
      &#39;wms_title&#39; &#39;HampshireAreas&#39;<br>
    END<br>
    PROJECTION<br>
        &quot;proj=tmerc&quot;<br>
        &quot;lat_0=49&quot;<br>
        &quot;lon_0=-2&quot;<br>
        &quot;k=0.9996012717&quot;<br>
        &quot;x_0=400000&quot;<br>
        &quot;y_0=-100000&quot;<br>
        &quot;ellps=airy&quot;<br>
        &quot;datum=OSGB36&quot;<br>
        &quot;units=m&quot;<br>
        &quot;no_defs&quot;<br>
    END<br>
    STATUS DEFAULT<br>
    CLASSITEM &#39;osgb:theme&#39;<br>
    CLASS<br>
      NAME &quot;default&quot;<br>
      EXPRESSION &quot;&quot;<br>
       STYLE<br>
         WIDTH 0.91<br>
         OUTLINECOLOR 0 0 0<br>
         COLOR 179 225 155<br>
       END<br>
    END<br>
/[more style classes and two layers removed for clarity, ful MAP file<br>
attached<br>
<a href="http://osgeo-org.1803224.n2.nabble.com/file/n6970353/Hampshire.map.txt" target="_blank">http://osgeo-org.1803224.n2.nabble.com/file/n6970353/Hampshire.map.txt</a><br>
Hampshire.map.txt ]/<br>
  END<br>
END<br>
/<br>
<br>
*Please help! *<br>
<br>
Regards,<br>
<br>
Vaibhav Garg<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/MS4W-Crash-Faulting-app-mapserv-exe-module-libmap-dll-tp6970353p6970353.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/MS4W-Crash-Faulting-app-mapserv-exe-module-libmap-dll-tp6970353p6970353.html</a><br>


Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</font></span></blockquote></div><br>