[GHC] #8858: Wrong maxStkSize calculation

GHC ghc-devs at haskell.org
Fri Mar 7 10:14:48 UTC 2014


#8858: Wrong maxStkSize calculation
------------------------------------+-------------------------------------
       Reporter:  awson             |             Owner:  simonmar
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  Runtime System    |           Version:  7.8.1-rc2
       Keywords:                    |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 When fighting with #8839, I've found what I think is a bug in `maxStkSize`
 calculation: if `getPhysicalMemorySize` succeeds, we set `maxStkSize` in
 bytes, not words.

 It did not manifest itself yet, but I've decided to provide a patch.

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


More information about the ghc-tickets mailing list