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

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Mon Apr 13 09:13:02 EDT 2009


OK, I should start at some point practicing debug-ing. Though, unknown
territory for me the "G_*" messages below.

Nikos:
> > 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):
> # 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)

# setting debug level 5
g.gisenv set="DEBUG=5"

# output of the above one-liner
D2/5: G__read_Cell_head
D2/5: G__read_Cell_head_array
D3/5: region item: proj:       99
D3/5: region item: zone:       0
D3/5: region item: north:      221230
D3/5: region item: south:      219580
D3/5: region item: east:       639530
D3/5: region item: west:       637740
D3/5: region item: cols:       179
D3/5: region item: rows:       165
D3/5: region item: e-w resol:  10
D3/5: region item: n-s resol:  10
D3/5: region item: top:        1
D3/5: region item: bottom:     0
D3/5: region item: cols3:      179
D3/5: region item: rows3:      165
D3/5: region item: depths:     1
D3/5: region item: e-w resol3: 10
D3/5: region item: n-s resol3: 10
D3/5: region item: t-b resol:  1
D2/5: G__read_Cell_head
D2/5: G__read_Cell_head_array
D3/5: region item: proj:       99
D3/5: region item: zone:       0
D3/5: region item: north:      228513
D3/5: region item: south:      214975.5
D3/5: region item: east:       645012
D3/5: region item: west:       629992.5
D3/5: region item: cols:       527
D3/5: region item: rows:       475
D3/5: region item: e-w resol:  28.5
D3/5: region item: n-s resol:  28.5
D3/5: region item: format:     0
D3/5: region item: compressed: 1
D3/5: create window mapping (179 columns)
D2/5: G__read_Cell_head
D2/5: G__read_Cell_head_array
D3/5: region item: proj:       99
D3/5: region item: zone:       0
D3/5: region item: north:      228513
D3/5: region item: south:      214975.5
D3/5: region item: east:       645012
D3/5: region item: west:       629992.5
D3/5: region item: cols:       527
D3/5: region item: rows:       475
D3/5: region item: e-w resol:  28.5
D3/5: region item: n-s resol:  28.5
D3/5: region item: format:     0
D3/5: region item: compressed: 1
D3/5: create window mapping (179 columns)
D2/5: G__read_Cell_head
D2/5: G__read_Cell_head_array
D3/5: region item: proj:       99
D3/5: region item: zone:       0
D3/5: region item: north:      228513
D3/5: region item: south:      214975.5
D3/5: region item: east:       645012
D3/5: region item: west:       629992.5
D3/5: region item: cols:       527
D3/5: region item: rows:       475
D3/5: region item: e-w resol:  28.5
D3/5: region item: n-s resol:  28.5
D3/5: region item: format:     0
D3/5: region item: compressed: 1
D3/5: create window mapping (179 columns)
r.covar: complete ...
 100%
Segmentation fault (core dumped)

---
Nikos



More information about the grass-user mailing list