[QGIS-trac] [Quantum GIS] #1268: crash due to an unhandled GEOSException

Quantum GIS qgis at qgis.org
Tue Sep 2 10:59:32 EDT 2008


#1268: crash due to an unhandled GEOSException
---------------------------------------------------------+------------------
   Reporter:  msieczka                                   |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.0.0
  Component:  OGR Layer support                          |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  All                                        |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 QGIS trunk r9243, GEOS 3.0.0, QT 4.4.0, Debian testing amd64.

 While zooming around my various data (shapefiles and an SRTM in the
 original hgt format) QGIS crashed out of sudden, saying in it's last lines
 of output:

 {{{
 Warning: QString::arg: Argument missing: GEOS exception encountered: ,
 <³ó
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsgeometry.cpp: 70:
 (throwGEOSException) GEOS exception encountered:
 Warning: Qt has caught an exception thrown from an event handler. Throwing
 exceptions from an event handler is not supported in Qt. You must
 reimplement QApplication::notify() and catch all exceptions there.

 terminate called after throwing an instance of 'GEOSException'
 Aborted
 }}}

 Some more context before the crash:

 {{{
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 283: (render)   Scale dep. visibility enabled? 0
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 284: (render)   Input extent:
 -13638896.6873203646391630,-10303222.4935561791062355 :
 5769681.5712591772899032,7573984.2448347210884094
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaplayer.cpp: 323:
 (connectNotify) QgsMapLayer connected to 2drawingProgress(int,int)
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/core/qgscoordinatetransform.cpp: 360: (transformBoundingBox)
 Entering transformBoundingBox...
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/core/qgscoordinatetransform.cpp: 407: (transformBoundingBox)
 Projected extent: 495968.1790201322291978,278782.9114470463246107 :
 496785.5263534721452743,279693.5328877875581384
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/providers/ogr/qgsogrprovider.cpp: 360: (select) Setting spatial
 filter using POLYGON((495968.17902013 278782.91144705, 495968.17902013
 279693.53288779, 496785.52635347 279693.53288779, 496785.52635347
 278782.91144705, 495968.17902013 278782.91144705))
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/providers/ogr/qgsogrprovider.cpp: 323: (getNextFeature) Feature
 is null
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 261: (render) Rendering at layer item Data_layer20080902165046458
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 269: (render) If there is a QPaintEngine error here, it is caused by an
 emit call
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaplayer.cpp: 107:
 (name) returning name 'Data layer'
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 280: (render) Rendering layer Data layer
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 281: (render)   Layer minscale 1
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 282: (render)   Layer maxscale 1e+08
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 283: (render)   Scale dep. visibility enabled? 0
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaprenderer.cpp:
 284: (render)   Input extent: -0.1500000000000000,-0.1500000000000000 :
 236790.2799999999988358,883500.0000000000000000
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsmaplayer.cpp: 323:
 (connectNotify) QgsMapLayer connected to 2drawingProgress(int,int)
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/core/qgscoordinatetransform.cpp: 360: (transformBoundingBox)
 Entering transformBoundingBox...
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/core/qgscoordinatetransform.cpp: 407: (transformBoundingBox)
 Projected extent: 236053.6784320765582379,882728.7364222751930356 :
 236871.0813827015517745,883639.5299752112478018
 Debug: /home/shoofi/src/straight/qgis-
 trunk/src/providers/ogr/qgsogrprovider.cpp: 360: (select) Setting spatial
 filter using POLYGON((236053.67843208 882728.73642228, 236053.67843208
 883639.52997521, 236871.08138270 883639.52997521, 236871.08138270
 882728.73642228, 236053.67843208 882728.73642228))
 Warning: QString::arg: Argument missing: GEOS exception encountered: ,
 <³ó
 Debug: /home/shoofi/src/straight/qgis-trunk/src/core/qgsgeometry.cpp: 70:
 (throwGEOSException) GEOS exception encountered:
 Warning: Qt has caught an exception thrown from an event handler. Throwing
 exceptions from an event handler is not supported in Qt. You must
 reimplement QApplication::notify() and catch all exceptions there.

 terminate called after throwing an instance of 'GEOSException'
 Aborted
 }}}

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