Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#248 closed bug (fixed)

Qgis crashes on large shapefile

Reported by: Caleb O'Connell Owned by: rblazek
Priority: critical: causes crash or data corruption Milestone:
Component: Vectors Version: 0.8
Keywords: Crash Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Kubuntu (edgy) Awaiting user input: no

Description

When using Qgis, it crashes out with a seg fault when I'm loading a large shapefile. The file contains all the 911 roads in the state of Maine. They offer these files on a county by county basis, so it's not imperitive. The file is anyone is interested is at: http://apollo.ogis.state.me.us/data/state/e911rds_01062006s.zip

The crash out put is as follows: ESRI Shapefiles (*.shp *.SHP);;Spatial Data Transfer Standard (*catd.ddf *CATD.DDF);;MapInfo (*.mif *.tab *.MIF *.TAB);;Geography Markup Language (*.gml *.GML);; QgsComposer::saveWindowState QgsComposer::saveWindowState ScimInputContextPlugin() QInputContext: no input method context available QInputContext: no input method context available Adding field with name E911RDS_ID, decoded from UTF-8 Adding field with name FMSRC, decoded from UTF-8 Adding field with name FMPROCSS, decoded from UTF-8 Adding field with name FMUPDORG, decoded from UTF-8 Adding field with name FMSRCORG, decoded from UTF-8 Adding field with name FMUPDDAT, decoded from UTF-8 Adding field with name AMUPDORG, decoded from UTF-8 Adding field with name AMUPDDAT, decoded from UTF-8 Adding field with name SOURCE, decoded from UTF-8 Adding field with name E911, decoded from UTF-8 Adding field with name PREDIR, decoded from UTF-8 Adding field with name STREET, decoded from UTF-8 Adding field with name SUFFIX, decoded from UTF-8 Adding field with name POSTDIR, decoded from UTF-8 Adding field with name RDNAME, decoded from UTF-8 Adding field with name L_ADD_FROM, decoded from UTF-8 Adding field with name L_ADD_TO, decoded from UTF-8 Adding field with name R_ADD_FROM, decoded from UTF-8 Adding field with name R_ADD_TO, decoded from UTF-8 Adding field with name L_RANGE, decoded from UTF-8 Adding field with name R_RANGE, decoded from UTF-8 Adding field with name RANGE, decoded from UTF-8 Adding field with name TOWN, decoded from UTF-8 Adding field with name MEGIS_ID, decoded from UTF-8 Adding field with name READD, decoded from UTF-8 Adding field with name LCITY, decoded from UTF-8 Adding field with name RCITY, decoded from UTF-8 Adding field with name LESN, decoded from UTF-8 Adding field with name RESN, decoded from UTF-8 Adding field with name SHAPE_LEN, decoded from UTF-8 QObject::connect: No such signal QgsVectorDataProvider::repaintRequested() QObject::connect: (sender name: 'unnamed') QObject::connect: (receiver name: 'unnamed') vvvvvvvvvvvvvvvvv PROJ4 TEXT vvvvvvvvvvvvvvv +proj=utm +zone=19 +ellps=GRS80 +datum=NAD83 +units=m +no_defs PROJ4 TEXT QgsSpatialRefSys::createFromProj4 wholetext match on name failed, trying proj4string match

QgsSpatialRefSys::getRecord failed : users qgis.db not found

QgsSpatialRefSys::createFromProj4 globbing search for srsid from this proj string QgsSpatialRefSys::findMatchingProj -------> MATCH FOUND in srs.db srsid: 1477 QgsSpatialRefSys::createFromProj4 globbing search for srsid returned srsid: 1477 QgsSpatialRefSys::createFromProj4 wholetext match on name failed, trying proj4string match

QgsSpatialRefSys::getRecord failed : users qgis.db not found

QgsSpatialRefSys::createFromProj4 globbing search for srsid from this proj string QgsSpatialRefSys::findMatchingProj -------> MATCH FOUND in srs.db srsid: 1477 QgsSpatialRefSys::createFromProj4 globbing search for srsid returned srsid: 1477 QInputContext: no input method context available QInputContext: no input method context available Selection rectangle is 139786.8191001138766296,4745679.7750523472204804 : 857150.7744015250355005,5269185.7249983334913850 Setting spatial filter using POLYGON ((139786.81910011 4745679.77505235, 139786.81910011 5269185.72499833, 857150.77440153 5269185.72499833, 857150.77440153 4745679.77505235, 139786.81910011 4745679.77505235)) Segmentation fault

Change History (7)

comment:1 by lubaby, 18 years ago

Crashes also in 0.8.0 :-(

comment:2 by anonymous, 17 years ago

Milestone: Version 0.8 Release
Version: 0.70.8

comment:3 by rblazek, 17 years ago

Priority: majorcritical

comment:4 by rblazek, 17 years ago

Owner: changed from gsherman to rblazek

comment:5 by gsherman, 17 years ago

Must Fix for Release: Yes

comment:6 by wonder, 17 years ago

Resolution: fixed
Status: newclosed

This was caused with the fact that some of the features were 2.5D MultiLineStrings. WKB type of feature was reported as MultiLineString (without Z value), although in fact WKB type for the parts was LineString25D.

Fixed in r6072.

comment:7 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.