[QGIS-trac] Re: [Quantum GIS] #2028: [Vista] GRASS plugin crashes QGIS when running the r.colors, r.null, v.dissolve modules

Quantum GIS qgis at qgis.org
Sat Jan 9 12:23:35 EST 2010


#2028: [Vista] GRASS plugin crashes QGIS when running the r.colors, r.null,
v.dissolve modules
--------------------------------------------------------------+-------------
        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            
--------------------------------------------------------------+-------------
Comment (by lutra):

 Tested under Vista 32 bit with qgis 1.4.
 Opened the grass location available in the qgis sample dataset, added the
 raster available in the "demo" mapset.

 When applying r.colors.table qgis crashes and dgbview returns


 {{{
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1014) :
 (QgsGrassModule::pixmap) path = C:/OSGeo4W/apps/qgis-
 dev/./grass/modules/r.colors.table
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1130) :
 (QgsGrassModule::run) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(791) :
 (QgsGrassModuleStandardOptions::ready) entered.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(2528) :
 (QgsGrassModuleInput::ready) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(2532) :
 (QgsGrassModuleInput::ready) count = 2
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1962) :
 (QgsGrassModuleOption::ready) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(940) :
 (QgsGrassModuleStandardOptions::requestsRegion) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(2220) :
 (QgsGrassModuleInput::useRegion) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(956) :
 (QgsGrassModuleStandardOptions::usesRegion) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(2220) :
 (QgsGrassModuleInput::useRegion) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(971) :
 (QgsGrassModuleStandardOptions::usesRegion) NO usesRegion()
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(600) :
 (QgsGrassModuleStandardOptions::checkOutput) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(609) :
 (QgsGrassModuleStandardOptions::checkOutput) opt->key() = color
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(765) :
 (QgsGrassModuleStandardOptions::output) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(774) :
 (QgsGrassModuleStandardOptions::output) opt->key() = color
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1222) :
 (QgsGrassModule::run) mOutputVector.size() = 0
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(765) :
 (QgsGrassModuleStandardOptions::output) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(774) :
 (QgsGrassModuleStandardOptions::output) opt->key() = color
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1224) :
 (QgsGrassModule::run) mOutputRaster.size() = 0
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1233) :
 (QgsGrassModule::run) option: map=gtopo30 at demo
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1233) :
 (QgsGrassModule::run) option: color=byg
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1263) :
 (QgsGrassModule::run) command: r.colors map=gtopo30 at demo color=byg
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(56) :
 (QgsGrassModule::findExec) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(56) :
 (QgsGrassModule::findExec) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(626) :
 (QgsGrassModuleStandardOptions::freezeOutput) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(635) :
 (QgsGrassModuleStandardOptions::freezeOutput) opt->key() = color
 [2076] Invalid parameter passed to C runtime function.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1434) :
 (QgsGrassModule::readStderr) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1377) :
 (QgsGrassModule::finished) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(1379) :
 (QgsGrassModule::finished) exitCode = 0
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(695) :
 (QgsGrassModuleStandardOptions::thawOutput) called.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\plugins\grass\qgsgrassmodule.cpp(704) :
 (QgsGrassModuleStandardOptions::thawOutput) opt->key() = color
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(212) :
 (QgsMapRenderer::render) ========== Rendering ==========
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(236) :
 (QgsMapRenderer::render) Starting to render layer stack.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(323) :
 (QgsMapRenderer::render) Rendering at layer item gtopo3020100109171834210
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(331) :
 (QgsMapRenderer::render) If there is a QPaintEngine error here, it is
 caused by an emit call
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(342) :
 (QgsMapRenderer::render) Rendering layer gtopo30
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(343) :
 (QgsMapRenderer::render)   Layer minscale 0
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(344) :
 (QgsMapRenderer::render)   Layer maxscale 1e+08
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(345) :
 (QgsMapRenderer::render)   Scale dep. visibility enabled? 0
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\qgsmaprenderer.cpp(346) :
 (QgsMapRenderer::render)   Input extent:
 -7117600.0000000000000000,1367760.0000000000000000 :
 4897040.0000000000000000,7809680.0000000000000000
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(1418) :
 (QgsRasterLayer::draw) entered. (renderContext)
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(1424) :
 (QgsRasterLayer::draw) checking timestamp.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(5423) :
 (QgsRasterLayer::update) entered.
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(482) :
 (QgsRasterLayer::lastModified)
 name=C:/Users/gio/Downloads/qgis_sample_data/qgis_sample_data/grassdata/alaska/demo/cellhd/gtopo30
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(544) :
 (QgsRasterLayer::lastModified) last modified = Sat Jan 9 17:19:48 2010
 [3820] d:\progs\c\qgis-
 build\src\qgis\qgis_unstable\src\core\raster\qgsrasterlayer.cpp(5427) :
 (QgsRasterLayer::update) Outdated -> reload

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2028#comment:8>
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