compiling with gfortran so that all real variables are filled with NaN when
they are allocated, I see that:

subtract65 called from jt65_decode:decode
           if(id.ge.1) camp(ind)=dd(id)*conjg(cref(ind))

accesses uninitialized memory at lib/subtract65.f90:65 where
the pertinent local variables have values:

(gdb) print npts
$55 = 624000
(gdb) print ns
$50 = 4458
(gdb) print id
$51 = 624001
(gdb) print nstart
$52 = 85019
(gdb) print ind
$53 = 538983


dd(624001:)  are all NaN
dd(0:624000) are all numbers

perhaps a fix is to check for a narrower range:
          if(id.ge.1 .and. id.le.npts) camp(ind)=dd(id)*conjg(cref(ind))
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to