[GRASS-dev] [GRASS GIS] #718: r.li forgets mask/illegal filename
GRASS GIS
trac at osgeo.org
Tue Aug 11 11:57:28 EDT 2009
#718: r.li forgets mask/illegal filename
-----------------------+----------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Keywords: | Platform: MacOSX
Cpu: All |
-----------------------+----------------------------------------------------
The r.li daemon seems to be forgetting the mask name used for a moving
window operation. In the terminal:
{{{
Illegal filename. Character < > not allowed.
Illegal filename. Character < > not allowed.
Illegal filename. Character < > not allowed.
Unable to open header file for raster map < @(null)>
CHILD[pid = 1486]: unable to open mask ... continue without!!!
Segmentation fault [64bit only]
... many more illegal filename errors
}}}
It segfaults on OSX 64bit, but not on 32bit OSX, where it still completes
but the output looks OK (but I don't know if it's right).
64bit crash log :
{{{
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000003036
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x00007fff840d9d70 strcpy + 48
1 libgrass_rli.dylib 0x000000010005d3ed next_Area + 111
2 libgrass_rli.dylib 0x000000010005da8a calculateIndex
+ 859
3 r.li.patchdensity 0x000000010000175c start + 52
}}}
Tests OK on Linux (thanks Markus).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/718>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list