[GHC] #10994: GHCi segfaults when built with DYNAMIC_GHC_PROGRAMS = NO

GHC ghc-devs at haskell.org
Wed Oct 21 13:27:24 UTC 2015


#10994: GHCi segfaults when built with DYNAMIC_GHC_PROGRAMS = NO
-------------------------------------+-------------------------------------
        Reporter:  erikd             |                Owner:  simonmar
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Runtime System    |              Version:  7.11
  (Linker)                           |
      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:D1346,
       Wiki Page:                    |  Phab:D1345
-------------------------------------+-------------------------------------

Comment (by Simon Marlow <marlowsd@…>):

 In [changeset:"7855afba393218d1b9f5a1552e53e124a9919845/ghc"
 7855afba/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="7855afba393218d1b9f5a1552e53e124a9919845"
 Fix breakage in the GHCi debugger

 Summary:
 There was a broken offset calculation that only worked when the
 sections of the binary were in a particular order, and this
 broke (sometimes) after we started mapping the sections separately in
 the linker (see D975).

 Test Plan: ghci debugger tests now work with DYNAMIC_GHC_PROGRAMS=NO

 Reviewers: austin, hvr, bgamari, erikd

 Reviewed By: bgamari

 Subscribers: Phyx, thomie, trommler

 Differential Revision: https://phabricator.haskell.org/D1346

 GHC Trac Issues: #10994
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10994#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list