[GHC] #8402: throwTo segfaults under -prof -threaded -with-rtsopts=N2

GHC ghc-devs
Tue Oct 8 14:33:26 UTC 2013


#8402: throwTo segfaults under -prof -threaded -with-rtsopts=N2
----------------------------------+----------------------------------
        Reporter:  akio           |            Owner:  simonmar
            Type:  bug            |           Status:  patch
        Priority:  highest        |        Milestone:  7.8.1
       Component:  Profiling      |          Version:  7.7
      Resolution:                 |         Keywords:
Operating System:  Linux          |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------
Changes (by simonmar):

 * owner:   => simonmar


Comment:

 ezyang: I think the case that you were originally trying to fix by
 removing the test was PROFILING && DEBUG, right?  We need to restore the
 original check to fix this bug, and additionally enable slop-zeroing when
 PROFILING && DEBUG.

 I'll commit a fix.

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



More information about the ghc-tickets mailing list