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

GHC ghc-devs at haskell.org
Wed Mar 2 20:45:11 UTC 2016


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

Comment (by jme):

 Actually, in `show`, it also possible for the `p*p` in `jsplitf` to
 trigger a segfault.  If `p` is ''w'' words long, 2''w'' words are
 initially allocated for the result of the multiply.  But if the most
 significant word turns out to be 0, the result is shrunk by a word.

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


More information about the ghc-tickets mailing list