#574 closed bug (fixed)
Crash when opening .tif when projection is on
Reported by: | homann | Owned by: | |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Projection Support | Version: | 0.8 |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
1) Start qgis
2) Turn on projection with default WGS84
3) Load topo.tif (see #561)
4) Out of memory abort
Change History (5)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Priority: | major → critical |
---|---|
Status: | new → assigned |
comment:3 by , 17 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:4 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Now checking allocation result. See r6598.
Note:
See TracTickets
for help on using tickets.
Also crashes trunk. The view becomes a VERY zoomed in version of the raster. The raster reading algorithm scales the raster *many* times to achieve the zoom in (0.000008 map unit per pixel). As the entire raster is read into memory, a *huge* buffer is needed. In fact, almost a Petabyte is needed, a number so big it can't be handled in a 32 bit int.
To fix this, we need to partially read rasters into memory. Or a way to decide if they should be read at all (depending on zoom-level?). Or both?