Skip to content

GHC HEAD crashes on Windows 64 after the SRT overhaul (May 16, 2018 and newer)

After the series of SRT overhaul patches GHC doesn't work on Windows 64-bit.

GHC executable crashes (AV) on any attempt to compile anything or even to start in interactive mode. When crashed it report crash address which may look not as a real address at all (e.g. 0x800 or 0xffffffffffffffff) and may report either reading from or executing such an address.

OTOH, when started with, e.g. +RTS -A256m -RTS it is able to compile some programs (haddock at least).

Reverting all related commits down to eb8e692c make things work again.

I have no proof that things went bad exactly at eb8e692c. Perhaps, this happened later on, but I have a proof that things were good immediately before.

Trac metadata
Trac field Value
Version 8.5
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information