[GHC] #9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 ------------------------------------+------------------------------------- Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: Runtime crash Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8866 | ------------------------------------+------------------------------------- Found this while working on something else. This is a real bug that can cause random `scavenge_stack` failures at runtime, and could be the cause of #8866. I have a fix on the way... -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #8866 -------------------------------------+------------------------------------ Comment (by thoughtpolice): Excellent! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #8866 -------------------------------------+------------------------------------ Comment (by Simon Marlow <marlowsd@…>): In [changeset:"ab8bb4893be1896303f30d0f1adff8ea9c2470f6/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="ab8bb4893be1896303f30d0f1adff8ea9c2470f6" Fix scavenge_stack crash (#9045) The new stg_gc_prim_p_ll stack frame was missing an info table. This is a regression since 7.6, because this stuff was part of a cleanup that happened in 7.7. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: merge Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #8866 -------------------------------------+------------------------------------ Changes (by simonmar): * status: new => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: closed Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #8866 -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#9045: threads006: internal error: scavenge_stack: weird activation record found on stack: 415597384 -------------------------------------+------------------------------------ Reporter: simonmar | Owner: simonmar Type: bug | Status: closed Priority: highest | Milestone: 7.8.3 Component: Runtime System | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Runtime crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #8866 -------------------------------------+------------------------------------ Comment (by edsko): For what it's worth, I discovered another fairly minimal example where this happens. It may or may not be useful, mentioning it here just in case. See the Postscript of http://www.well-typed.com/blog/94/. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9045#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC