Opened 15 years ago

Last modified 14 years ago

#2056 closed bug

fTools polygon centroids crash qgis in case of errors in shapefile — at Version 1

Reported by: pcav Owned by: borysiasty
Priority: critical: causes crash or data corruption Milestone: Version 1.4.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description (last modified by pcav)

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

Change History (1)

comment:1 by pcav, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.