https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352
Tom de Vries changed:
What|Removed |Added
CC||burnus at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352
--- Comment #4 from Tom de Vries ---
Going through the lock lifetime using backtraces:
...
(gdb) watch ((pthread_mutex_t *) 0x6059d0)->__data.__lock
Hardware watchpoint 2: ((pthread_mutex_t *) 0x6059d0)->__data.__lock
...
I. Locked from _gfort
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352
--- Comment #3 from Tom de Vries ---
Minimal example:
...
program main
implicit none
open (10, file='a.dat', asynchronous="yes")
write (10,*,asynchronous="yes") 4, 3
end program
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352
--- Comment #2 from Tom de Vries ---
More complete backtrace using reproduction on command line:
...
Thread 1 "async_io_1.exe" received signal SIGSEGV, Segmentation fault.
__lll_unlock_elision (lock=0x6069d0, private=0)
at ../sysdeps/unix/sy
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100352
--- Comment #1 from Tom de Vries ---
Build at commit b9bc4467cc7 "tree-optimization/96513 - add testcase for fixed
bug".
Gcc configured like this:
...
$ ./build/gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=./build/gcc/xgcc
Target: x86_64-pc-li