Bug report #19445
crash when zooming in DEM
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | 3.0.3 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 27273 |
Description
User Feedback¶
zooming in
Report Details¶
Crash ID: 5fe87e1d589013065bc457c1527801c73b2dab97
Stack Trace
QgsColorRampShader::shade : QgsSingleBandPseudoColorRenderer::block : QgsBrightnessContrastFilter::block : QgsHueSaturationFilter::block : QgsRasterResampleFilter::block : QgsRasterProjector::block : QgsRasterIterator::readNextRasterPart : QgsRasterDrawer::draw : QgsRasterLayerRenderer::render : QgsMapRendererParallelJob::renderLayerStatic : QgsMapRendererParallelJob::renderingFinished : QgsArchive::zip : QgsImageOperation::flipImage : QtConcurrent::ThreadEngineBase::run : QThreadPoolPrivate::reset : QThread::start : BaseThreadInitThunk : RtlUserThreadStart :
QGIS Info
QGIS Version: 3.0.3-Girona
QGIS code revision: 8a899c8758
Compiled against Qt: 5.9.2
Running against Qt: 5.9.2
Compiled against GDAL: 2.2.4
Running against GDAL: 2.2.3
System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 6.1.7601
Associated revisions
Fix raster stats calculation for very small extents compared with
pixel size, when a sample size is set
Refs #19445
Fix potential crash in color ramp shader
Fixes #19445
Fix raster stats calculation for very small extents compared with
pixel size, when a sample size is set
Refs #19445
(cherry-picked from 34b21918)
History
#1 Updated by Giovanni Manghi over 6 years ago
- Category changed from Actions to Rasters
- Status changed from Open to Feedback
You must test 3.2, if it persists please attach sample project and data. Thanks.
#2 Updated by Andrew McAninch over 6 years ago
- File test.zip added
I get this crash also, in QGIS 3.2 nighlty on windows7. It happens with a raster layer with specific symbology settings: single band pseudocolor, min/max set to a standard deviation and the "statistics extent" set to updated canvas. Then QGIS will crash when I zoom in 1:8 or more. Im guessing it may have to do with trying to calc the SD with too few cells in the extent? The crash also happens if you zoom in on a raster without those settings and then paste a bad symbology. no zooming required.
#3 Updated by Nyall Dawson over 6 years ago
Thanks Andrew - confirmed.
#4 Updated by Nyall Dawson over 6 years ago
- Pull Request or Patch supplied changed from No to Yes
#5 Updated by Nyall Dawson over 6 years ago
- % Done changed from 0 to 100
- Status changed from Feedback to Closed
Applied in changeset qgis|f3650e6bb484f3e89a27d9444e2069d0a465732c.