On Tue, 16 Aug 2005, Tim Jenness wrote:
> gcc4/g95
>
> !! O111.MORE.SCUBA.DEM_PNTR: Unknown error: 149324595
> ! SURF: bad status on exit from REDUCE_SWITCH
> OBEYW unexpected status returned from task "surf_mon11325", action -
> "REDUCE_SWITCH"
> ADAMERR %CMP, Data currently mapped
>
Okay, appears to be a g95 string comparison bug.
It seems that CMP does a string equality on the HDS locators to decide
whether this is a locator it's seen before. These are full of nulls.
These locators are different:
[index, loc1, loc2]
1 5 5
2 0 1
3 153 185
4 64 96
5 127 127
6 127 127
7 127 127
8 127 127
9 0 0
10 0 0
11 0 0
12 23 44
13 252 213
14 2 0
15 3 0
These are the different but the same:
1 5 5
2 0 0
3 170 124
4 160 192
5 127 127
6 127 127
7 127 127
8 127 127
9 0 0
10 0 0
11 0 0
12 21 42
13 252 213
14 2 0
15 3 0
Notice how the content before the first null is the same! A classic C bug.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|