[mapserver-users] memory problem on Windows OS

Tamas Szekeres szekerest at gmail.com
Thu Apr 24 14:49:30 PDT 2008


Johan,

This information if not enough to find out the root of the problem.
Can you describe or provide an example how you use mapscript inside the request.
Which .NET Framework are you running against? Which version of the
mapserver are you using?


Tamas


2008/4/24, Hallgren, Johan <johan.hallgren at logica.com>:
>
>
>
>
> Hello
>
>
>
> I have a problem I can't figure out what it's cased of.
>
>
>
>
> I have installed a version of mapserver that I have compiled. It's installed
> on several computers with no problems. Now I have installed it on another
> server and suddenly a problem will arise (see below).
>
>
>
>
>
> 4/24/2008 9:11:14 AM mapscript_csharp
>
> Attempted to read or write protected memory. This is often an indication
> that other memory is corrupt.
>
>
>
>    at OSGeo.MapServer.mapscriptPINVOKE.new_mapObj(String
> jarg1)
>
>    at OSGeo.MapServer.mapObj..ctor(String filename)
>
>    at WMData.GIS.GMSAgent_WP.CMain.StartListening(Int32
> iPort)
>
>
>
> D:\apps\GMSAgent\bin>shp2img.exe -v
>
> MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SVG
>
>  SUPPORTS=FREETYPE SUPPORTS=THREADS INPUT=SDE INPUT=ORACLESPATIAL INPUT=OGR
> INPU
>
>
> T=GDAL INPUT=SHAPEFILE
>
>
>
> The server is a win32 windows server 2003 and there as a number of CPUs but
> my application is running in a single process. I have debugged the process
> and the request is arriving one by one and after a few calls to the
> process/application are suddenly gives the error above.
>
>
>
> Any assistance would be fine.
>
>
>
> BR
>
> Johan
> ___________________________________
> Johan Hallgren
>
>
>
>
>
> Logica
>
>
> Pelle Bergs backe 3
>
>
> Box 1938, 791 19 Falun
>
>
>
> Tel (och mobil): 023-547 46 (int: +46-2354746)
>
> johan.hallgren at logica.com
>
>
> http://www.logica.se
>
>
> _______________________________________________
>  mapserver-users mailing list
>  mapserver-users at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



More information about the MapServer-users mailing list