Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when exporting rendered raster to EPSG:3857 #33801

Closed
HenrikJanPersson opened this issue Jan 14, 2020 · 4 comments · Fixed by #33867
Closed

Crash when exporting rendered raster to EPSG:3857 #33801

HenrikJanPersson opened this issue Jan 14, 2020 · 4 comments · Fixed by #33867
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Rasters Related to general raster layer handling (not specific data formats) Windows Related to Windows operating system

Comments

@HenrikJanPersson
Copy link

User Feedback

Loaded a GeoTIFF which I colorized using pseudo-colors.
Wanted to export the rendered image, but in the web projection epsg:3857, which appears to cause QGIS to crash. Exporting in for example epsg:3006 works perfect.
Have Qgis installed through osgeo4w64.

Report Details

Crash ID: 785baf5e21cce063fdd499b2efd77b76cbf0ad7e

Stack Trace

QgsRasterBlock::color qgsrasterblock.h:271
QgsRasterFileWriter::writeImageRaster qgsrasterfilewriter.cpp:664
QgsRasterFileWriter::writeRaster qgsrasterfilewriter.cpp:151
QgsRasterFileWriterTask::run qgsrasterfilewritertask.cpp:59
QgsTask::start qgstaskmanager.cpp:77
QThreadPoolPrivate::reset :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.10.1-A Coru�a
QGIS code revision: ef24c52
Compiled against Qt: 5.11.2
Running against Qt: 5.11.2
Compiled against GDAL: 3.0.2
Running against GDAL: 3.0.2

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.18362

@HenrikJanPersson HenrikJanPersson added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jan 14, 2020
@gioman
Copy link
Contributor

gioman commented Jan 15, 2020

@HenrikJanPersson please attach/link a sample of a raster we can use to replicate this issue.

@gioman gioman added Feedback Waiting on the submitter for answers Rasters Related to general raster layer handling (not specific data formats) Crash/Data Corruption labels Jan 15, 2020
@HenrikJanPersson
Copy link
Author

the file limit size was 10 mb, and when I cut only a very small part of the raster, qgis does not crash. I have therefore cut a reasonably small part of the raster, which is ~70mb, which still causes qgis to crash.
It is available here until 22 jan 2020: https://transfernow.net/70863911sy7j

@gioman
Copy link
Contributor

gioman commented Jan 16, 2020

@HenrikJanPersson Crash confirmed on Windows, not on Linux. QGIS 3.10.1 in both cases.

@gioman gioman added Windows Related to Windows operating system and removed Feedback Waiting on the submitter for answers labels Jan 16, 2020
@gioman
Copy link
Contributor

gioman commented Jan 16, 2020

test.zip

@gioman gioman changed the title QGIS crashes when exporting rendered raster in other projection (epsg:3857) Crash when exporting rendered raster to EPSG:3857 Jan 16, 2020
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Rasters Related to general raster layer handling (not specific data formats) Windows Related to Windows operating system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants