[gdal-dev] Gdal_translate terminated - buffer overflow detected
Ondrej Chlup
chlup.ondra at gmail.com
Thu Mar 28 08:49:21 PDT 2013
Hi,
I was using GDAL version 1.9.1 to get NTv2 grid from raster in PostGIS
using gdal_translate. I got the error: 0*** buffer overflow detected ***:
gdal_translate terminated
I was trying to use GDAL version 1.9.2 but with the same error. Is there
any way how to fix it?
Thanks,
Ondrej
Code:
gdal_translate -of NTv2 "PG:dbname='dataz' schema='public'
table='rast_ntv_b' column='rast_ntv' mode='2'" rast_ntv4.gsb
Input file size is 20, 20
0*** buffer overflow detected ***: gdal_translate terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb6b09045]
/lib/i386-linux-gnu/libc.so.6(+0x102e1a)[0xb6b07e1a]
/lib/i386-linux-gnu/libc.so.6(+0x10214d)[0xb6b0714d]
/usr/lib/libgdal.so.1(_ZN20PostGISRasterDataset9IRasterIOE10GDALRWFlagiiiiPvii12GDALDataTypeiPiiii+0x3a8)[0xb708eef8]
/usr/lib/libgdal.so.1(_ZN11GDALDataset8RasterIOE10GDALRWFlagiiiiPvii12GDALDataTypeiPiiii+0x5b1)[0xb715d581]
/usr/lib/libgdal.so.1(GDALDatasetCopyWholeRaster+0x4ef)[0xb7187b1f]
/usr/lib/libgdal.so.1(_ZN10GDALDriver17DefaultCreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_+0x67d)[0xb71622ed]
/usr/lib/libgdal.so.1(_ZN10GDALDriver10CreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_+0x173)[0xb7162683]
/usr/lib/libgdal.so.1(GDALCreateCopy+0x53)[0xb7162703]
gdal_translate[0x804ca0c]
gdal_translate[0x8049b41]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb6a1e4d3]
gdal_translate[0x8049b65]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130328/e8495007/attachment.html>
More information about the gdal-dev
mailing list