Opened 13 years ago
Closed 13 years ago
#103 closed defect (fixed)
Segmentation fault for rasdl on scientific linux
Reported by: | Owned by: | Dimitar Misev | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | rasdl | Version: | |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
Rasdl crashes with segmentation fault on SL, this blocks setup as it makes the create_db.sh script exit with an rasdl not found error
lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: Scientific
Description: Scientific Linux release 6.0 (Carbon)
Release: 6.0
Codename: Carbon
Output of gdb follows:
Starting program: /usr/local/rasdaman-8.2/bin/rasdl —help
[Thread debugging using libthread_db enabled]
Using error text file: /usr/share/rasdamanerrtxts
rasdl: rasdaman schema and database manipulation tool, rasdaman v8.2 on base DBMS pgsql — generated on 27.12.2011 16:05:36.
Usage: rasdl [options]
Options:
-h, —help
print this help
-d, —database <db-name> (default: RASBASE)
name of the database
—basename <db-name> (default: RASBASE)
name of the database (deprecated, use —database)
-c, —createdatabase
create database and initialize schema information
—deldatabase
delete database
-r, —read <file>
read data definition file
-i, —insert
insert types into database (requires -r)
—hh <hh-file>
print C++ header into <hh-file> (requires -r)
-p, —print
print all types
—delbasetype <base-name>
delete base type with name <base-name>
—delmddtype <mdd-name>
delete mdd type with name <mdd-name>
—delsettype <set-name>
delete set type with name <set-name>
—connect <connect-str> (default: /)
connect string for underlying database (syntax depending on base DBMS, e.g., rasbase@serverhost)
—debug
print diagnostic output
Examples:
create database: rasdl —database RASBASE —createdatabase
delete database: rasdl —database RASBASE —deldatabase
delete base type: rasdl —database RASBASE —delbasetype char
delete mdd type: rasdl —database RASBASE —delmddtype GreyImage
delete set type: rasdl —database RASBASE —delsettype GreySet
print all types: rasdl —database RASBASE —print
insert types: rasdl —database RASBASE —read basictypes.dl —insert
generate C++ header from type file: rasdl —read basictypes.dl —hh basictypes.hh
Program received signal SIGSEGV, Segmentation fault.
0x0000003f57db6e70 in r_Error::freeTextTable() () from /usr/lib64/libgdal.so.1
Missing separate debuginfos, use: debuginfo-install cfitsio-3.240-2.el6.x86_64 cyrus-sasl-lib-2.1.23-8.el6.x86_64 expat-2.0.1-9.1.el6.x86_64 gdal-1.8.1-1.eox3.el6.x86_64 geos-3.3.1-1.el6.x86_64 giflib-4.1.6-3.1.el6.x86_64 glibc-2.12-1.47.el6.x86_64 hdf5-1.8.5.patch1-5.el6.x86_64 jasper-libs-1.900.1-15.el6_1.1.x86_64 keyutils-libs-1.4-1.el6.x86_64 krb5-libs-1.9-22.el6_2.1.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.1.0-7.1.el6.x86_64 libX11-1.3-2.el6.x86_64 libXau-1.0.5-1.el6.x86_64 libcom_err-1.41.12-3.el6.x86_64 libcurl-7.19.7-26.el6_1.1.x86_64 libgcc-4.4.4-13.el6.x86_64 libgeotiff-1.3.0-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libjpeg-6b-46.el6.x86_64 libpng-1.2.46-1.el6_1.x86_64 libselinux-2.0.94-2.el6.x86_64 libspatialite-2.4.0-0.6.RC4.el6.x86_64 libssh2-1.2.2-7.el6.x86_64 libstdc++-4.4.4-13.el6.x86_64 libtiff-3.9.4-1.el6_0.3.x86_64 libtool-ltdl-2.2.6-15.5.el6.x86_64 libuuid-2.17.2-12.4.el6.x86_64 libxcb-1.5-1.el6.x86_64 mysql-libs-5.1.52-1.el6_0.1.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 netcdf-4.1.1-3.el6.2.x86_64 netpbm-10.47.05-11.el6.x86_64 nspr-4.8.8-1.el6_1.x86_64 nss-3.12.10-2.el6_1.x86_64 nss-softokn-freebl-3.12.9-3.el6.x86_64 nss-util-3.12.10-1.el6_1.x86_64 ogdi-3.2.0-0.14.beta2.el6.x86_64 openldap-2.4.19-15.el6_0.2.x86_64 openssl-1.0.0-10.el6_1.5.x86_64 postgresql-libs-8.4.9-1.el6_1.1.x86_64 proj-4.7.0-2.el6.x86_64 readline-6.0-3.el6.x86_64 sqlite-3.6.20-1.el6.x86_64 unixODBC-2.2.14-11.el6.x86_64 xerces-c-3.0.1-20.el6.x86_64 zlib-1.2.3-25.el6.x86_64
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Component: | GDAL driver → rasdl |
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note the:
0x0000003f57db6e70 in r_Error::freeTextTable() () from /usr/lib64/libgdal.so.1
It seems to be linked to some older rasdaman libs, which are linked into the gdal library.. there was the same problem on the CentOS VMs.
The solution is to remove /usr/lib64/libgdal.so.1
or any GDAL that may have been compiled against an older rasdaman than the one you have installed.
I believe this has been fixed in the latest version, can you please check it again?