[Haskell-beginners] Segmentation fault
Hollister Herhold
hollister at fafoh.com
Sat Apr 27 14:12:39 CEST 2013
Just a guess, but maybe you could try updating to 10.8.3? I'm pretty sure I've seen people on the ghc-devel mailing list running 10.8.3 and things work. You could also try downloading the ghc 7.6.2 binary.
On Apr 27, 2013, at 5:59 AM, Michael Peternell wrote:
> Hey,
>
> i did a little search.
>
> it seems like this was already a bug 3 years ago:
> http://trac.haskell.org/haskeline/ticket/105
> and it reappeared on a Mac in version 7.4.1 8 months ago
> http://hackage.haskell.org/trac/ghc/ticket/7212
> someone has refiled the bug for 7.4.2
> http://hackage.haskell.org/trac/ghc/ticket/7403
> the bug is discussed in communities
> http://forums.gentoo.org/viewtopic-t-844842-start-0.html
>
> the 7212 ticket is marked as "wontfix" and the 7403-ticket is marked as "duplicate". i don't wanna file another bug report, there are already enough of them.
>
> please, someone fix this bug.
>
> Regards,
> Michael
>
> Am 27.04.2013 um 12:42 schrieb Michael Peternell:
>
>> Hi,
>>
>> sometimes when I start ghci, I just get a segmentation fault. Sometimes I get even 15 segmentation faults in a row, and sometimes I can open it many times and it works each time.
>>
>> I downloaded the Haskell Platform for Mac, 64Bit, from
>> http://www.haskell.org/platform/mac.html
>> I verified the SHA1-Sum, btw.
>>
>> I tried reinstalling the platform, and I tried deleting the ~/.ghc directory, but nothing works. I didn't do anything fancy with Haskell, I just downloaded it yesterday and I didn't tamper with any haskell-files outside of my home-directory. The only kernel extensions I have installed are the ones from VMWare Fusion and maybe flux. (i'm not sure if flux involves kernel extensions or how deeply it messes with the OS.)
>>
>> michael at MacMichi:~ $ rm -rf .ghc
>> michael at MacMichi:~ $ ghci
>> GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Segmentation fault
>> michael at MacMichi:~ $ uname -a
>> Darwin MacMichi.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
>>
>> michael at MacMichi:~ $ ghci
>> GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Segmentation fault
>> michael at MacMichi:~ $ ghci
>> GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help
>> Loading package ghc-prim ... linking ... done.
>> Loading package integer-gmp ... linking ... done.
>> Loading package base ... linking ... done.
>> Prelude> sum (takeWhile (<10000) (filter odd (map (^2) [1..])))
>> 166650
>> Prelude>
>>
>> Any insights on what is really going on behind the scenes will be appreciated.
>>
>> Regards,
>> Michael
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
More information about the Beginners
mailing list