[GHC] #14497: internal error: scavenge_one: strange object 19828

GHC ghc-devs at haskell.org
Tue Nov 21 22:36:16 UTC 2017


#14497: internal error: scavenge_one: strange object 19828
-------------------------------------+-------------------------------------
        Reporter:  Yuras             |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.2.3
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 If I change `fuc` to

 {{{#!hs
 fuc n = product (force [1..n])
 }}}

 then I can't reproduce the problem. This suggests that the (presumably
 rather large) stack allocation in Yuras's version may be relevant in some
 fashion, I imagine.

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


More information about the ghc-tickets mailing list