[Haskell-cafe] ffi call works fine in ghci but not as ghc compiledsegfault

Brandon Allbery allbery.b at gmail.com
Sun Mar 16 22:47:47 UTC 2014


On Sun, Mar 16, 2014 at 6:38 PM, Miro Karpis <miroslav.karpis at gmail.com>wrote:

> after looking a bit more I can see that the ffi call does what it should
> do, but it crashes right after that. As mentioned before in ghci everything
> runs fine.
>

I don't think I got an answer to this before: does it still work in ghci if
you run it with

    ghci -fno-ghci-sandbox

?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140316/08bf24b6/attachment.html>


More information about the Haskell-Cafe mailing list