[GHC] #15165: GHC 8.2.2: internal error with +RTS -hb
#15165: GHC 8.2.2: internal error with +RTS -hb --------------------------------------+---------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Keywords: | Operating System: MacOS X Architecture: x86_64 (amd64) | Type of failure: Runtime crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------------+---------------------------------- Hi, I'm trying to generate a heap profile via "+RTS -hb" on macOS 10.13.4. Unfortunately I get the following error: `internal error: Invalid object in processHeapClosureForDead(): 7`\\ `(GHC version 8.2.2 for x86_64_apple_darwin)`\\ `Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug`\\ `Abort trap: 6` Best regards Doro -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -----------------------------------+-------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Profiling | Version: 8.2.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087 | Differential Rev(s): Wiki Page: | -----------------------------------+-------------------------------------- Changes (by RyanGlScott): * component: Compiler => Profiling * related: => #15063, #15087 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -------------------------------------+------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Profiling | Version: 8.2.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087, | Differential Rev(s): #7836 | Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * related: #15063, #15087 => #15063, #15087, #7836 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -------------------------------------+------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.8.1 Component: Profiling | Version: 8.2.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087, | Differential Rev(s): Phab:D4928 #7836 | Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * status: new => patch * differential: => Phab:D4928 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -------------------------------------+------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: 8.8.1 Component: Profiling | Version: 8.2.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087, | Differential Rev(s): Phab:D4928 #7836 | Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ömer Sinan Ağacan <omeragacan@…>): In [changeset:"2625f1310edeff62eb3876cc6efbe105a80fe4ad/ghc" 2625f131/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="2625f1310edeff62eb3876cc6efbe105a80fe4ad" Fix processHeapClosureForDead CONSTR_NOCAF case CONSTR_NOCAF was introduced with 55d535da10d as a replacement for CONSTR_STATIC and CONSTR_NOCAF_STATIC, however, as explained in Note [static constructors], we copy CONSTR_NOCAFs (which can also be seen in evacuate) during GC, and they can become dead, like other CONSTR_X_Ys. processHeapClosureForDead is updated to reflect this. Test Plan: Validates on x86_64. Existing failures on i386. Reviewers: simonmar, bgamari, erikd Reviewed By: simonmar, bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #7836, #15063, #15087, #15165 Differential Revision: https://phabricator.haskell.org/D4928 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -------------------------------------+------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: 8.8.1 Component: Profiling | Version: 8.2.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087, | Differential Rev(s): Phab:D4928 #7836 | Wiki Page: | -------------------------------------+------------------------------------- Changes (by osa1): * status: patch => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15165: GHC 8.2.2: internal error with +RTS -hb -------------------------------------+------------------------------------- Reporter: kfiz | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.6.1 Component: Profiling | Version: 8.2.2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #15063, #15087, | Differential Rev(s): Phab:D4928 #7836 | Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged with 30a4bcc3fc3a434b3b6ab64289934281591ce09a. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15165#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC