[QGIS-trac] [Quantum GIS] #2056: fTools polygon centroids crash qgis in case of errors in shapefile

Quantum GIS qgis at qgis.org
Fri Nov 6 11:00:34 EST 2009


#2056: fTools polygon centroids crash qgis in case of errors in shapefile
---------------------------------------------------------+------------------
   Reporter:  pcav                                       |              Owner:  borysiasty   
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.4.0
  Component:  Python plugins and bindings                |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 When trying to calculate centroids from a large and dirty shapefile, qgis
 throws some errors on the console and crashes:
 ERROR 1: Corrupted .shp file : shape 5305 : panPartStart[1] = 970662609,
 nVertices = 93
 ERROR 1: Corrupted .shp file : shape 9559, nPoints=6, nParts=1,
 nEntitySize=136.
 ERROR 1: Corrupted .shp file : shape 51001, nPoints=22, nParts=1,
 nEntitySize=168.
 ERROR 1: Corrupted .shp file : shape 57986, nPoints=16, nParts=1,
 nEntitySize=200.
 ERROR 1: Corrupted .shp file : shape 74444, nPoints=36, nParts=1,
 nEntitySize=408.
 Warning: QPixmap: It is not safe to use pixmaps outside the GUI thread
 Warning: qgis.bin: Fatal IO error: client killed
 Segmentation fault

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2056>
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