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

GHC ghc-devs at haskell.org
Wed Mar 23 11:55:47 UTC 2016


#11627: Segmentation fault for space_leak_001 with profiling (-hc)
-------------------------------------+-------------------------------------
        Reporter:  thomie            |                Owner:  jme
            Type:  bug               |               Status:  closed
        Priority:  high              |            Milestone:  8.0.1
       Component:  Profiling         |              Version:  7.10.3
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
                                     |  perf/space_leaks/space_leak_001
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2005
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  merge => closed
 * failure:  None/Unknown => Runtime crash
 * resolution:   => fixed
 * milestone:   => 8.0.1


@@ -5,1 +5,1 @@
- {{{
+ {{{#!hs

New description:

 `WAY=profasm` is omitted by default for this test, but the code looks like
 this:

 Test.hs:
 {{{#!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`.

--

Comment:

 Merged as d1fbcbb6710db0e06deac66a77f90d74001acd16.

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


More information about the ghc-tickets mailing list