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,356
    • Issues 5,356
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 569
    • Merge requests 569
  • 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
  • #8866
Closed
Open
Issue created Mar 09, 2014 by Alfredo Di Napoli@adinapoliDeveloper

scavenge_stack: weird activation record found on stack on "cabal install -j"

Hello everyone,

sorry if this was reported somewhere else. I know that the dreadful "scavenge_stack" is nothing new, but it's the first time I see it on Mac OS X (I'm on Maverick, OS X 10.9.2).

This is a "stacktrace" of the problem. It seems to happen almost consistently if I try to do a parallel installation:

[hsenv]☁  ~HSENV  cabal install -j snap
Resolving dependencies...
Configuring HUnit-1.2.5.2...
Downloading MonadRandom-0.1.13...
Downloading logict-0.6.0.2...
cabal: internal error: scavenge_stack: weird activation record found on stack: 415597384
    (GHC version 7.8.0.20140228 for x86_64_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
[1]    2328 abort      cabal install -j snap
[hsenv]☁  ~HSENV

The concerning thing is that it doesn't seem to be deterministic. After issuing that command, I have tried again and it worked this time:

[hsenv]☁  ~HSENV  cabal install -j snap
Resolving dependencies...
Configuring HUnit-1.2.5.2...
Downloading MonadRandom-0.1.13...
Configuring SHA-1.6.4...
Downloading logict-0.6.0.2...
Downloading process-1.1.0.2...
[...]

It seems to happen with every package and I have tried to install snap just for the sake of reproducing it.

Thanks!

ps. Cross-posted on Github into the cabal issue tracker: https://github.com/haskell/cabal/issues/1716

Alfredo

Trac metadata
Trac field Value
Version 7.8.1-rc2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
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