Skip to content

byte code interpreter segfault (9.6 branch)

Using the boot compiler built from this branch: https://gitlab.haskell.org/ghc/ghc/-/commits/wip/mp-ghci-fixes-9.6

In another tree, checkout this branch - https://gitlab.haskell.org/ghc/ghc/-/commits/wip/ghci-run-segfault

Then run attempt to run the interpreter with the following commands (this will try to use ghc --run to execute GHC's main function).

./boot
./configure GHC=ghc-9.6.0.<version>
./hadrian/ghci-multi

The result is a segfault.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information