[GRASS-user] m.eigensystem segfaults under Jaunty (beta)

Markus Neteler neteler at osgeo.org
Mon Apr 13 09:20:50 EDT 2009


On Mon, Apr 13, 2009 at 3:05 PM, Nikos Alexandris
<nikos.alexandris at felis.uni-freiburg.de> wrote:
> On Mon, 2009-04-13 at 13:52 +0200, Nikos Alexandris wrote:
>> m.eigensystem, compiled against latest grass6_dev _AND_ grass-6.4.0RC4
>> source code, segfaults under Ubuntu-J 64-bit Beta.
>
> Example with spearfish landsat data below (tried with other data as
> well):
>
> # launch fresh-baked grass6_dev
> grass65 /geo/grassdb/nc_spm_08/PERMANENT/
>
>
> # one-liner using 3 bands
> (echo 3; r.covar  lsat7_2002_10,lsat7_2002_20,lsat7_2002_30) |
> m.eigensystem
>
> r.covar: complete ...
>  100%
> Segmentation fault (core dumped)


Here's my take:

GRASS 6.5.svn (nc_spm_07):~ > (echo 3; r.covar
lsat7_2002_10,lsat7_2002_20,lsat7_2002_30) | m.eigensystem
r.covar: complete ...
 100%
ERROR: No non-null values
 Incomplete input file

BUT:

GRASS 6.5.svn (nc_spm_07):~ > g.region rast=lsat7_2002_10
GRASS 6.5.svn (nc_spm_07):~ > (echo 3; r.covar
lsat7_2002_10,lsat7_2002_20,lsat7_2002_30) | m.eigensystem
r.covar: complete ...
 100%
E      2134.5009768265         0.0000000000    98.07
V         0.5053399527         0.0000000000
V         0.5791606282         0.0000000000
V         0.8626950892         0.0000000000
...


Does it work for you if you set the region to the lsat7_2002_10 map?
If yes, then m.eigensystem "just" suffers from not trapping bad input.

Markus


More information about the grass-user mailing list