[GHC] #12458: Segfault in GHCi runtime type reconstruction
GHC
ghc-devs at haskell.org
Tue Aug 23 20:34:17 UTC 2016
#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
More information about the ghc-tickets
mailing list