[mapguide-trac] #1476: mgserver lock up using GDAL Plugins (mrsid)

MapGuide Open Source trac_mapguide at osgeo.org
Tue Oct 19 12:39:12 EDT 2010


#1476: mgserver lock up using GDAL Plugins (mrsid)
------------------------+---------------------------------------------------
   Reporter:  andrewd   |       Owner:       
       Type:  defect    |      Status:  new  
   Priority:  high      |   Milestone:       
  Component:  Server    |     Version:  2.2.0
   Severity:  critical  |    Keywords:       
External_id:            |  
------------------------+---------------------------------------------------
 Using the MGOS 2.2 RC1 with GDAL plugins (for mrsid), the mgserver service
 completely locks up when trying to access a mrsid layer, or when accessing
 a weblayout with a sid layer in it (even if it is not on). The only
 solution is to kill and restart the service.

 The mrsids work in 2.0.2. I will attach an example sid...

 Here are my steps for installing the plugins:

 The download links all came from
 http://trac.osgeo.org/mapguide/wiki/MGOS21GdalProviderExtending, which is
 linked to from http://trac.osgeo.org/mapguide/wiki/MGOS21GdalProvider

 1) Downloaded lti_dsdk_cdll.dll (6.0.7.1407) and lti_dsdk_dll.dll
 (6.0.7.1407) from
 http://download.osgeo.org/osgeo4w/release/gdal/gdal16-mrsid/ and then put
 them into the bin folder.
 2) Downloaded Gdal_MrSID.dll (11/28/2008) from
 http://download.osgeo.org/osgeo4w/release/gdal/gdal16-mrsid/ and put that
 into bin\gdalplugins.
 3) Now, right then, I tried things out (with debug on) - I tried it at
 this point, because these are the only files that first webpage talks
 about. My normal rasters worked (jpg), but I got errors complaining about
 my sid layers - the errors were saying that I was missing geotiff.dll...
 4) Downloaded geotiff.dll, jpeg_osgeo.dll, libtiff.dll and zlib_osgeo.dll
 from  http://www.jasonbirch.com/fdogdal/gdal_wavelet_3.4.zip as mentioned
 on the 2nd page. Put these into fdo folder.
 5) Tried again - this time, no more complaints about missing dlls - only I
 get that same message as the other day, saying that the server
 connection's been lost...and then my mgserver.exe completely freezes. It
 freezes when trying to preview a sid layer or load a layout that has a sid
 layer in it (even though it's off).

 When running the mgservice from the command line and then trying to either
 access a sid layer, or weblayout (with a sid layer), this is the output:

 (5936) Server starting...
 (5936) Mentor Coordinate System Library
 (5936) Server started.
 GDAL: Auto register C:\Program Files
 (x86)\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using
 GDALRegister_ECW_JP2ECW.
 GDAL: Auto register C:\Program Files
 (x86)\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using
 GDALRegister_MrSID.
 GDAL: Auto register C:\Program Files
 (x86)\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using
 GDALRegister_ECW_JP2ECW.
 GDAL: Auto register C:\Program Files
 (x86)\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using
 GDALRegister_MrSID.
 GDAL: GDALOpen(E:\drawings and
 files\drawings\4300\438253\gis/airphotos/Google2010//2010.jpg,
 this=03DD57C8) succeeds as JPEG.
 GDAL: GDALClose(E:\drawings and
 files\drawings\4300\438253\gis/airphotos/Google2010//2010.jpg,
 this=03DD57C8)
 (3928) Problem:\nCannot establish connection to the MapGuide
 Server.\n\nPossible Causes:\n-Your session has been idle for too
 long;\n-MapGuide Server is no longer responding;\n-Internet connection
 problems.\n\nSolution:\nRestart your application / session, restart the
 MapGuide Server service, or contact with the server administrator.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1476>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list