Re: [Pkg-grass-general] Re: QGIS and grass
I believe these segfaults are due to things being in flux. I'm changing
the name of the libgrass package with practically every upload. Right
now I'm working on getting grass into unstable with the help of my
sponsor. He said since there are no sonames that the packages should be
named ligrass and libgrass-dev. But I plan to work on a patch for grass
to add sonames that would make them ligrass0 and libgrass0-dev again. I
don't think Silke should bother uploading a new libgdal1-grass until
this is all sorted out.
I also apologize for making the recent upgrades difficult. The changing
library names should be dealt with gracefully, but since these are
experimental packages you have to suffer as a result my sloth and
incompetence :)
In the meantime you can rebuild your libgdal1-grass yourself quite
quickly:
apt-get source libgdal1-grass
cd ligdal-grass
vi debian/control
- edit library names appropriately
dpkg-buildpackage -rfakeroot
cd ..
su root
dpkg -i libgdal1-grass_1.2.5-0.dgis.unstable.1_i386.deb
Steve
On Wed, 2005-02-09 at 21:04 +1300, Hamish wrote:
> [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
>
> _______________________________________________
> Pkg-grass-general mailing list
> Pkg-grass-general@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-general
Reply to: