[Aust-NZ] exception OSGeo.MapServer ... at OSGeo.MapServer.mapscriptPINVOKE.new_mapObj(System.String)

Cameron Shorter cameron.shorter at gmail.com
Sun May 8 16:13:21 EDT 2011


Mark,
For technical queries about an application like mapserver, you will be 
best to email the mapserver email list who are much more likely to have 
targeted knowledge about your problem.

On 06/05/11 15:43, Mark Sharman wrote:
>
> To whom it may concern,
>
> I am experiencing a number of intermittent exceptions in an 
> application that generates mapping tiles. Generally the system runs 
> very well .. occasionally we get exceptions the one below and a memory 
> violation (sorry don't remember that precisely). It's a bit weird. The 
> system is multi-threading 32bit windows based. If someone can assist 
> it would great.
>
> I am using version 5.6.3 of Mapserver
>
> The call:
>
> Dim mapname As String = _mbr.MapFilePath + "\" + 
> _mbr.Zoom.ToString().PadLeft(2, Convert.ToChar("0")) & ".map"
>
> Dim MSMap As mapObj = Nothing
>
> Try
>
>             MSMap = New mapObj(mapname)
>
> Catch ex As Exception
>
>             _logger.Error(ex)
>
> ' this will be caught by the caller
>
> Throw ex
>
> 'Return False
>
> End Try
>
> Sorry this is all I have, for some reason the log4net Error(exception) 
> call is not writing to the log file:
>
> Event Type:       Error
>
> Event Source:    .NET Runtime
>
> Event Category: None
>
> Event ID:           1026
>
> Date:                6/05/2011
>
> Time:                2:25:40 PM
>
> User:                N/A
>
> Computer:         MDS-TILEGEN03
>
> Description:
>
> Application: TileGenV2MSConsole.exe
>
> Framework Version: v4.0.30319
>
> Description: The process was terminated due to an unhandled exception.
>
> Exception Info: System.AccessViolationException
>
> Stack:
>
>    at OSGeo.MapServer.mapscriptPINVOKE.new_mapObj(System.String)
>
>    at OSGeo.MapServer.mapObj..ctor(System.String)
>
>    at 
> TileGenAssembly.MapServerRenderer.ProcessMBRRow(TileGenAssembly.ConfigurationDataContext, 
> System.Object ByRef, System.DateTime, Int64 ByRef, Int64 ByRef, Int64 
> ByRef)
>
>    at TileGenAssembly.MapServerRenderer.GenerateTilesFromMBR(Int32)
>
>    at TileGenAssembly.MapServerGenerateThread.Start()
>
>    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
>
>    at 
> System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, 
> System.Threading.ContextCallback, System.Object, Boolean)
>
>    at 
> System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, 
> System.Threading.ContextCallback, System.Object)
>
>    at System.Threading.ThreadHelper.ThreadStart()
>
> Regards
>
>
> _______________________________________________
> Aust-NZ mailing list
> Aust-NZ at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/aust-nz


-- 
Cameron Shorter
Geospatial Director
Tel: +61 (0)2 8570 5050
Mob: +61 (0)419 142 254

Think Globally, Fix Locally
Geospatial Solutions enhanced with Open Standards and Open Source
http://www.lisasoft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/aust-nz/attachments/20110509/596c42ae/attachment.html


More information about the Aust-NZ mailing list