[GHC] #12458: Segfault in GHCi runtime type reconstruction
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: GHCi crash Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{#!hs GHCi, version 8.0.1: http://www.haskell.org/ghc/ :? for help Prelude> data D a = D Prelude> d = D Prelude> :print d d = (_t1::D a) Prelude> d `seq` () () Segmentation fault (core dumped) }}} This is unrelated to #12449 because we're evaluating `d` which has a proper type and not `_t1`. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mniip): * owner: => mniip -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: patch Priority: normal | Milestone: Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2439 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D2439 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: patch Priority: normal | Milestone: 8.0.2 Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2439 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: => 8.0.2 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: patch Priority: normal | Milestone: 8.0.2 Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2439 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"1766bb3cfd1460796c78bd5651f89d53603586f9/ghc" 1766bb3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="1766bb3cfd1460796c78bd5651f89d53603586f9" RtClosureInspect: Fix off-by-one error in cvReconstructType Replaced error-prone index manipulation on a pointer array with a simple fold on the array elements. Test Plan: Added a test case that triggers the bug Reviewers: hvr, austin, bgamari Reviewed By: bgamari Subscribers: simonpj, thomie Differential Revision: https://phabricator.haskell.org/D2439 GHC Trac Issues: #12458 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: merge Priority: normal | Milestone: 8.0.2 Component: GHCi | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: | ghci.debugger/scripts/T12458 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2439 Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * testcase: => ghci.debugger/scripts/T12458 * status: patch => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12458: Segfault in GHCi runtime type reconstruction -------------------------------------+------------------------------------- Reporter: mniip | Owner: mniip Type: bug | Status: closed Priority: normal | Milestone: 8.0.2 Component: GHCi | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: GHCi crash | Test Case: | ghci.debugger/scripts/T12458 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2439 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.0` as 54413fd1b004def92d629e85499caef53832d8ee. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12458#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC