[GRASS-dev] raster query/r.what error with a r.external-linked raster
Helmut Kudrnovsky
hellik at web.de
Wed Mar 23 05:09:54 PDT 2016
wenzeslaus wrote
> On Tue, Mar 22, 2016 at 10:03 AM, Helmut Kudrnovsky <
> hellik@
> > wrote:
>
>>
>> as I'm not used to compile on Linux, what may be the command to
>> compile with -ggdb? configure? make?
>>
>
> It is a compiler flag and it can be set using before you run ./configure
> using the CFLAGS environmental variable, so e.g.
>
> export CFLAGS="-ggdb -Wall"
> ./configure ...
>
> see full examples here
>
> https://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu
(gdb) run -rf map=es_l1_1km at bugs coordinates=4395123.966942,2799025.206612
Starting program:
/home/bugs/dev/cpp/grass7_trunk/dist.x86_64-pc-linux-gnu/bin/r.what -rf
map=es_l1_1km at bugs coordinates=4395123.966942,2799025.206612
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4418090 in vtable for __cxxabiv1::__si_class_type_info ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(gdb) bt
#0 0x00007ffff4418090 in vtable for __cxxabiv1::__si_class_type_info ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1 0x00007fffed6778e3 in GDALRegister_VICAR () at vicardataset.cpp:824
#2 0x00007fffed494ded in GDALAllRegister () at gdalallregister.cpp:234
#3 0x00007ffff7bcf6af in Rast_init_gdal () at gdal.c:220
#4 0x00007ffff7bcf85d in Rast_get_gdal_link (
name=name at entry=0x7ffffffca990 "es_l1_1km",
mapset=mapset at entry=0x7ffffffcaa90 "bugs") at gdal.c:317
#5 0x00007ffff7bc6d49 in Rast__open_old (name=0x7ffffffca990 "es_l1_1km",
mapset=0x7ffffffcaa90 "bugs") at open.c:272
#6 0x00007ffff7bc7316 in Rast_open_old (name=<optimized out>,
mapset=<optimized out>) at open.c:116
#7 0x0000000000401c07 in main (argc=6639232, argv=0x7fffeda9434b)
at main.c:205
(gdb)
tested with
System Info
GRASS Version: 7.1.svn
GRASS SVN revision: 68112
Build date: 2016-03-23
Build platform: x86_64-pc-linux-gnu
GDAL: 2.0.2
PROJ.4: 4.8.0
GEOS: 3.4.2
SQLite: 3.8.7.1
Python: 2.7.9
wxPython: 3.0.1.1
Platform: Linux-3.16.0-4-amd64-x86_64-with-debian-8.3
-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/raster-query-r-what-error-with-a-r-external-linked-raster-tp5256308p5257987.html
Sent from the Grass - Dev mailing list archive at Nabble.com.
More information about the grass-dev
mailing list