Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#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 homann, 17 years ago

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?

comment:2 by homann, 17 years ago

Priority: majorcritical
Status: newassigned

comment:3 by homann, 17 years ago

Owner: homann removed
Status: assignednew

comment:4 by homann, 17 years ago

Resolution: fixed
Status: newclosed

Now checking allocation result. See r6598.

comment:5 by (none), 15 years ago

Milestone: Version 0.8.1

Milestone Version 0.8.1 deleted

Note: See TracTickets for help on using tickets.