#5912 closed defect (fixed)
gdal_translate PostgreSQL segfault
Reported by: | martinl | Owned by: | Even Rouault |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | Utilities | Version: | svn-trunk |
Severity: | normal | Keywords: | gdal_translate, PostgreSQL |
Cc: |
Description (last modified by )
gdal_translate
fails when importing GeoTIFF (1) to PostGIS:
gdal_translate -of PostgreSQL dmt.tif PG:dbname=pokusnik Input file size is 19615, 11119 0ERROR 6: PG:dbname=pokusnik: SetGeoTransform() not supported for this dataset. ERROR 6: PG:dbname=pokusnik: Dataset does not support the SetProjection() method. Segmentation fault
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff732a9a3 in GDALDriver::DefaultCreateCopy (this=0x63d550, pszFilename=0x646270 "PG:dbname=pokusnik", poSrcDS=0x648cb0, bStrict=0, papszOptions=0x0, pfnProgress=0x7ffff73a0f00 <GDALTermProgress(double, char const*, void*)>, pProgressData=0x0) at gdaldriver.cpp:523 523 poDstBand->SetColorTable( poCT );
Change History (7)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
follow-up: 4 comment:2 by , 9 years ago
Owner: | changed from | to
---|
comment:3 by , 9 years ago
Description: | modified (diff) |
---|
comment:4 by , 9 years ago
Replying to rouault:
Not sure why you mention GRASS, but anyway we should error out cleanly.
Sorry,
s/GRASS/PostGIS/g
;-)
follow-up: 6 comment:5 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
trunk r28844 "DefaultCreateCopy(): error out cleanly when copying from a raster-only to a vector-only driver, or the reverse (#5912, trunk only)"
comment:6 by , 9 years ago
Replying to rouault:
trunk r28844 "DefaultCreateCopy(): error out cleanly when copying from a raster-only to a vector-only driver, or the reverse (#5912, trunk only)"
Thanks. Martin
Note:
See TracTickets
for help on using tickets.
Not sure why you mention GRASS, but anyway we should error out cleanly.