[GRASS-user] v.mkgrid - segmentation fault

Paolo Craveri pcraveri at gmail.com
Tue Nov 11 16:01:29 EST 2008


Hi all,

2008/11/10 Hamish <hamish_b at yahoo.com>:
>
> you'll have to run a backtrace to find out:
>  http://grass.osgeo.org/wiki/GRASS_Debugging#Using_GDB
>

I compiled grass with:
CFLAGS="-ggdb -Wall -Werror-implicit-function-declaration"

then I tried:

 gdb `which v.mkgrid`
(gdb) run "map=vectgrid grid=12,12 position=0,0 box=1,1 --overwrite"
Starting program: /usr/local/grass-6.4.svn/bin/v.mkgrid "map=vectgrid
grid=12,12 position=0,0 box=1,1 --overwrite"
[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4

ERROR: Required parameter <grid> not set:
    (Number of rows and columns in grid).

Description:
 Creates a GRASS vector map of a user-defined grid.

Keywords:
 vector

Usage:
...etc. etc.

It seems strange to me; I set grid in command line.

I don't know gdb at all; what else can I do to understand segmentation
fault in v.mkgrid?

Many thanks in advance.

Paolo


More information about the grass-user mailing list