
#10445: Wrong stack space size when using -Ksize -------------------------------------+------------------------------------- Reporter: asr | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): I have a vague recollection (from the time that the default stack size limit was effectively removed) that GHC 7.6.3 was lying and would display the stack size limit as the current stack size in that error message regardless of the actual current stack size. I don't understand though why you are seeing a stack size that is so much larger than the limit though; and I also notice that even when increasing the stack size limit to much more than the reported stack size (like `-K1M`) the reported stack size does not change (and then the error message becomes rather confusing). So it does seem likely there is some sort of bug here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10445#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler