Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Daniel Evans
GDAL_CACHEMAX Jon From: Even Rouault mailto:even.roua...@spatialys.com>> Sent: 08 June 2020 10:41 To: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Cc: Jon Morris mailto:jon.mor...@jbarisk.com>> Subject: Re: [gdal-dev] Segmentation fault on BuildOverviews Jon, t

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
m: Even Rouault Sent: 08 June 2020 10:41 To: gdal-dev@lists.osgeo.org Cc: Jon Morris Subject: Re: [gdal-dev] Segmentation fault on BuildOverviews Jon, thanks for the report. I've just pushed a fix for that Even > Hello all, > > I think I've found an edge case in gdal

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Even Rouault
Jon, thanks for the report. I've just pushed a fix for that Even > Hello all, > > I think I've found an edge case in gdal.Dataset.BuildOverviews. I'm using > GDAL 3.0.4 and have found that some of our BuildOverviews tests were > crashing out with a seg fault. On investigation, it seems to be wh

[gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
Hello all, I think I've found an edge case in gdal.Dataset.BuildOverviews. I'm using GDAL 3.0.4 and have found that some of our BuildOverviews tests were crashing out with a seg fault. On investigation, it seems to be when COMPRESS_OVERVIEW is set to LZW, the height is greater than the width, a