[mapserver-users] memory problem on Windows OS

Tamas Szekeres szekerest at gmail.com
Mon Apr 28 05:42:35 EDT 2008


Johan,

Make sure you have no different versions of the packages installed on
your environment. For example it's not safe to use mapscript.dll along
with libmap.dll compiled for different crt libraries.

It would be helpful to create a debug build, and get a callstack at
the native code.

Best regards,

Tamas



2008/4/28 Hallgren, Johan <johan.hallgren at logica.com>:
> Hello Tamas
>
>  I'm using Mapserver 5.0.0, I also tried a later trunk version. I'm using dotnet2.0
>
>  Regarding the application itself, it has been installed and used on many servers with now problems so I just try to understand what this error indicates. Could it be that the data is corrupt anyway? In this case we had a running version on one server and we moved all data (10 GB of rasterdata) and the application itself to a new location and this new error shows up? Isn't that strange?
>
>  /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
>
>
> -----Original Message-----
>  From: Tamas Szekeres [mailto:szekerest at gmail.com]
>  Sent: den 24 april 2008 23:50
>  To: Hallgren, Johan
>  Cc: mapserver-users at lists.osgeo.org
>  Subject: Re: [mapserver-users] memory problem on Windows OS
>
>  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