[GHC] #9878: Static pointers in GHCi cause panic

GHC ghc-devs at haskell.org
Wed Dec 17 19:35:18 UTC 2014


#9878: Static pointers in GHCi cause panic
-------------------------------------+-------------------------------------
              Reporter:  monoidal    |            Owner:  facundo.dominguez
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.9
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  GHCi crash  |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by facundo.dominguez):

 I have just discovered that hpc suffers of the same illness reported
 above:
 {{{
 $ cat t.hs
 g :: Int
 g = 1 + 1
 facundo at fd-tweag:~/tweag/tmp$ ghc-stage2 --interactive t.hs -fhpc
 GHCi, version 7.9.20141217: http://www.haskell.org/ghc/  :? for help
 [1 of 1] Compiling Main             ( t.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> g
 ghc-stage2: panic! (the 'impossible' happened)
   (GHC version 7.9.20141217 for x86_64-unknown-linux):
         Loading temp shared object failed: /tmp/ghc25774_0/ghc25774_5.so:
 undefined symbol: _hpc_tickboxes_Main_hpc

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 }}}

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


More information about the ghc-tickets mailing list