Skip to content
Prev 16811 / 29559 Next

raster::writeRaster access violation

Hi,

I'm getting occasional crashes writing out GeoTIFFs.  For reference,
this is on Windows 7 32-bit, R 2.15.2 (x86), rgdal 0.7.22, and raster
2.0.31.  Windows is reporting an access violation from msvcrt.dll.
When the crash occurs, there is a temporary file in tempdir() and the
correctly written output file in the correct location.  It might
possibly be related to an earlier problem with GDAL.close, which Roger
so kindly fixed a few months back.  That thread is quoted below.

I have not been able to pin down a specific trigger or test case.  I'm
processing a number of rasters, and the error occurs on different
rasters each time I run things.  Suggestions on workarounds and how to
isolate the fault are welcome.

Oliver
On Fri, Sep 21, 2012 at 11:42 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote: