[QGIS-trac] Re: [Quantum GIS] #1424: split feature segfault

Quantum GIS qgis at qgis.org
Wed Nov 26 05:43:50 EST 2008


#1424: split feature segfault
--------------------------------------------------------------+-------------
        Reporter:  wonder                                     |         Owner:  mhugent      
            Type:  bug                                        |        Status:  new          
        Priority:  critical: causes crash or data corruption  |     Milestone:  Version 1.0.0
       Component:  Digitising                                 |       Version:  HEAD         
      Resolution:                                             |      Keywords:  split        
Platform_version:                                             |      Platform:  All          
        Must_fix:  No                                         |   Status_info:  0            
--------------------------------------------------------------+-------------
Comment (by wonder):

 Replying to [comment:3 msieczka]:
 > Not sure if that's relevant, but what are your snapping options? Do you
 rely on snapping settings from the general 'Options' menu or do you set
 them for that given layer in project properties? If the latter, do you
 also set 'Topological editing' and 'Avoid intersections'?

 I use general snapping options, no topological editing, neither avoid
 intersections. But shouldn't really matter, the crash is somewhere deep
 inside splitting routines.


 > Can you post a backtrace?

 {{{
 #0  0x0831c349 in vtable for __cxxabiv1::__si_class_type_info ()
 #1  0x08be8f20 in ?? ()
 #2  0xb73bdf63 in QgsGeometry::splitPolygonGeometry (this=0x83724e0,
 splitLine=0x8369698, newGeometries=@0xbf95aeb0) at
 /home/wonder/qgis/svn/src/core/qgsgeometry.cpp:4909
 #3  0xb73be95f in QgsGeometry::splitGeometry (this=0x83724e0,
 splitLine=@0x85c820c, newGeometries=@0xbf95aeb0, topological=false,
 topologyTestPoints=@0xbf95aeac)
     at /home/wonder/qgis/svn/src/core/qgsgeometry.cpp:3187
 #4  0xb742448c in QgsVectorLayer::splitFeatures (this=0xb1328fd0,
 splitLine=@0x85c820c, topologicalEditing=false) at
 /home/wonder/qgis/svn/src/core/qgsvectorlayer.cpp:1721
 #5  0x08184f22 in QgsMapToolSplitFeatures::canvasReleaseEvent
 (this=0x85c81e0, e=0xbf95b4d8) at
 /home/wonder/qgis/svn/src/app/qgsmaptoolsplitfeatures.cpp:82
 #6  0xb72a50b3 in QgsMapCanvas::mouseReleaseEvent (this=0x85118b0,
 e=0xbf95b4d8) at /home/wonder/qgis/svn/src/gui/qgsmapcanvas.cpp:774
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1424#comment:4>
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