[mapserver-users] Mapserver crashing on CentOS 7 displaying jp2 files

Even Rouault even.rouault at spatialys.com
Fri Jun 15 10:36:00 PDT 2018


On vendredi 15 juin 2018 13:32:12 CEST Stephen Woodbridge wrote:
> Hi all,
> 
> I've run into a problem with mapserver crashing processing a jp2 file.
> In gdb (no symbols), it say the crash is in libgdal. I didn't download
> these rpms or build mapserver on this server but this is the list that
> appears to be here:
> 
> [root at gis2 ~]# ls mapserver
> armadillo-8.300.0-1.el7.x86_64.rpm libaec-1.0.2-1.el7.x86_64.rpm
> arpack-3.1.3-2.el7.x86_64.rpm libdap-3.13.1-2.el7.x86_64.rpm
> cfitsio-3.370-10.el7.x86_64.rpm libgeotiff-1.2.5-14.el7.x86_64.rpm
> CharLS-1.0-5.el7.x86_64.rpm libgta-1.0.4-1.el7.x86_64.rpm
> epel-release-7-11.noarch.rpm           mapcache-1.4.1
> fcgi-2.4.0-25.el7.x86_64.rpm           mapcache-1.4.1.tar.gz
> fcgi-devel-2.4.0-25.el7.x86_64.rpm     mapserver-7.0.1
> freexl-1.0.5-1.el7.x86_64.rpm          mapserver-7.0.1.tar.gz
> fribidi-0.19.4-6.el7.x86_64.rpm netcdf-4.3.3.1-5.el7.x86_64.rpm
> fribidi-devel-0.19.4-6.el7.x86_64.rpm ogdi-3.2.0-0.19.beta2.el7.x86_64.rpm
> gdal-1.11.4-3.el7.x86_64.rpm openblas-openmp-0.2.20-6.el7.x86_64.rpm
> gdal-devel-1.11.4-3.el7.x86_64.rpm openjpeg2-2.3.0-6.el7.x86_64.rpm
> gdal-libs-1.11.4-3.el7.x86_64.rpm      proj-4.8.0-4.el7.x86_64.rpm
> geos-3.4.2-2.el7.x86_64.rpm proj-devel-4.8.0-4.el7.x86_64.rpm
> geos-devel-3.4.2-2.el7.x86_64.rpm proj-epsg-4.8.0-4.el7.x86_64.rpm
> geos-php-3.4.2-2.el7.x86_64.rpm proj-nad-4.8.0-4.el7.x86_64.rpm
> geos-python-3.4.2-2.el7.x86_64.rpm proj-static-4.8.0-4.el7.x86_64.rpm
> giflib-devel-4.1.6-9.el7.x86_64.rpm SuperLU-5.2.0-5.el7.x86_64.rpm
> hdf5-1.8.12-10.el7.x86_64.rpm

The mix of gdal 1.11 and openjpeg2 2.3 is extremely suspicious. GDAL 1.11 
wouldn't normally compile against openjpeg 2.3, unless folks have patched the 
GDAL in the EL repository . You would need at least GDAL 2.2.3 or later for 
OpenJPEG 2.3 support.

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the mapserver-users mailing list