#24571: ghc-6.10.4 segmentation fault in ghci with Text.Regex.Posix --------------------------------+------------------------------------------- Reporter: waterson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ghc --------------------------------+------------------------------------------- After doing a single operation with Text.Regex.Posix, ghci crashes with a segmentation fault. This on Snow Leopard, using ghc-6.10.4. I was unable to reproduce with the Haskell Platform (6.12.1). {{{ ~$ uname -a Darwin putterwell.bunker.maubi.net 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386 ~$ 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 +Text.Regex.Posix Prelude Text.Regex.Posix> "foo bar baz bop" =~ "([a-z]+)" :: Bool Loading package syb ... linking ... done. Loading package array-0.2.0.0 ... linking ... done. Loading package bytestring-0.9.1.4 ... linking ... done. Loading package regex-base-0.72.0.2 ... linking ... done. Loading package regex-posix-0.72.0.3 ... linking ... done. True Prelude Text.Regex.Posix> Segmentation fault ~$ }}} -- Ticket URL: <http://trac.macports.org/ticket/24571> MacPorts <http://www.macports.org/> Ports system for Mac OS