[QGIS-trac] Re: [Quantum GIS] #2078: [Windows] adding a GRASS
raster created with r.external crashes QGIS
Quantum GIS
qgis at qgis.org
Sat Jan 9 11:24:42 EST 2010
#2078: [Windows] adding a GRASS raster created with r.external crashes QGIS
--------------------------------------------------------------+-------------
Reporter: pcav | Owner: rugginoso
Type: bug | Status: new
Priority: critical: causes crash or data corruption | Milestone: Version 1.5.0
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Windows
Must_fix: No | Status_info: 0
--------------------------------------------------------------+-------------
Changes (by lutra):
* cc: rblazek (added)
Comment:
I created a GRASS raster using r.external pointing to the raster available
in the qgis sample dataset. Called it "teste". Under windows xp qgis
crashes when adding it. The output returned by DebugView for Windows is
the following
{{{
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(34) :
(QgsGrassSelect::QgsGrassSelect) QgsGrassSelect() type = 2
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(203) :
(QgsGrassSelect::setMapsets) setMapsets()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(245) :
(QgsGrassSelect::setMaps) setMaps()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\providers\grass\qgsgrass.cpp(759) :
(QgsGrass::rasters) entered.
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\providers\grass\qgsgrass.cpp(796) :
(QgsGrass::rasters) mapsetPath = C:/Documents and
Settings/Gio/Desktop/qgis_sample_data/qgis_sample_data/grassdata/alaska/demo
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(340) :
(QgsGrassSelect::setLayers) setLayers()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(203) :
(QgsGrassSelect::setMapsets) setMapsets()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(245) :
(QgsGrassSelect::setMaps) setMaps()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\providers\grass\qgsgrass.cpp(759) :
(QgsGrass::rasters) entered.
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\providers\grass\qgsgrass.cpp(796) :
(QgsGrass::rasters) mapsetPath = C:/Documents and
Settings/Gio/Desktop/qgis_sample_data/qgis_sample_data/grassdata/alaska/demo
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(340) :
(QgsGrassSelect::setLayers) setLayers()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassselect.cpp(340) :
(QgsGrassSelect::setLayers) setLayers()
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\core\qgsmaplayer.cpp(55) :
(QgsMapLayer::QgsMapLayer) lyrname is 'teste'
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\core\qgsmaplayer.cpp(61) :
(QgsMapLayer::QgsMapLayer) layerName is 'teste'
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\core\raster\qgsrastershader.cpp(25) :
(QgsRasterShader::QgsRasterShader) called.
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\core\raster\qgsrastershaderfunction.cpp(24)
: (QgsRasterShaderFunction::QgsRasterShaderFunction) entered.
[2744] d:\progs\c\qgis-
build\src\qgis\qgis_unstable\src\core\qgsmaplayer.cpp(106) :
(QgsMapLayer::setLayerName) new name is 'teste'
}}}
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2078#comment:3>
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