cygwin gfortran segfaulting on valid write statements

Brian Inglis
Fri Apr 17 19:46:54 GMT 2020

On 2020-04-17 12:42, wrote:
> I'm getting segfaults in valid write statements Using current cygwin gfortran
> (--version reports 9.3.0). This is with old code that runs on current debian
> stable and was running on cygwin a few years ago. I have been unable to
> construct a simple example for a bug report.

Try running under strace:

	$ strace -o prog.strace prog -options... args...

or gdb:

	$ gdb prog
	(gdb) run -options... args...
	SEGV diagnostics
	(gdb) bt
	(gdb) q

and attach or paste all output.

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

More information about the Cygwin mailing list