sorry,...yes it works with -fno-ghci-sandbox (no seg.fault)


On Sun, Mar 16, 2014 at 11:47 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Sun, Mar 16, 2014 at 6:38 PM, Miro Karpis <miroslav.karpis@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@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net