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.