Hi, Thank you for your reply. My environment is FreeBSD amd64 12.1R And I just tried to prepare test environment, but many tests could not pass in my environment. many. So, my environment is not trustworthy.
I tried only heap.ok. cd dlls/kernel32/test env LANG=C gmake heap.ok > log.txt 2>&1 (log.txt attached) and debugger launched and backtrace.txt(attached) but at the head of backtrace.txt
couldn't load main module (2) Unhandled exception: stack overflow in 64-bit code (0x000000007b059535).
test wouldn't even launch. I give up now to go further.
So far, as this is an assumption, maybe compiler, by CFLAGS or something related with Optimization, erased the code "*p|=0" in memory.s ( you can get assembler code by compiling with CFLAGS+=--save-temps ) Even though the p is declared volatile, because this code does nothing,it's erased.(my assumption) but this should not happen. I think CFLAGS with -O0 will do(?)
Cheers Gen