Skip to content

runhaskell causes GHC to segfault on OS X

Attempting to use runhaskell to build a caballized
package on OS X
causes ghc to segfault.

The user sees:

crossroads-able> cd harp 
crossroads-able> runhaskell Setup.hs configure
Warning: No license-file field.
Configuring harp-0.2...
configure: searching for ghc in path.
configure: found ghc at /opt/local/bin/ghc
runhaskell: waitForProcess: interrupted (Interrupted
system call)

(this is from the build of harp, part of the
haskell-src-exts pacakge,
but the same behavior was observed every time I tried
to use
runhaskell, including trying to caballize a build on a
small app
that I wrote. The application built successfully under
cabal on
FreeBSD-5.4 x86 with ghc-6.4.)

Attached are a crash log (ghccrash.log) and a ktrace
log (ktrace.log).
Superficially, it looks like a bad ioctl might trigger
the crash.

I'd apprecaite any hints on where to poke around in the
source
to track this down.

Thanks.


Trac metadata
Trac field Value
Version 6.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information