[Gdal-dev] MrSID Segmentation Fault

Simpson asimpson at i-55.com
Tue Sep 7 11:54:53 EDT 2004


Hi,

I have successfully got gdal utilities to process the majority of my sid
files, but landsat data from https://zulu.ssc.nasa.gov/mrsid/ is getting
segmentation fault.  The MrSID utilities mrsidinfo and mrsiddecode seem to
work properly with these datasets.  The one I've been playing with is
https://zulu.ssc.nasa.gov/mrsid/bin/download_file.pl?client=etmpsmos/sid&ima
ge=N-16-30_2000.tar , if you can get through to the site.  Any
tips/suggestions would be great.

Thanks,
Drew.




System Info
	Linux xxxx 2.4.20-20.8 #1 Mon Aug 18 14:59:07 EDT 2003 i686 i686 i386
GNU/Linux

GCC Info
	gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

GDAL Info
	I tried both gdal-1.2.1 and the csv gdal-cvs-20040903

	configuration
		./configure
			--with-mrsid=/usr/local/Geo_DSDK-4.0.9.713
			--without-geos
			--with-geotiff=internal

	The geotiff on the system would not compile so used version that came with
gdal.
	As soon as I can get my paws on a newer geotiff, I will install it.  Darn
hurricanes!

MrSID Info
	Geo_DSDK-4.0.9.713

STRACE Of gdalinfo call
	This is the tail end of an strace of a call to gdalinfo on one of these
data sets:

	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 187834368, [187834368], SEEK_SET) = 0
	_llseek(3, 222846976, [222846976], SEEK_SET) = 0
	read(3, "\377\243\344~\20\264>\222\10z2NH\3728sy\205\203&\34\32"..., 8192)
= 8192
	_llseek(3, 222855168, [222855168], SEEK_SET) = 0
	close(3)                                = 0
	munmap(0x40014000, 8192)                = 0
	brk(0)                                  = 0x8056000
	brk(0x8057000)                          = 0x8057000
	stat64("/usr/local/share/gdal/unit_of_measure.csv", {st_mode=S_IFREG|0644,
st_size=17933, 	...}) = 0
	open("/usr/local/share/gdal/unit_of_measure.csv", O_RDONLY) = 3
	fstat64(3, {st_mode=S_IFREG|0644, st_size=17933, ...}) = 0
	mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40014000
	_llseek(3, 0, [0], SEEK_CUR)            = 0
	read(3, "\"UOM_CODE\",\"UNIT_OF_MEAS_NAME\",\""..., 4096) = 4096
	fstat64(3, {st_mode=S_IFREG|0644, st_size=17933, ...}) = 0
	_llseek(3, 16384, [16384], SEEK_SET)    = 0
	read(3, "real, any precision). Must inclu"..., 4096) = 1549
	_llseek(3, 0, [0], SEEK_SET)            = 0
	brk(0)                                  = 0x8057000
	brk(0x805b000)                          = 0x805b000
	read(3, "\"UOM_CODE\",\"UNIT_OF_MEAS_NAME\",\""..., 16384) = 16384
	read(3, "real, any precision). Must inclu"..., 4096) = 1549
	close(3)                                = 0
	munmap(0x40014000, 4096)                = 0
	--- SIGSEGV (Segmentation fault) ---
	+++ killed by SIGSEGV +++





More information about the Gdal-dev mailing list