GHC bus error on Network.BSD.getHostByName
sfvisser at cs.uu.nl
Sun Sep 13 08:49:43 EDT 2009
Before I file a bug maybe someone might recognize the following error
and knows if I should blame GHC or someone at Apple. When trying to
use the Network.BSD.getHostByName function ghci exits with a bus
error. The same thing happens with ghc --make and runghc.
> > ghci
> GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> Prelude> :m Network.BSD
> Prelude Network.BSD> getHostByName "www.google.com"
> Loading package syb ... linking ... done.
> Loading package base-126.96.36.199 ... linking ... done.
> Loading package parsec-188.8.131.52 ... linking ... done.
> Loading package network-184.108.40.206 ... linking ... done.
> zsh: bus error ghci
I'm using a Mac running Snow Leopard and GHC 6.10.4 from the MacOSX
platform installer together with network-220.127.116.11. Never had any
problems with this function before my upgrade to Snow Leopard. All
other GHC functionality seems to be ok.
Should I file a bug or is this something already known?
More information about the Libraries