[gdal-dev] gdal 1.10.0 1.9.2 segmentation faults for WCS requests

Ulrich Leopold Ulrich.Leopold at Tudor.lu
Thu Aug 8 07:37:07 PDT 2013


Dear list,

when using gdal version 1.10.0 and 1.9.2 on ubuntu 12.04 and ubuntu 
13.04 we get a segmentation fault for any WCS requests (see below for an 
example). Using wget the request works and we can save the image. 
gdalinfo on the saved image works correctly, just not on the request 
directly.

Any idea why the segmentation fault when using the WCS request directly?


Best, Ulrich


uleopold at CRTE-ULE-14896:~$ gdb --args gdalinfo 
"http://services.iguess.tudor.lu/cgi-bin/mapserv?map=/srv/mapserv/MapFiles/RO_localOWS_test.map&SERVICE=WCS&FORMAT=image/img&CRS=EPSG:28992&BBOX=91979.0,436326.0,92617.0,437659.5&RESX=0.5&RESY=0.5&VERSION=1.0.0&REQUEST=getCoverage&coverage=ro_dsm_mini"
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gdalinfo...(no debugging symbols 
found)...done.

(gdb) r
Starting program: /usr/bin/gdalinfo 
http://services.iguess.tudor.lu/cgi-bin/mapserv\?map=/srv/mapserv/MapFiles/RO_localOWS_test.map\&SERVICE=WCS\&FORMAT=image/img\&CRS=EPSG:28992\&BBOX=91979.0,436326.0,92617.0,437659.5\&RESX=0.5\&RESY=0.5\&VERSION=1.0.0\&REQUEST=getCoverage\&coverage=ro_dsm_mini
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff27d4cd1 in ?? () from /usr/lib/x86_64-linux-gnu/libdapclient.so.3

(gdb) bt
#0  0x00007ffff27d4cd1 in ?? () from 
/usr/lib/x86_64-linux-gnu/libdapclient.so.3
#1  0x00007ffff27e37b3 in std::vector<std::string, 
std::allocator<std::string> >::~vector() () from 
/usr/lib/x86_64-linux-gnu/libdapclient.so.3
#2  0x00007ffff27e0bbf in 
libdap::HTTPConnect::plain_fetch_url(std::string const&) () from 
/usr/lib/x86_64-linux-gnu/libdapclient.so.3
#3  0x00007ffff27e16c0 in libdap::HTTPConnect::fetch_url(std::string 
const&) () from /usr/lib/x86_64-linux-gnu/libdapclient.so.3
#4  0x00007ffff27da48b in libdap::Connect::request_version() () from 
/usr/lib/x86_64-linux-gnu/libdapclient.so.3
#5  0x00007ffff732dfc5 in ?? () from /usr/lib/libgdal.so.1
#6  0x00007ffff7333da9 in ?? () from /usr/lib/libgdal.so.1
#7  0x00007ffff75789e9 in ?? () from /usr/lib/libgdal.so.1
#8  0x00007ffff7578c46 in ?? () from /usr/lib/libgdal.so.1
#9  0x0000000000402c8f in ?? ()
#10 0x00007ffff65dfea5 in __libc_start_main () from 
/lib/x86_64-linux-gnu/libc.so.6
#11 0x00000000004044f5 in ?? ()

-- 
Ulrich Leopold

Senior Researcher in Geocomputation
Resource Centre for Environmental Technologies
Public Research Centre Henri Tudor
6A, avenue des Hauts-Fourneaux
L-4362 Esch-sur-Alzette
Luxembourg

tel: +352 425991 4618
fax: +352 425991 555
mobile: +352 691 304813
email: ulrich.leopold at tudor.lu
http://www.tudor.lu



More information about the gdal-dev mailing list