Greetings,
I have been having problems with running GDDIAG on a 64-bit linux machine. The
program will run from the script sometimes and then eventually produce a
segmentation fault. I have built the GEMPAK code from source and added in the
debugger flags (although I am not certain if I have all the locations covered
on this) to figure out the problem. I have attached the result of using (gdb)
with the program when it crashes. The 12-byte allowance for parm in gditoh.f
has been modified to a length of 80 since my GFUNC is quite long. Still, this
did not resolve the issue.
Program received signal SIGSEGV, Segmentation fault.
0x00000031dfc7a596 in _wordcopy_fwd_aligned () from /lib64/libc.so.6
(gdb) where
#0 0x00000031dfc7a596 in _wordcopy_fwd_aligned () from /lib64/libc.so.6
#1 0x00000031dfc794a5 in memmove () from /lib64/libc.so.6
#2 0x00002b6fafcbf100 in _gfortran_copy_string ()
from /usr/lib64/libgfortran.so.1
#3 0x00000000004276a9 in gd_itoh_ (gdattm=0x7ffffae799b0,
level=0x7ffffae799e0, ivcord=@0x7ffffae79c84, parm=@0x1fffffffff5ceb90,
ihdarr=0x7ffffae79910, iret=@0x7ffffae79948, _gdattm=-85481160,
_parm=-85481180) at gditoh.f:37
#4 0x00007ffffae7a93c in ?? ()
#5 0x00007ffffae7a938 in ?? ()
#6 0x00007ffffae7a924 in ?? ()
#7 0x00007ffffae7a95c in ?? ()
#8 0x00007ffffae7a9a0 in ?? ()
#9 0x00007ffffae7a924 in ?? ()
#10 0x00000000000081ed in ?? ()
#11 0x0000000000000000 in ?? ()
Does anyone have any ideas?
Thank you,
Chris