Mike Huffman
Technical User
Hi: I'm new to the forum. I am a structural engineer trying to modify an old Fortran 77 program. I am using the gfortran GCC4.4.4-13.e16.x86_64 compiler package. I have run into a problem I have not seen in many years programming in Fortran.
The program compiles without problems or warnings using -Wall. A runtime core dump occurs when the program returns to a calling subroutine from the called subroutine. If I stop the execution prior to the RETURN there is not a runtime dump. If I stop the execution AFTER subroutine CALL in the calling program the core dumps. I have examined ( printed out prior to the CALL and within the called subroutine) all the parameters and they match exactly with regard to type,size and alignment.
The dump says: "***glibc detected*** < executable name > double free or corruption (out)"
and refers to several files in /lib64 and usr/lib64 such as, among others, /lib64/libgcc_s-4.4.4-20100726.so.1 etc.
Can anyone out there give me any suggestions? I would appreciate your help very much. I was about to reinstall the gcc compiler package in a Hail Mary sort of way but I decided to wait and see if anyone has a better suggestion.
Thank you so much for your help.
Mike Huffman
The program compiles without problems or warnings using -Wall. A runtime core dump occurs when the program returns to a calling subroutine from the called subroutine. If I stop the execution prior to the RETURN there is not a runtime dump. If I stop the execution AFTER subroutine CALL in the calling program the core dumps. I have examined ( printed out prior to the CALL and within the called subroutine) all the parameters and they match exactly with regard to type,size and alignment.
The dump says: "***glibc detected*** < executable name > double free or corruption (out)"
and refers to several files in /lib64 and usr/lib64 such as, among others, /lib64/libgcc_s-4.4.4-20100726.so.1 etc.
Can anyone out there give me any suggestions? I would appreciate your help very much. I was about to reinstall the gcc compiler package in a Hail Mary sort of way but I decided to wait and see if anyone has a better suggestion.
Thank you so much for your help.
Mike Huffman