Having a problem with mapserver crashing on CentOS 7 displaying jp2 files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Having a problem with mapserver crashing on CentOS 7 displaying jp2 files

Stephen Woodbridge-3
Hi all,

I'm trying to display jp2 files through mapserver on CentOS 7, but I'm
getting a crash in libgdal when it processes the file. In theory, the
followinf rpms have been installed:

> 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
since I didn't download these and install them its possible that they
are not all installed.

Where is the best place to get el7 rpms for mapserver?

There are no symbols in the executables so I can't get a better gdb
backtrace info.

Some help would be appreciated,

   -Steve

Do ldd /usr/local/bin/mapserv gives:

         linux-vdso.so.1 =>  (0x00007ffc19bfd000)
         libmapserver.so.2 => /usr/local/lib/libmapserver.so.2
(0x00007f2b09cda000)
         libfcgi.so.0 => /lib64/libfcgi.so.0 (0x00007f2b09ace000)
         libpng15.so.15 => /lib64/libpng15.so.15 (0x00007f2b098a3000)
         libz.so.1 => /lib64/libz.so.1 (0x00007f2b0968d000)
         libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007f2b09437000)
         libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007f2b09191000)
         libproj.so.0 => /lib64/libproj.so.0 (0x00007f2b08f3f000)
         libfribidi.so.0 => /lib64/libfribidi.so.0 (0x00007f2b08d25000)
         libharfbuzz.so.0 => /lib64/libharfbuzz.so.0 (0x00007f2b08ac2000)
         libcairo.so.2 => /lib64/libcairo.so.2 (0x00007f2b0879a000)
         libgeos_c.so.1 => /lib64/libgeos_c.so.1 (0x00007f2b08572000)
         libpq.so.5 => /lib64/libpq.so.5 (0x00007f2b08343000)
         libgdal.so.1 => /lib64/libgdal.so.1 (0x00007f2b0742e000)
         libxml2.so.2 => /lib64/libxml2.so.2 (0x00007f2b070c3000)
         libgif.so.4 => /lib64/libgif.so.4 (0x00007f2b06eb9000)
         libdl.so.2 => /lib64/libdl.so.2 (0x00007f2b06cb5000)
         libm.so.6 => /lib64/libm.so.6 (0x00007f2b069b2000)
         libc.so.6 => /lib64/libc.so.6 (0x00007f2b065e5000)
         libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2b062dd000)
         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2b060c6000)
         libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f2b05eac000)
         libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f2b05b97000)
         libgraphite2.so.3 => /lib64/libgraphite2.so.3 (0x00007f2b05969000)
         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2b0574d000)
         libpixman-1.so.0 => /lib64/libpixman-1.so.0 (0x00007f2b054a3000)
         libfontconfig.so.1 => /lib64/libfontconfig.so.1
(0x00007f2b05266000)
         libEGL.so.1 => /lib64/libEGL.so.1 (0x00007f2b05030000)
         libxcb-shm.so.0 => /lib64/libxcb-shm.so.0 (0x00007f2b04e2b000)
         libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f2b04c03000)
         libxcb-render.so.0 => /lib64/libxcb-render.so.0
(0x00007f2b049f5000)
         libXrender.so.1 => /lib64/libXrender.so.1 (0x00007f2b047e9000)
         libX11.so.6 => /lib64/libX11.so.6 (0x00007f2b044ab000)
         libXext.so.6 => /lib64/libXext.so.6 (0x00007f2b04299000)
         libGL.so.1 => /lib64/libGL.so.1 (0x00007f2b04026000)
         librt.so.1 => /lib64/librt.so.1 (0x00007f2b03e1e000)
         libgeos-3.4.2.so => /lib64/libgeos-3.4.2.so (0x00007f2b03a7e000)
         libssl.so.10 => /lib64/libssl.so.10 (0x00007f2b0380b000)
         libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007f2b033aa000)
         libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007f2b030c2000)
         libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f2b02ebd000)
         libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2
(0x00007f2b02c70000)
         libldap_r-2.4.so.2 => /lib64/libldap_r-2.4.so.2
(0x00007f2b02a11000)
         libarmadillo.so.8 => /lib64/libarmadillo.so.8 (0x00007f2b02805000)
         libpoppler.so.46 => /lib64/libpoppler.so.46 (0x00007f2b02376000)
         libfreexl.so.1 => /lib64/libfreexl.so.1 (0x00007f2b0216c000)
         libwebp.so.4 => /lib64/libwebp.so.4 (0x00007f2b01f1b000)
         libsqlite3.so.0 => /lib64/libsqlite3.so.0 (0x00007f2b01c66000)
         libodbc.so.2 => /lib64/libodbc.so.2 (0x00007f2b019fe000)
         libodbcinst.so.2 => /lib64/libodbcinst.so.2 (0x00007f2b017eb000)
         libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f2b015c1000)
         libxerces-c-3.1.so => /lib64/libxerces-c-3.1.so
(0x00007f2b01014000)
         libopenjp2.so.7 => /lib64/libopenjp2.so.7 (0x00007f2b00dc0000)
         libjasper.so.1 => /lib64/libjasper.so.1 (0x00007f2b00b66000)
         libnetcdf.so.7 => /lib64/libnetcdf.so.7 (0x00007f2afd775000)
         libhdf5.so.8 => /lib64/libhdf5.so.8 (0x00007f2afd17d000)
         libogdi.so.3 => /lib64/libogdi.so.3 (0x00007f2afcf5c000)
         libgeotiff.so.1.2 => /lib64/libgeotiff.so.1.2 (0x00007f2afcd2c000)
         libtiff.so.5 => /lib64/libtiff.so.5 (0x00007f2afcab7000)
         libgta.so.0 => /lib64/libgta.so.0 (0x00007f2afc8ac000)
         libcfitsio.so.2 => /lib64/libcfitsio.so.2 (0x00007f2afc4d7000)
         liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f2afc2b0000)
         libdapclient.so.6 => /lib64/libdapclient.so.6 (0x00007f2afc077000)
         libdapserver.so.7 => /lib64/libdapserver.so.7 (0x00007f2afbe68000)
         libdap.so.17 => /lib64/libdap.so.17 (0x00007f2afbb76000)
         libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f2afb914000)
         libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f2afb6ab000)
         libCharLS.so.1 => /lib64/libCharLS.so.1 (0x00007f2afb460000)
         libmysqlclient.so.18 => /usr/lib64/mysql/libmysqlclient.so.18
(0x00007f2afaf60000)
         libSM.so.6 => /lib64/libSM.so.6 (0x00007f2afad57000)
         libICE.so.6 => /lib64/libICE.so.6 (0x00007f2afab3b000)
         /lib64/ld-linux-x86-64.so.2 (0x000055979fdb5000)
         libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f2afa913000)
         libxcb-dri2.so.0 => /lib64/libxcb-dri2.so.0 (0x00007f2afa70e000)
         libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x00007f2afa50c000)
         libxcb-dri3.so.0 => /lib64/libxcb-dri3.so.0 (0x00007f2afa308000)
         libxcb-xfixes.so.0 => /lib64/libxcb-xfixes.so.0
(0x00007f2afa100000)
         libxcb-present.so.0 => /lib64/libxcb-present.so.0
(0x00007f2af9efd000)
         libxcb-sync.so.1 => /lib64/libxcb-sync.so.1 (0x00007f2af9cf5000)
         libxshmfence.so.1 => /lib64/libxshmfence.so.1 (0x00007f2af9af2000)
         libgbm.so.1 => /lib64/libgbm.so.1 (0x00007f2af98e4000)
         libwayland-client.so.0 => /lib64/libwayland-client.so.0
(0x00007f2af96d4000)
         libwayland-server.so.0 => /lib64/libwayland-server.so.0
(0x00007f2af94c1000)
         libdrm.so.2 => /lib64/libdrm.so.2 (0x00007f2af92b0000)
         libXau.so.6 => /lib64/libXau.so.6 (0x00007f2af90ab000)
         libglapi.so.0 => /lib64/libglapi.so.0 (0x00007f2af8e7b000)
         libXdamage.so.1 => /lib64/libXdamage.so.1 (0x00007f2af8c78000)
         libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f2af8a71000)
         libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x00007f2af8856000)
         libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x00007f2af8650000)
         libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007f2af841c000)
         libkrb5support.so.0 => /lib64/libkrb5support.so.0
(0x00007f2af820e000)
         libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f2af800a000)
         libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f2af7df0000)
         liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007f2af7be1000)
         libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007f2af79c4000)
         libssl3.so => /lib64/libssl3.so (0x00007f2af7777000)
         libsmime3.so => /lib64/libsmime3.so (0x00007f2af7550000)
         libnss3.so => /lib64/libnss3.so (0x00007f2af7226000)
         libnssutil3.so => /lib64/libnssutil3.so (0x00007f2af6ff8000)
         libplds4.so => /lib64/libplds4.so (0x00007f2af6df4000)
         libplc4.so => /lib64/libplc4.so (0x00007f2af6bef000)
         libnspr4.so => /lib64/libnspr4.so (0x00007f2af69b0000)
         libopenblaso.so.0 => /lib64/libopenblaso.so.0 (0x00007f2af438f000)
         liblapack.so.3 => /lib64/liblapack.so.3 (0x00007f2af3c32000)
         libarpack.so.2 => /lib64/libarpack.so.2 (0x00007f2af39e2000)
         libsuperlu.so.5.1 => /lib64/libsuperlu.so.5.1 (0x00007f2af376d000)
         liblcms2.so.2 => /lib64/liblcms2.so.2 (0x00007f2af3513000)
         libopenjpeg.so.1 => /lib64/libopenjpeg.so.1 (0x00007f2af32ee000)
         libltdl.so.7 => /lib64/libltdl.so.7 (0x00007f2af30e4000)
         libhdf5_hl.so.8 => /lib64/libhdf5_hl.so.8 (0x00007f2af2eaf000)
         libsz.so.2 => /lib64/libsz.so.2 (0x00007f2af2cac000)
         libjbig.so.2.0 => /lib64/libjbig.so.2.0 (0x00007f2af2a9f000)
         libbz2.so.1 => /lib64/libbz2.so.1 (0x00007f2af288f000)
         libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f2af2689000)
         libidn.so.11 => /lib64/libidn.so.11 (0x00007f2af2456000)
         libssh2.so.1 => /lib64/libssh2.so.1 (0x00007f2af222c000)
         libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007f2af1fd6000)
         libffi.so.6 => /lib64/libffi.so.6 (0x00007f2af1dce000)
         libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f2af1b96000)
         libgfortran.so.3 => /lib64/libgfortran.so.3 (0x00007f2af1873000)
         libgomp.so.1 => /lib64/libgomp.so.1 (0x00007f2af164d000)
         libblas.so.3 => /lib64/libblas.so.3 (0x00007f2af13f4000)
         libtatlas.so.3 => /usr/lib64/atlas/libtatlas.so.3
(0x00007f2af078b000)
         libquadmath.so.0 => /lib64/libquadmath.so.0 (0x00007f2af054f000)
         libsatlas.so.3 => /usr/lib64/atlas/libsatlas.so.3
(0x00007f2aef902000)
         libaec.so.0 => /lib64/libaec.so.0 (0x00007f2aef6f9000)
         libfreebl3.so => /lib64/libfreebl3.so (0x00007f2aef4f6000)


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mapserver-users mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/mapserver-users