Opened 9 years ago

Closed 6 years ago

#24571 closed defect (wontfix)

ghc-6.10.4 segmentation fault in ghci with Text.Regex.Posix

Reported by: waterson@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
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 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:  :? 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- ... linking ... done.
Loading package bytestring- ... linking ... done.
Loading package regex-base- ... linking ... done.
Loading package regex-posix- ... linking ... done.
Prelude Text.Regex.Posix> Segmentation fault

Attachments (1)

ghc_2011-04-30-024901_Conall.crash (3.6 KB) - added by jmroot (Joshua Root) 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to gwright@…

comment:2 Changed 9 years ago by gwright@…

Status: newassigned

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: assignedclosed

Can't reproduce.

comment:4 Changed 8 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: closedreopened

Sorry, I misread the steps to reproduce. I'm attaching the crash log.

Changed 8 years ago by jmroot (Joshua Root)

comment:5 Changed 7 years ago by raimue (Rainer Müller)

Owner: changed from gwright@… to macports-tickets@…

Port abandoned, #35561.

comment:6 Changed 6 years ago by neverpanic (Clemens Lang)

Resolution: wontfix
Status: reopenedclosed

This ticket is obsolete, since GHC has been updated since.

Note: See TracTickets for help on using tickets.