Opened 14 years ago

Closed 13 years ago

#3078 closed bug (duplicate)

Scotese's shapefiles causes Tethys to crash

Reported by: asierra Owned by: jef
Priority: critical: causes crash or data corruption Milestone: Version 1.7.0
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: no

Description (last modified by jef)

Qgis 1.5.0 crashes everytime I try to load a shapefile from the Earth System History GIS collection from C. R. Scotese ( http://www.scotese.com/ ). The same files loaded fine with previous versions of Qgis. If necessary I can send sample shape files to developers. Below is a report from console:

Process: Qgis [7247]
Path: /Applications/Qgis.app/Contents/MacOS/Qgis
Identifier: org.qgis.qgis
Version: 1.5.0 (1.5.0-Tethys)
Code Type: X86-64 (Native)
Parent Process: launchd [179]

Date/Time: 2010-10-02 11:55:50.975 -0500
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6

Interval Since Last Report: 5359794 sec
Crashes Since Last Report: 33
Per-App Interval Since Last Report: 33988 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: 8E6277AC-C630-44E0-BFB0-88A9D2DAB8F3

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000048
Crashed Thread: 0 Dispatch queue: com.apple.main-thread



10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Python support ENABLED :-)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : fTools (package: fTools)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : GdalTools (package: GdalTools)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : MapServer Export (package: mapserver_export)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] /Applications/Qgis.app/Contents/MacOS/../Resources/python/osgeo/gdal.py:80: DeprecationWarning: gdalconst.py was placed in a namespace, it is now available as osgeo.gdalconst
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] DeprecationWarning)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Plugin Installer (package: plugin_installer)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : 1-Band Raster Colour Table (package: bcccoltbl)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Colour Scale Bar (package: bccscbar)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Shapefile Viewer (package: bccSHPV)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Freehand editing (package: freehandEditing)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Geoprocessing (package: geoprocessing)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Improved Polygon Capturing (package: improvedpolygoncapturing)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Numerical Vertex Edit (package: numericalVertexEdit)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Profile (package: profiletool)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : qgsAffine (package: qgsAffine)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Rectangles (package: rectangles)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : RGB Composition Plugin (package: rgb)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : DEM relief shader (package: shadedrelief)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Split Feature (package: splitfeature)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Table Manager (package: tablemanager)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : TopoColour (package: topocolour)
10/2/10 11:57:16 AM [0x0-0x201201].org.qgis.qgis[7264] Loaded : Value Tool (package: valuetool)
10/2/10 11:57:17 AM com.apple.launchd.peruser.501[179] ([0x0-0x201201].org.qgis.qgis[7264]) Job appears to have crashed: Segmentation fault

Attachments (1)

sample.zip (161.1 KB ) - added by asierra 14 years ago.
Sample shape files that make qgis crash in snow leopard

Download all attachments as: .zip

Change History (7)

comment:1 by lutra, 14 years ago

please attach sample data

comment:2 by jef, 14 years ago

Description: modified (diff)

by asierra, 14 years ago

Attachment: sample.zip added

Sample shape files that make qgis crash in snow leopard

comment:3 by lutra, 14 years ago

Component: Build/InstallVectors
Must Fix for Release: NoYes
Owner: changed from nobody to jef
Platform: OS XAll
Version: 1.5.0Trunk

it is confirmed, the shapefile is pretty "dirty", you can confirm by importing it in GRASS and you'll see a lot of slivers and ovrlapped polygons. Nevertheless QGIS should not crash.

Message is

ERROR 1: Corrupted .shp file : shape 182 : panPartStart[2] = 114, nVertices = 114
Segmentation fault

comment:4 by pcav, 13 years ago

Is this still true for qgis 1.6? Which GEOS version?

comment:5 by aghisla, 13 years ago

It is true for QGIS trunk, r15304. QGIS crashes with the error signaled by lutra.

comment:6 by jef, 13 years ago

Resolution: duplicate
Status: newclosed

most likely a duplicate of #2837 (upstream bug already fixed in GDAL 1.7.3)

Note: See TracTickets for help on using tickets.