[mapserver-users] Memoryproblem
Tamas Szekeres
szekerest at gmail.com
Tue Aug 12 07:47:34 PDT 2008
Johan,
I haven't run into this problem yet. Do you able to run the getbytes
console application in the /csharp directory?
Is this issue deterministic or random? Do you have an example to reproduce it?
Best regards,
Tamas
2008/8/12 Hallgren, Johan <johan.hallgren at logica.com>:
> Hello
>
>
>
> I have a major problem when using imgMapObj.getBytes().
>
> The memory will be corrupt. The problem doesn't occur when using the save
> function. I have not seen the problem on other servers so the problem seams
> to be related to a specific server (Windows Server 2003 standard edition).
>
> Error msg
>
> ++++++++++++++++++++++
>
> Attempted to read or write protected memory. This is often an indication
> that other memory is corrupt.
>
> at OSGeo.MapServer.mapscriptPINVOKE.imageObj_getBytes(HandleRef jarg1,
> SWIGByteArrayDelegate jarg2)
> at OSGeo.MapServer.imageObj.getBytes(SWIGByteArrayDelegate callback)
> at OSGeo.MapServer.imageObj.getBytes()
> at WMData.GIS.GMSAgent_WP.Libs.MapEngine.Get_Image(XmlDocument xmlDoc,
> Boolean bRetImage) in
> C:\Project\applications\GMS\GMSAgent_WP\Libs\MapEngine.cs:line 298
> ++++++++++++++++++++++
>
> I use mapserver in c# and I have version 5.2.0.
>
>
>
> /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