https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70058

--- Comment #3 from Paul <ranftmaps at hotmail dot com> ---
I am using Windows 10.   Find below the output when run from the command prompt
and a backtrace from gdb64.

Thanks,


C:\TDM-GCC-64\bin>a.exe

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  ffffffffffffffff
#1  ffffffffffffffff
#2  ffffffffffffffff
#3  ffffffffffffffff
#4  ffffffffffffffff
#5  ffffffffffffffff
#6  ffffffffffffffff
#7  ffffffffffffffff
#8  ffffffffffffffff
#9  ffffffffffffffff
#10  ffffffffffffffff
#11  ffffffffffffffff
#12  ffffffffffffffff
#13  ffffffffffffffff
#14  ffffffffffffffff
#15  ffffffffffffffff
#16  ffffffffffffffff
#17  ffffffffffffffff
#18  ffffffffffffffff
#19  ffffffffffffffff



C:\TDM-GCC-64\bin>gdb64 a.exe
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.exe...done.
(gdb) run
Starting program: C:\TDM-GCC-64\bin\a.exe
[New Thread 8144.0xf64]
[New Thread 8144.0x1b3c]
[New Thread 8144.0x1100]
[New Thread 8144.0xc1c]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffced67c530 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
(gdb) backtrace
#0  0x00007ffced67c530 in strcmp () from C:\WINDOWS\system32\msvcrt.dll
#1  0x00000000632f1cd4 in libgfortran_64-3!clog10l () from
C:\TDM-GCC-64\bin\libgfortran_64-3.dll
#2  0x00000000632f1cb8 in libgfortran_64-3!clog10l () from
C:\TDM-GCC-64\bin\libgfortran_64-3.dll
#3  0x00000000632d045d in libgfortran_64-3!_gfortran_unpack1_char4 () from
C:\TDM-GCC-64\bin\libgfortran_64-3.dll
#4  0x00000000632d65e5 in libgfortran_64-3!_gfortran_unpack1_char4 () from
C:\TDM-GCC-64\bin\libgfortran_64-3.dll
#5  0x00000000632c4b92 in libgfortran_64-3!_gfortran_st_open () from
C:\TDM-GCC-64\bin\libgfortran_64-3.dll
#6  0x0000000000401610 in MAIN__ ()
#7  0x0000000000401699 in main ()
(gdb)

Reply via email to