Ticket #6146 (closed bug: fixed)
Segmentation fault with eager blackholing
|Reported by:||emcdowell||Owned by:||simonmar|
|Type of failure:||Runtime crash||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.