[GHC] #7789: GHCI core dumps when used with VTY

GHC ghc-devs at haskell.org
Sat Nov 22 19:55:16 UTC 2014


#7789: GHCI core dumps when used with VTY
-------------------------------------+-------------------------------------
              Reporter:  timthelion  |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  GHCi        |          Version:  7.4.2-rc1
            Resolution:              |         Keywords:  core dump
      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 thomie):

 Can reproduce on Linux 64 with 7.8.3. To reproduce the segmentation fault:
 {{{
 $ cabal install vty-menu

 $ ghci -fno-ghci-sandbox ghci-coredumper.hs

 Prelude> die

 # Hold the Enter key for 10-30 seconds.
 }}}

 Replacing the second step by just `ghci ghci-coredumper.hs`, I sometimes
 get:
 {{{
 *** Error in `/usr/local/haskell/ghc-7.8.3-x86_64/lib/ghc-7.8.3/bin/ghc':
 double free or corruption (fasttop): 0x00007f65b00118c0 ***
 Aborted (core dumped)
 }}}

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


More information about the ghc-tickets mailing list