[GHC] #15173: Tests are failing with segfaults under CircleCI
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- It seems something has regressed recently as `master` now fails to validate on CircleCI with some tests segfaulting. Namely, {{{ T10508_api T6145 T8628 T8639_api T10052 T7478 parseTree comments listcomps literals T11430 dynCompileExpr parsed }}} all in the `normal` way. This may be due to the SRT rework. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * priority: normal => highest -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * cc: simonmar (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): Spinning up a build to look into this. Strange that none of these failed in a normal validate, perhaps it's only exposed by the perf builds we're doing on CircleCI? -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): Can't repro with a quick build, trying to add `-O2` to `GhcLibHcOpts` and `GhcStage2HcOpts` now. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonmar): Ok, got a segfault. Debugging... -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4721 Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * differential: => Phab:D4721 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4721 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Simon Marlow <marlowsd@…>): In [changeset:"d424d4a46a729f8530e9273282d22b6b8f34daaa/ghc" d424d4a4/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="d424d4a46a729f8530e9273282d22b6b8f34daaa" Fix a bug in SRT generation Summary: I had good intentions, but they were not being followed. In particular, this comment: ``` --- - we never resolve a reference to a CAF to the contents of its SRT, since --- the point of SRTs is to keep CAFs alive. ``` was not true, because we updated the srtMap after generating the SRT for a CAF. Therefore it was possible for another CAF to refer to an earlier CAF, and the reference to the earlier CAF would be shortcutted to refer to its SRT instead of pointing to the CAF itself. The fix is just to not update the srtMap when generating the SRT for a CAF, but I also refactored the code and comments around this to be a bit better organised. Test Plan: Harbourmaster Reviewers: bgamari, michalt, simonpj, erikd Subscribers: rwbarton, thomie, carter GHC Trac Issues: #15173, #15168 Differential Revision: https://phabricator.haskell.org/D4721 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:7> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#15173: Tests are failing with segfaults under CircleCI -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: closed Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4721 Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonmar): * status: new => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15173#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC