[GHC] #9878: Static pointers in GHCi cause panic
GHC
ghc-devs at haskell.org
Tue Jan 13 16:09:51 UTC 2015
#9878: Static pointers in GHCi cause panic
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner:
Type: bug | facundo.dominguez
Priority: normal | Status: patch
Component: Compiler | Milestone: 7.10.1
Resolution: | Version: 7.9
Operating System: Unknown/Multiple | Keywords:
Type of failure: GHCi crash | Architecture:
Blocked By: | Unknown/Multiple
Related Tickets: | Test Case:
| Blocking:
| Differential Revisions: Phab:D586
| Phab:D587
-------------------------------------+-------------------------------------
Comment (by Austin Seipp <austin@…>):
In [changeset:"7637810a93441d29bc84bbeeeced0615bbb9d9e4/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="7637810a93441d29bc84bbeeeced0615bbb9d9e4"
Trac #9878: Have StaticPointers support dynamic loading.
Summary:
A mutex is used to protect the SPT.
unsafeLookupStaticPtr and staticPtrKeys in GHC.StaticPtr are made
monadic.
SPT entries are removed in a destructor function of modules.
Authored-by: Facundo Domínguez <facundo.dominguez at tweag.io>
Authored-by: Alexander Vershilov <alexander.vershilov at tweag.io>
Test Plan: ./validate
Reviewers: austin, simonpj, hvr
Subscribers: carter, thomie, qnikst, mboes
Differential Revision: https://phabricator.haskell.org/D587
GHC Trac Issues: #9878
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9878#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list