[QGIS-trac] [Quantum GIS] #2741: (linux) qgis crashes when saving project with a GRASS raster after having closed the mapset

Quantum GIS qgis at qgis.org
Fri May 21 16:19:55 EDT 2010


#2741: (linux) qgis crashes when saving project with a GRASS raster after having
closed the mapset
---------------------------------------------------------+------------------
   Reporter:  lutra                                      |              Owner:  rblazek      
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.5.0
  Component:  GRASS                                      |            Version:  HEAD         
   Keywords:                                             |   Platform_version:               
   Platform:  Debian                                     |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 Probably duplicate of #2740

 Seen under ubuntu Linux and qgis trunk but not under windows XP

 Steps to reproduce:

 *) create a mapset (tested with a few projected crs)

 *) in the qgis project properties choose the same crs. Not necessary to
 enable on the fly reprojection as in #2740

 *) add a few GRASS layers, at least one of them a raster

 *) if you save the project with the mapset still open the terminal will
 return


 {{{
 Warning: Object::connect: No such signal
 QgsRasterDataProvider::statusChanged( QString ) in
 /home/gio/qgis_unstable/src/core/raster/qgsrasterlayer.cpp:228

 }}}


 *) if before saving you close the GRASS mapset, then qgis will crash with

 {{{

         GDAL Error 6: No translation an empty SRS to PROJ.4 format is
 known.
 Segmentation fault
 }}}


 *) if you then try to reopen the project it will fail with


 {{{
 Project file read error: unexpected end of file at line 1 column 1 for
 file /home/gio/Desktop/teste4.qgs
 }}}

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