MapScript C# Memory Corruption Problem (MapServer 4.10)

Hong ljfong at SDF.LONESTAR.ORG
Thu Jan 18 19:28:49 EST 2007


Hi,

I recently tried building MapServer 4.10 from the build kit
(mapserver-buildkit-011607.zip) using MS Visual Studio 2005 SP1. The build was
successful but during regular operation, there would be memory corruption that
happened sporadically (randomly when calling draw() function of mapObj). The
message was:

Attempted to read or write protected memory. This is often an indication that
other memory is corrupt.

The following DLLs were produced and used:
- bgd.dll (from separately downloaded gdwin32 package)
- libmap.dll (with manifest attached through 'mt')
- mapscript.dll (with manifest attached through 'mt')
- mapscript_csharp.dll

This problem did not happen with MapServer 4.8.4 buildkit
(mapserver-4.8.3-msvc71-build-kit.zip) built using MS Visual Studio 2003. The
4.8.4 binaries had been running in .NET 2.0 environment without any problem.

I can use any suggestion/help here.

Thanks.

Surya



More information about the mapserver-users mailing list