https://bugs.winehq.org/show_bug.cgi?id=52023 --- Comment #3 from Javier <elpochodelagente(a)gmail.com> --- Sorry if my description was confusing. The test frees (decommits but doesn't release, so it's still reserved but not accessible) a memory region and then tries to read from it, so it should segfault. On windows it crashes, as expected. In wine VirtualFree fails, doesn't free the memory and the read doesn't crash. The main problem is that VirtualFree shouldn't have failed, the memory should have been decommited. If the test crashes on wine, it means you are not able to reproduce the problem, maybe this depends on the implementation of mmap or the kernel version. I'm running Ubuntu 20.04, linux 5.11.0-40-generic. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.