[Qgis-developer] Crash in new GRASS plugin?

Radim Blazek radim.blazek at gmail.com
Thu May 21 00:13:50 PDT 2015


2015-05-20 19:28 GMT+02:00 Paolo Cavallini <cavallini at faunalia.it>:
> src/app/pluginmanager/qgspluginmanager.cpp: 578: (pluginItemChanged)
> [1369ms]  Loading plugin: cpp:libgrassplugin6
> src/app/pluginmanager/qgspluginmanager.cpp: 230: (loadPlugin) [0ms]
> Loading C++ plugin: /usr/lib/qgis/plugins/libgrassplugin6.so
> src/providers/grass/qgsgrass.cpp: 483: (error_routine) [4ms]
> error_routine (fatal = 1): G_getenv(): Variable GISDBASE not set
> src/providers/grass/qgsgrass.cpp: 489: (error_routine) [0ms] fatal ->
> longjmp
> Errore di segmentazione

AFAICT, it can only happen if you have GISRC set, but the file does
not exist or it is corrupted. Try to unset GISRC envar and it should
run.

It should not crash of course, the exception is now caught (8c8a123).

BTW: "qgsgrass.cpp: 483: (error_routine), [4ms]  error_routine (fatal
= 1): G_getenv(): Variable GISDBASE not set" says that the build is
rather old, the last qgsgrass.cpp commit with that row was 7091d3, May
18. Please use a fresh build if possible.

Radim

> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list