Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading and Running IO Results in Segfault with newer GHC #3

Open
xpika opened this issue Jan 7, 2017 · 1 comment
Open

Loading and Running IO Results in Segfault with newer GHC #3

xpika opened this issue Jan 7, 2017 · 1 comment

Comments

@xpika
Copy link

xpika commented Jan 7, 2017

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.

@noughtmare
Copy link
Contributor

noughtmare commented Feb 19, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants