Skip to content
GitLab
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 5,247
    • Issues 5,247
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 577
    • Merge requests 577
  • 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 CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #2571
Closed
Open
Issue created Sep 07, 2008 by Ian Lynagh <igloo@earth.li>@trac-igloo

ioref001 segfaults depending on how much stack space it has

The ioref001 test is segfaulting, depending on how much stack space you give it:

$ '/home/ian/ghc/darcs/ghc/ghc/stage2-inplace/ghc' -fforce-recomp -dcore-lint -dcmm-lint -Dx86_64_unknown_linux  -dno-debug-output -o ioref001 ioref001.hs -O -fasm +RTS -K32m -RTS 

$ ./ioref001  
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize' to increase it.

$ ./ioref001 +RTS -K16m -RTS
Stack space overflow: current size 16000000 bytes.
Use `+RTS -Ksize' to increase it.
zsh: segmentation fault  ./ioref001 +RTS -K16m -RTS

$ ./ioref001 +RTS -K32m -RTS
done
zsh: segmentation fault  ./ioref001 +RTS -K32m -RTS

$ ./ioref001 +RTS -K100m -RTS
done
Trac metadata
Trac field Value
Version 6.8.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking