Opened 13 years ago

Last modified 13 years ago

#3568 new bug

Bad Allocation when zooming

Reported by: jrm Owned by:
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

Description

Hi, r15306 crashes with a bad allocation message when zooming on a specific layer in a specific project.

It happens on one sqlite vector layer (town's borders) and any layers created from it with the 'save selection', if I open these layers in a new project there is no problems but if I delete them and add them back in the original project, then it crash again.

Changing the symbology doesn't solve it, even with the default style.

Here is how to reproduce the bug :

  1. open the project "badallocation_testcase.qgs"
  2. place the view on a polygon and zoom up to 1:606

Here is the last messages before the error window (DebugView) ->

[2456] d:\progs\c\qgis_unstable\src\core\qgsmaplayer.cpp(868) : (QgsMapLayer::setCacheImage) cache Image set[[BR]]

[2456] d:\progs\c\qgis_unstable\src\core\qgsvectorlayer.cpp(932) : (QgsVectorLayer::draw) rendering v2:

[2456] SINGLE: FILL SYMBOL (1 layers) color 109,54,141,255

[2456] d:\progs\c\qgis_unstable\src\providers\ogr\qgsogrprovider.cpp(631) : (QgsOgrProvider::select) Setting spatial filter using POLYGON((611409.33496266 7065156.77153854, 611409.33496266 7065289.14950930, 611557.47585942 7065289.14950930, 611557.47585942 7065156.77153854, 611409.33496266 7065156.77153854))

Change History (3)

comment:1 by jrm, 13 years ago

I can't join the file for now due to the size limit, I'll upload it this evening

comment:2 by jrm, 13 years ago

the test files can be downloaded there -> http://www.megaupload.com/?d=8HQKZ65E

comment:3 by lutra, 13 years ago

can't replicate on trunk/linux

Note: See TracTickets for help on using tickets.