[Gdal-dev] gdalwarp hangs when -dstnodata is used

Tugrul Galatali tugrul at galatali.com
Sat Jul 9 22:11:09 EDT 2005


On Wed, 2005-06-15 at 15:04 -0700, Dylan Beaudette wrote:
> Hi,
> 
> gdalwarp (1.2.6 compiled from source) hangs after successfully re-projecting a 
> raster image when the -dstnodata flag is present.

	Same problem here. -tps has no effect. Taking out TILED=YES makes it
SIGSEGV instead of hang, same place. Anyway I do it, I do get an image,
but its solid black.

(gdb) run -s_srs "+init=nad83:3702 +units=us-ft" -tps -t_srs "+proj=utm +zone=11 +ellps=WGS84" -dstnodata 0 -co "TILED=YES" /tmp/25_43.tif /tmp/foo.tif
Starting program: /tmp/gdal-1.2.6/apps/.libs/lt-gdalwarp -s_srs "+init=nad83:3702 +units=us-ft" -tps -t_srs "+proj=utm +zone=11 +ellps=WGS84" -dstnodata 0 -co "TILED=YES" /tmp/25_43.tif /tmp/foo.tif
Creating output file that is 8981P x 8554L.
:0...10...20...30...40...50...60...70...80...90...100 - done.

Program received signal SIGINT, Interrupt.
0xb7a040a7 in mallopt () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7a040a7 in mallopt () from /lib/tls/libc.so.6
#1  0xb7a03f6e in mallopt () from /lib/tls/libc.so.6
#2  0xb7a02dcb in free () from /lib/tls/libc.so.6
#3  0xb7de27be in VSIFree (pData=0x8061ed8) at cpl_vsisimple.cpp:343
#4  0xb7dee9df in GDALDestroyWarpOptions (psOptions=0x8061ed8) at gdalwarper.cpp:752
#5  0xb7df79ac in GDALWarpOperation::WipeOptions (this=0xbffff54c) at gdalwarpoperation.cpp:249
#6  0xb7df86dc in ~GDALWarpOperation (this=0xbffff54c) at gdalwarpoperation.cpp:217
#7  0x0804b7b5 in main (argc=12, argv=0x804d430) at gdalwarp.cpp:685
(gdb) 

	I'm sending Mr. Warmerdam a link to the file in a private email.

	Tugrul Galatali





More information about the Gdal-dev mailing list