[QGIS-trac] Re: [Quantum GIS] #777: crashes with python reference to destroyed objects (e.g exportToWkt() crashes when geom has been deleted)

Quantum GIS qgis at qgis.org
Sat Jul 24 19:29:09 EDT 2010


#777: crashes with python reference to destroyed objects (e.g exportToWkt()
crashes when geom has been deleted)
------------------------------------------------+---------------------------
   Reporter:  crschmidt                         |              Owner:  wonder       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Python plugins and bindings       |            Version:  Trunk        
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by brushtyler):

 No crashes in my Ubuntu 9.04, but I never get the correct results.

 I tried wkbType() on the same selected geometry a lot of times and I get
 different (and also strange) results:
 0, 16777216, 7, 187101, 92, 143587, ...

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