Ticket #7475 (new bug)

Opened 7 months ago

Last modified 5 months ago

Mysterious Data.Word Segmentation Fault in GHCi

Reported by: VKS Owned by:
Priority: normal Milestone: 7.8.1
Component: Compiler Version: 7.6.1
Keywords: ghci, data.word, segfault Cc:
Operating System: MacOS X Architecture: x86_64 (amd64)
Type of failure: GHCi crash Difficulty: Unknown
Test Case: Blocked By: #3658
Blocking: Related Tickets:

Description

So, this happens:

GHCi, version 7.6.1: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m + Data.Word
Prelude Data.Word> ((fromIntegral . floor) $ -5.467881373802522) :: Word8
Segmentation fault

Change History

Changed 6 months ago by igloo

  • difficulty set to Unknown
  • blockedby 3658 added
  • milestone set to 7.8.1

Thanks for the report. This looks like it's probably a duplicate of #7043, although that ticket claims to only affect 32bit platforms.

Changed 5 months ago by altaic

This doesn't appear to happen with 7.4.2 or in HEAD (7.7.20130109), both x86_64.

Note: See TracTickets for help on using tickets.