[GRASS-dev] [GRASS GIS] #3365: r.in.gdal: crash on large dataset
GRASS GIS
trac at osgeo.org
Tue Jul 4 12:41:16 PDT 2017
#3365: r.in.gdal: crash on large dataset
----------------------+---------------------------------
Reporter: neteler | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.2
Component: Raster | Version: svn-releasebranch72
Resolution: | Keywords: r.in.gdal
CPU: x86-64 | Platform: Linux
----------------------+---------------------------------
Comment (by neteler):
I got an idea how to more easily reproduce the problem with less data: it
is sufficient to only download the four corner tiles and create a VRT from
it:
{{{
# download tiles
wget -c https://storage.googleapis.com/earthenginepartners-
hansen/GFC-2015-v1.3/Hansen_GFC-2015-v1.3_loss_50S_170E.tif
wget -c https://storage.googleapis.com/earthenginepartners-
hansen/GFC-2015-v1.3/Hansen_GFC-2015-v1.3_loss_50S_180W.tif
wget -c https://storage.googleapis.com/earthenginepartners-
hansen/GFC-2015-v1.3/Hansen_GFC-2015-v1.3_loss_80N_170E.tif
wget -c https://storage.googleapis.com/earthenginepartners-
hansen/GFC-2015-v1.3/Hansen_GFC-2015-v1.3_loss_80N_180W.tif
# create VRT
gdalbuildvrt forest_loss_corner_tiles.vrt
Hansen_GFC-2015-v1.3_loss_50S_170E.tif
Hansen_GFC-2015-v1.3_loss_50S_180W.tif
Hansen_GFC-2015-v1.3_loss_80N_170E.tif
Hansen_GFC-2015-v1.3_loss_80N_180W.tif
# import
r.in.gdal input=forest_loss_corner_tiles.vrt
output=loss_global_forest_corner_tiles
Segmentation fault (core dumped)
}}}
Looks like an overflow with the large amount of rows/cols.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3365#comment:3>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list