[GRASS5] Re: [Pkg-grass-general] Re: QGIS and grass

Hamish hamish_nospam at yahoo.com
Wed Feb 9 03:04:10 EST 2005


[using DebianGIS GRASS, QGIS, etc packages from Alioth]
http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl?DebianGisRepository


QGIS segfault:
 gdb is not much use without debugging symbols, but maybe it helps.
 Both starting from outside of GRASS with "export GISBASE=/usr/lib/grass"
 and from starting qgis from within GRASS.

grass6beta2, libgrass0, qgis, qgis-grass-plugin packages from today's 
pkg-grass.alioth repo.


export GISBASE=/usr/lib/grass
gdb /usr/bin/qgis

(gdb) run
...

QGIS starts, click add GRASS raster from toolbar, set location to
 Spearfish57, mapset to PERMANENT, and map to roads; click "ok" and
 segfault...]


...
Loaded /usr/lib/qgis/spitplugin.so
QgsGrassPlugin::addRaster
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 28951)]
0x41dd839a in G_find_cell2 () from /usr/lib/grass/lib/libgrass_gis.so
(gdb) bt
#0  0x41dd839a in G_find_cell2 () from /usr/lib/grass/lib/libgrass_gis.so
#1  0x41dd8576 in G_find_file () from /usr/lib/grass/lib/libgrass_gis.so
#2  0x41dd8330 in G_find_cell () from /usr/lib/grass/lib/libgrass_gis.so
#3  0x41de90af in G_raster_map_type () from /usr/lib/grass/lib/libgrass_gis.so
#4  0x420e864f in GRASSRasterBand::GRASSRasterBand () from /usr/lib/gdal_GRASS.so
#5  0x00000000 in ?? ()
#6  0x412295d0 in ?? () from /usr/lib/libgeos.so.2
#7  0x00000000 in ?? ()
#8  0x41220138 in ?? () from /usr/lib/libgeos.so.2
#9  0x00000000 in ?? ()
#10 0x3ff00000 in ?? ()
#11 0x00000000 in ?? ()
#12 0x00000000 in ?? ()
#13 0x02987449 in ?? ()
#14 0x40737154 in ?? () from /usr/lib/libgdal.so.1
#15 0xbfffeba4 in ?? ()
#16 0x40016f88 in ?? ()
#17 0x00000002 in ?? ()
#18 0x01000001 in ?? ()
#19 0x0833d150 in ?? ()
#20 0x00000001 in ?? ()
#21 0x40a42ccc in ?? () from /usr/lib/libgdal.so.1
#22 0x01ffeba4 in ?? ()
#23 0x083369e8 in ?? ()
#24 0xbfffeb88 in ?? ()
#25 0x4087fb8f in VSIRewind () from /usr/lib/libgdal.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb) 



GRASS vectors work beautifully.


?,
Hamish




More information about the grass-dev mailing list