[QGIS-trac] [Quantum GIS] #1741: removing a GRASS vector that is loaded in QGIS causes a crash

Quantum GIS qgis at qgis.org
Fri Jun 19 09:07:00 EDT 2009


#1741: removing a GRASS vector that is loaded in QGIS causes a crash
---------------------------------------------------------+------------------
   Reporter:  pcav                                       |              Owner:  rugginoso    
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.2.0
  Component:  GRASS                                      |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  No           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 1. load a GRASS vector in QGIS

 2. remove it from GRASS browser: you get
   Cannot delete map prova_random
   command: prova_random g.remove
   vect=prova_random

 from the shell:

   Warning: QString::arg: Argument missing: <br>command: prova_random
 g.remove<br>vect=prova_random<br>, Removing vector <prova_random>
   WARNING: Unable to remove directory
 '/home/Documenti/datigrass//CEA_location/Cea_GRASS/.tmp/ursus/21573.0'
   WARNING: couldn't be removed
   WARNING: <prova_random> nothing removed

 3. remove it from QGIS canvas

 4. remove it again from GRASS browser; you get a crash. On the shell you
 can read:

   Fatal: ASSERT: "i < mChildren.size()" in file
 /storage/build/qgis_unstable/src/plugins/grass/qgsgrassmodel.cpp, line 441
   Abortito

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