MapScript C# Memory Corruption Problem (MapServer 4.10)

Tamas Szekeres szekerest at GMAIL.COM
Fri Jan 19 04:34:06 EST 2007


Could you provide the code sample and possibly a call stack to locate
this error?
Are you sure that the correct versions of the dll-s are loaded?

Best Regards,

Tamas Szekeres


2007/1/19, Hong <ljfong at sdf.lonestar.org>:
> 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