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-220.127.116.11 ... linking ... done.
> Loading package parsec-18.104.22.168 ... linking ... done.
> Loading package network-22.214.171.124 ... 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-126.96.36.199. 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