[QGIS-trac] Re: [Quantum GIS] #1452: crash loading big shapefile

Quantum GIS qgis at qgis.org
Sat Jan 10 08:04:15 EST 2009


#1452: crash loading big shapefile
--------------------------------------------------------------+-------------
        Reporter:  msieczka                                   |         Owner:  nobody       
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.1
       Component:  OGR Layer support                          |       Version:  HEAD         
      Resolution:                                             |      Keywords:               
Platform_version:                                             |      Platform:  Debian       
        Must_fix:  Yes                                        |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by msieczka):

 I have isolated the smalest single polygon that crashes Xorg when loaded
 to QGIS. It's 2.5 MB. You can download it at
 http://www.sieczka.org/tmp/feat_8.7z (0.5 MB). It's a subset of the big
 Shapefile I originaly reported about. I have 4 more such polygons (larger
 though) if needed.

 ogr2ogr can process the polygon just fine. It also renders OK with
 MapServer's shp2img. As well as QGIS with "Fix problems..." set ON in
 Options>Rendering set OFF.

 Yet it constantly crashes Xorg when loaded to QGIS with "Fix problems..."
 set ON. Differently than with the original big shapefile, if "Fix
 problems..." is set OFF there's no crash with this single polygon. After
 looking more into this, it showed that the original big shapefile crashes
 QGIS because the memory runs out.

 So probably two issues here - QGIS crashes when it runs out of memory with
 big shapefiles AND it makes Xorg crash rendering certain shapes.

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1452#comment:4>
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