plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Loading and Running IO Results in Segfault with newer GHC

Open xpika opened this issue 9 years ago • 1 comments

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.

xpika avatar Jan 07 '17 08:01 xpika

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.

noughtmare avatar Feb 19 '21 10:02 noughtmare