[GHC] #11627: Segmentation fault for space_leak_001 with profiling (-hc)

GHC ghc-devs at haskell.org
Mon Feb 22 18:30:04 UTC 2016


#11627: Segmentation fault for space_leak_001 with profiling (-hc)
-------------------------------------+-------------------------------------
           Reporter:  thomie         |             Owner:
               Type:  bug            |            Status:  new
           Priority:  high           |         Milestone:
          Component:  Profiling      |           Version:  7.10.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
  perf/space_leaks/space_leak_001    |
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 `WAY=profasm` is omitted by default for this test, but the code looks like
 this:

 Test.hs:
 {{{
 import Data.List
 main = print $ length $ show (foldl' (*) 1 [1..100000] :: Integer)
 }}}

 {{{
 $ ghc Test.hs -prof -O
 $ ./Test +RTS -hc
 Segmentation fault (core dumped)
 }}}

 Reproducible with at least 7.10.3 and HEAD, also without `-O`.

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


More information about the ghc-tickets mailing list