[QGIS-trac] [Quantum GIS] #3568: Bad Allocation when zooming

Quantum GIS qgis at qgis.org
Tue Mar 8 05:20:28 EST 2011


#3568: Bad Allocation when zooming
---------------------------------------------------------+------------------
   Reporter:  jrm                                        |              Owner:               
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Vectors                                    |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 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:[[BR]]

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

 [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))

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3568>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list