Ticket #7655 (new bug)
7.6.2 Segmentation Fault/Bus Error in large exponentation
| Reported by: | Doug310 | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | GHCi | Version: | 7.6.2 |
| Keywords: | Cc: | ||
| Operating System: | MacOS X | Architecture: | x86_64 (amd64) |
| Type of failure: | GHCi crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Mac OS X 10.8.2. Haskell Platform 2012.4, 64-bit. GHCI 7.4.2.
Large exponentations cause bus errors or segmentation faults.
Examples:
~/src/haskell$ ghci GHCi, version 7.4.2: 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> 12345678901234567890 ^ 12345 Bus error: 10 ~/src/haskell$ ghci GHCi, version 7.4.2: 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> 2384729837498237^23455 Segmentation fault: 11
Change History
Note: See
TracTickets for help on using
tickets.
