Further interestingness: this problem seems to be a 32/64-bit issue. My
laptop is 64-bit F18, works fine. Server is 32-bit SL6, segfault. I
installed the Haskell stack & dependencies in a 32-bit F18 chroot, and
it also crashes.
I do not know if this is the same bug, but it does seem related. I
don't have a minimal working reproduction, though.
- Michael
On 03/11/2013 04:57 PM, Michael Ekstrand wrote:
On 03/11/2013 12:22 PM, Michael Ekstrand wrote:
> On 03/11/2013 09:40 AM, Garrett Mitchener wrote:
>> We may be in the same boat and not realize it: I'm trying to track down
>> a segfault that appeared when I compiled & ran a previously working
>> Haskell+GTK program under Fedora 18. I think there's a bug in how GHC
>> makes foreign import ccall "wrapper" functions. It appears to be in
>> versions 7.4 and later. Something is getting off by 8 bytes, and the
>> result is a segfault when the wrapper is called. I see that HsSyck has
>> a bunch of these in Data/Yaml/Syck.hsc, so maybe we're seeing the same
>> problem....?
>
> Not sure. I just installed HsSyck from cabal on F18, built and ran my
> code no problem.
I've finished my rebuild for EL6, and still get the HsSyck segfault. But
no such segfault on F18.
I also rebuilt libffi from F18 for EL6 (well, specifically Scientific
Linux + EPEL), and still segfaults (though I haven't rebuilt the Haskell
stack on top of updated libffi).
- Michael
_______________________________________________
haskell mailing list
haskell(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/haskell