Package: libgdal1-1.6.0 Version: 1.6.2-1
Severity: important --- Please enter the report below this line. --- When a program is linked to geotiff and gdal, a segfault appear when reading tiff files This seems related to the use of the with-hide-internal-symbols during compilation of the gdal included in the debian package. To reproduce the bug: Create file gdalHideSymbols.cxx with #include "gdal.h" int main(int argc, char * argv[]) { GDALAllRegister(); GDALOpen(argv[1], GA_ReadOnly ); } $ gcc -c gdalHideSymbols.cxx -I/usr/include/gdal $ gcc gdalHideSymbols.o -lgeotiff -lgdal1.6.0 -o gdalHideSymbols-gtiffgdal $ gcc gdalHideSymbols.o -lgdal1.6.0 -lgeotiff -o gdalHideSymbols-gdalgtiff $ ./gdalHideSymbols-gtiffgdal ROI_QB_MUL_4.tif Segmentation fault $ ./gdalHideSymbols-gdalgtiff ROI_QB_MUL_4.tif Ok Both cases are working correctly with the gdal1.5.0 debian package It occurs with all tif file tested but here is one tif file that shows the bug: http://hg.orfeo-toolbox.org/OTB-Data/raw-file/51234ada686c/Input/ROI_QB_MUL_4.tif --- System information. --- Architecture: amd64 Kernel: Linux 2.6.30-2-amd64 Debian Release: squeeze/sid 500 testing www.debian-multimedia.org 500 testing mirror.nus.edu.sg 500 testing debian.gfoss.it 500 stable security.debian.org 500 stable mirror.nus.edu.sg --- Package information. --- Depends (Version) | Installed ==============================================-+-====================== libc6 (>= 2.3) | 2.10.1-7 libcurl3-gnutls (>= 7.16.2-1) | 7.19.7-1 libexpat1 (>= 1.95.8) | 2.0.1-5 libgcc1 (>= 1:4.1.1) | 1:4.4.1-4 libgeos-c1 (>= 3.1.0) | 3.1.0-1 libgif4 (>= 4.1.6) | 4.1.6-8 libhdf4-0-alt | 4.2r4-6 libhdf5-serial-1.8.3 | 1.8.3-2.1 OR libhdf5-1.8.3 | libjasper1 (>= 1.900.1) | 1.900.1-6.1 libjpeg62 | 6b-15 libmysqlclient16 (>= 5.1.36) | 5.1.37-2 libnetcdf4 | 1:3.6.3-1 libogdi3.2 | 3.2.0~beta2-5 libpng12-0 (>= 1.2.13-4) | 1.2.40-1 libpq5 (>= 8.4~0cvs20090328) | 8.4.1-1 libsqlite3-0 (>= 3.6.17) | 3.6.20-1 libstdc++6 (>= 4.2.1) | 4.4.1-4 libxerces-c28 | 2.8.0+deb1-2 odbcinst1debian1 (>= 2.2.11-3) | 2.2.11-21 unixodbc (>= 2.2.11) | 2.2.11-21 zlib1g (>= 1:1.2.0) | 1:1.2.3.3.dfsg-15 Recommends (Version) | Installed =========================-+-=========== proj-bin | 4.7.0-1 Package's Suggests field is empty. _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel