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

GHC ghc-devs at haskell.org
Sat Sep 15 14:20:07 UTC 2018


#15634: GHCi: Segmentation fault Data.List.sum large number
-------------------------------------+-------------------------------------
        Reporter:  ksallberg         |                Owner:  (none)
            Type:  bug               |               Status:  infoneeded
        Priority:  normal            |            Milestone:  Research
                                     |  needed
       Component:  GHCi              |              Version:  8.0.1
      Resolution:                    |             Keywords:  segfault
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ksallberg):

 The following happened when I used GHCi from
 https://downloads.haskell.org/~ghc/8.6.1-beta1/

 (specifically ghc-8.6.0.20180810-x86_64-deb8-linux.tar.xz)

 {{{
 kristian at snabbadatorn:/$ ./usr/local/bin/ghci
 GHCi, version 8.6.0.20180810: http://www.haskell.org/ghc/  :? for help
 Prelude> sum [1..100000000]
 <interactive>: internal error: Unable to commit 1048576 bytes of memory
     (GHC version 8.6.0.20180810 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted
 }}}

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


More information about the ghc-tickets mailing list