[QGIS-trac] [Quantum GIS] #2375: If there is any feature selected, QGIS crashes on exiting.

Quantum GIS qgis at qgis.org
Mon Jan 18 10:06:37 EST 2010


#2375: If there is any feature selected, QGIS crashes on exiting.
---------------------------------------------------------+------------------
   Reporter:  trapanator                                 |              Owner:  jef          
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  Python plugins and bindings                |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Windows                                    |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 I've wrote a python plugin that selects some features and views them on
 the map.

 I found that if there's a particular PostGIS layer and you select some
 features from a Shapefile Vector layer, exiting QGIS crashes.

 To test a plugin, you can download the "Find attribute plugin 0.3" and
 modify it in order to view the selected features. I'll attach it anyway.

 Steps to reproduce:

 1) create a PostGIS layer whith the attached code;
 2) open QGIS;
 3) add the PostGIS layer;
 4) add a line multistring shapefile vector layer (i.e. roads);
 5) use the Find By Attribute 0.3 plugin and modify it in order to view
 selected features
 6) exit QGIS by clicking on "X" of the window
 7) QGIS crashes

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