https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-09-03T18:45:06ZQGIS Issue TrackingQGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=924962018-09-03T18:45:06ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>Can you share the datasets? and to be clear, is the native QGIS raster calculator (now in the Processing toolbox) or else (i.e. the GDAL one)?</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=928832018-09-16T13:01:01ZAlessandro Pasotti
<ul></ul><p>I might be wrong but from the stacktrace it looks like a memory allocation error in memcpy, are you sure you are not running out of RAM?</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=929092018-09-17T07:09:55ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>I might be wrong but from the stacktrace it looks like a memory allocation error in memcpy, are you sure you are not running out of RAM?</p>
</blockquote>
<p>the "old" raster calculator (2.* implementation, not in processing) was known to eat all memory with large rasters, probably is the same issue.</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=955622018-11-08T12:31:41ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Please try on QGIS 3.4.1, if the issue is still valid change the affected version, thanks.</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=965862018-11-26T14:25:54ZAlessandro Pasotti
<ul><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li></ul> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=965872018-11-26T14:26:50ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li></ul><p>I can confirm that memcpy is to blame and a int type overflow is probably the root of the problem.</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=966622018-11-28T07:10:19ZAnonymous
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/da5a171377681747a23b0daf4776532cf69c3950" title="[gdal] Fix an int overflow issue with raster block read Fixes #19760 - Raster calculator crashes...">qgis|da5a171377681747a23b0daf4776532cf69c3950</a>.</p> QGIS Application - Bug report #19760: Raster calculator crashes QGIS 3https://issues.qgis.org/issues/19760?journal_id=966662018-11-28T07:35:08ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Thanks Alessandro for tackling this, it was MUCH needed.</p>