Re: [GHC] #8611: nofib’s cacheprof’s allocations nondeterminisitic

GHC ghc-devs at haskell.org
Fri Dec 14 17:11:50 UTC 2018


#8611: nofib’s cacheprof’s allocations nondeterminisitic
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  NoFib benchmark   |              Version:  8.5
  suite                              |
      Resolution:                    |             Keywords:
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 sgraf):

 If I force `data_areas` in `synth_2` like this:

 {{{
 foldr seq () data_areas `seq` synthd_assy ++ data_areas
 }}}

 the non-determinism is irreproducible. If I instead force the whole list,
 like this:

 {{{
 let res = synthd_assy ++ data_areas
 in foldr seq () res `seq` res
 }}}

 it's non-deterministic still. Seems like this isn't really possible to
 localise?! I'll leave this for another day.

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


More information about the ghc-tickets mailing list