[GRASS-dev] r.report seg faults on page widths < 28 chars

Hamish hamish_b at yahoo.com
Sun Feb 28 21:24:46 EST 2010


Eric wrote:
> I don't know if this is worth filing
> a bug report for, so I'll check here first.
> 
> r.report seg faults

sure that's bug worthy, a segfault is a segfault. they shouldn't happen
under normal circumstances.

> if the page width parameter is set to values 27 and less; a page
> width of 28 seems to invoke an infinite loop.

seems to be map dependent. for spearfish fields the min seems to be
pw=7,8.


> I can't think of any use for having page widths that
> narrow, but shouldn't the module trap out of bounds values?
> I can file this on trac if anyone thinks it's worth the
> trouble.

it's probably a one liner to fix, so why not?


Hamish



      


More information about the grass-dev mailing list