
Hello all, 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-3.0.3.1 ... linking ... done. Loading package parsec-2.1.0.1 ... linking ... done. Loading package network-2.2.1.4 ... 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-2.2.1.4. 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? Thanks, -- Sebastiaan Visser