NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 21 forks source link

regridding segfault #517

Closed karlmsmith closed 6 years ago

karlmsmith commented 6 years ago

Reported by @AndrewWittenberg on 4 Jan 2005 23:58 UTC [Bug first reported 28 September 2003, via email]

The following gives a segfault in all Linux & Irix versions since v5.22:

    NOAA/PMEL TMAP
    FERRET v5.53 (beta6)
    Linux(g77) 2.4.x - 09/12/03
    28-Sep-03 14:53     

yes? use monthly_navy_winds yes? let a = uwnd[d=1,x=140w,y=0] yes? let b = vwnd[x=140w,y=0] yes? let c = a[gt=b] yes? plot a[gt=b] !This works. yes? plot c !But this gives segfault. Segmentation fault

Now simply change the name of variable "a" to "a2", and the following gives a different error (as of v5.51):

    NOAA/PMEL TMAP
    FERRET v5.53 (beta6)
    Linux(g77) 2.4.x - 09/12/03
    28-Sep-03 14:56     

yes? use monthly_navy_winds yes? let a2 = uwnd[d=1,x=140w,y=0] yes? let b = vwnd[x=140w,y=0] yes? let c = a2[gt=b] yes? plot a2[gt=b] yes? plot c **ERROR: internal program problem: rgrd transf

Other clues: one doesn't see this problem with let a = uwnd[d=1,x=140w,y=0] let b = vwnd[d=1,x=140w,y=0] nor let a = uwnd[x=140w,y=0] let b = vwnd[x=140w,y=0]

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1139

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 5 Jan 2005 17:14 UTC

This bug has been marked as a duplicate of 636