[GHC] #15634: GHCi: Segmentation fault Data.List.sum large number

GHC ghc-devs at haskell.org
Wed Sep 12 18:32:02 UTC 2018


#15634: GHCi: Segmentation fault Data.List.sum large number
-------------------------------------+-------------------------------------
           Reporter:  ksallberg      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  Research needed
          Component:  GHCi           |           Version:  8.0.1
           Keywords:  segfault       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Hello, first bug report here, so please let me know what I should provide.
 I tried to search for this but didn't find it.

 {{{
 kristian at snabbadatorn:~$ ghci
 GHCi, version 8.0.1: http://www.haskell.org/ghc/  :? for help
 Prelude> [1..100]
 [1,2,3,4,5,6,7,8,9,10,11,12... and so on
 Prelude> sum [1..10000000]
 50000005000000
 Prelude> sum [1..100000000]
 Segmentation fault
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15634>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list