[GRASS-user] r.li help

Markus Neteler neteler at osgeo.org
Sun Aug 16 21:13:50 EDT 2009


On Mon, Aug 17, 2009 at 2:59 AM, Nathan Lemoine<lemoine.nathan at gmail.com> wrote:
> I've tried running gdb on the r.li.patchnum program, but I have no debugging
> or programming experience, so I can only report the error messages I've
> received. running the program normally, without of gdb, gets me the error:
>
> Illegal filename. Character <> not allowed.
> Illegal filename. Character <> not allowed.
> Illegal filename. Character <> not allowed.
> WARNING: Unable to open header file for raster map <@(null)>
> CHILD[pid = 326]: unable to open  mask ... continue without!!!
>
> this error message typically just repeats itself.

Did you compile yourself? If yes, could you update from SVN
and recompile r.li*? I added a debug statement which you
can activate like this:

g.gisenv set=DEBUG=1

Then it should say more about this config file and its path.

> running the program with gdb gets me:
>
> Starting program:
> /Applications/GRASS-6.4.app/Contents/MacOS/bin/r.li.patchnum .li.patchnum
> map=northrast conf=whole out=test
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000008
> 0x00007fff806b0964 in strcmp ()
>
> and if I backtrace:
>
> (gdb) bt
> #0  0x00007fff806b0964 in strcmp ()
> #1  0x000000010005bc63 in parseSetup ()
> #2  0x000000010005c899 in calculateIndex ()
> #3  0x00000001000008c8 in start ()

It might come from the conf file not found.

> that's as much as I've been able to learn so far given my limited skills at
> this.

We are getting closer... :)

Markus


More information about the grass-user mailing list