Bug report #15444
QGIS crashes with NAN values
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | 2.16.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | Yes | Copied to github as #: | 23370 |
Description
I have some monthly precipitation raster layers1 with "NAN" values where there isn't calculated values.
When one of this layers is loaded, it's showed fine in grey scale, but when I try styling a raster layer with pseudocolor, QGIS crashes. Tryed in Ubuntu 16.04 - QGIS 2.16.1 I got "segment violation". In Windows 7 - QGIS 2.16.0, "Minidump Written to C"
I've attached a file for testing.
Associated revisions
Don't crash raster shader with nan or inf values (fix #15444)
Don't crash raster shader with nan or inf values (fix #15444)
(cherry-picked from 34ebe124ff62956095941b5bb76809c6ba4b1a0f)
Don't crash raster shader with nan or inf values (fix #15444)
(cherry-picked from 34ebe124ff62956095941b5bb76809c6ba4b1a0f)
History
#1 Updated by Nyall Dawson over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 34ebe124ff62956095941b5bb76809c6ba4b1a0f.