[Bug fortran/70058] Segmentation fault when open file with existing file and status = "UNKNOWN"

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 5 01:07:00 GMT 2016


--- Comment #5 from kargl at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #4)
> The problem does not exist on Linux for sure.  Not sure if this is a TDM
> distribution problem, a Windows problem, a MingW problem, or gfortran.
> I am going to have to get set up on Windows so this may take a while.

From the backtrace in comment #3,

(gdb) backtrace
#0 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
#1 in libgfortran_64-3!clog10l ()
#2 in libgfortran_64-3!clog10l ()
#3 in libgfortran_64-3!_gfortran_unpack1_char4 () 
#4 in libgfortran_64-3!_gfortran_unpack1_char4 ()
#5 in libgfortran_64-3!_gfortran_st_open ()

I doubt that this is a gfortran problem.  It is highly unlikely that
OPEN uses a complex*16 log10 function that calls itself.

More information about the Gcc-bugs mailing list