Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,859
    • Issues 4,859
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 454
    • Merge requests 454
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #78
Closed
Open
Created Sep 05, 2002 by nhn@trac-nhn

GHC's stack blows up

When compiling the included file (part of AFrob)
with GHC 5.04 under Linux, GHC's stack blows up. I've
tried to increase the size up to 20 Mbyte (at which
point compilation takes a loooong time, and then the
stack still blows up), and I've tried all four possible
combinations of -O and -fglasgow-exts. The result is
the same in all cases.

I used variations of the following command:

ghc -c -package lang -package posix -package concurrent
-i/usr/local/lib/ghc/imports/hgl:/usr/local/lib/ghc/imports/arrow:/usr/local/lib/ghc/imports/afrp:../Common
+RTS -K20M -RTS -o RSParser.o RSParser.hs

The result I got in all cases was:

stack overflow: use +RTS -K<size> to increase it

Everything worked fine with GHC 5.02.2: no need for
+RTS -K<size> or anything.

If you need more context, try the AFRP/AFrob
Hacker's pre-release available from
www.haskell.org/afrp.

All the best,

/Henrik

--
Henrik Nilsson
Yale University
nilsson@cs.yale.edu
Trac metadata
Trac field Value
Version 5.04
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking