Opened 14 years ago

Closed 11 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

Description

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
~$ 

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

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

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

comment:2 Changed 14 years ago by gwright@…

Status: newassigned

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

Resolution: worksforme
Status: assignedclosed

Can't reproduce.

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

Resolution: worksforme
Status: closedreopened

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

Changed 13 years ago by jmroot (Joshua Root)

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

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

Port abandoned, #35561.

comment:6 Changed 11 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.