plugins
plugins copied to clipboard
Loading and Running IO Results in Segfault with newer GHC
I've created a test here which loads an IO () function from a module.
https://github.com/xpika/plugins-ghc-7-10-segfault-io
The code does not segfault on GHC 7.6.3 but does on 7.10.3.
I can reproduce this on GHC 8.10. I think plugins always causes segfaults when run interactively (with ghci, runghc or runhaskell), so this is not surprising. Should we even try to support this? EDIT: I guess if it used to work with 7.6 then it might not be that much work to make it work with later versions.