Skip to content

Segmentation fault with eager blackholing

When very simple programs are compiled using the -feager-blackholing and -threaded flags in GHC 7.4.1 on Windows 7 and XP a segmentation fault frequently occurs during execution. This happens in programs that read a line from the keyboard and print a response. The problem occurs running the executable file directly, through ghci, and through runghc.

The problem is resolved by compiling without the -feager-blackholing flag.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
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