Kazu Yamamoto | 12 Apr 02:02 2012
Picon

Re: segmentation faults on OS X ( ExitError 11 )

I don't know what GHC STABLE refers to.

But GHC API of GHC 7.0.4 on Mac has this kind of bug. e.g. runghc does not work but compilied code does work.

This bug has been fixed in GHC 7.4.

--Kazu

On Tue, Apr 10, 2012 at 11:53 PM, Luite Stegeman <stegeman <at> gmail.com> wrote:
hi all,

I know this is a long shot, but has anyone who has experienced
ExitError 11 / segmentation fault problems with yesod devel ever been
able to find the root cause? I've been having them for the last two
days on OS X, and they're the reason that I haven't been able to get
any work done with yesod, The runghc program started by yesod devel
just crashes after a second or so. So far I've tried nuking all
Haskell packages, have installed the latest GHC STABLE snapshot, but
to no avail. I haven't been able to extract any useful informations
from core dumps, crash reports, strace or valgrind yet.

luite

Luite Stegeman | 12 Apr 02:24 2012
Picon

Re: segmentation faults on OS X ( ExitError 11 )

On Thu, Apr 12, 2012 at 2:02 AM, Kazu Yamamoto
<kazu.yamamoto@...> wrote:
> I don't know what GHC STABLE refers to.
>
> But GHC API of GHC 7.0.4 on Mac has this kind of bug. e.g. runghc does not
> work but compilied code does work.
>
> This bug has been fixed in GHC 7.4.

by latest STABLE snapshot I meant the latest snapshot in the stable
branch snapshot distribution directory [1], in this case
7.4.1.20120406. Unfortunately I've run into really strange issues [2],
so I haven't been able to do anything useful yet. It looks like I have
a working 7.0.4 now, so I hope I won't run into the bug you mention.
I've already had problems with the API code and threading on OS X
earlier and there is new trouble ahead with Apple changing the linker
in OS X 10.8 beta, making it incompatible with the current GHCs. So it
definitely looks like OS X is not an ideal platform for developing
Haskell, at this time....

[1] http://www.haskell.org/ghc/dist/stable/dist/
[2] http://hackage.haskell.org/trac/ghc/ticket/5999


Gmane