Opened 7 years ago

Closed 3 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) 6 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by macsforever2000@…

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

comment:2 Changed 6 years ago by gwright@…

  • Status changed from new to assigned

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

  • Resolution set to worksforme
  • Status changed from assigned to closed

Can't reproduce.

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

  • Resolution worksforme deleted
  • Status changed from closed to reopened

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

Changed 6 years ago by jmroot (Joshua Root)

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

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

Port abandoned, #35561.

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

  • Resolution set to wontfix
  • Status changed from reopened to closed

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

Note: See TracTickets for help on using tickets.