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

GHC ghc-devs
Thu Oct 3 21:32:36 UTC 2013


#8402: throwTo segfaults under -prof -threaded -with-rtsopts=N2
----------------------------------+----------------------------------
        Reporter:  akio           |            Owner:
            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:
----------------------------------+----------------------------------

Comment (by akio):

 Should it be allowed to use LDV profiling with {{{-threaded}}} and
 {{{-N1}}}? I assumed the answer was "yes", because the CPP condition that
 controls the definition of {{{OVERWRITING_CLOSURE}}} was

 {{{
 #if defined(PROFILING) || (!defined(THREADED_RTS) && defined(DEBUG))
 }}}

 which evaluates to true in {{{thr_p}}}. The only case this is useful
 seemed when you are doing LDV profiling with {{{-threaded}}} but with
 {{{-N1}}}.

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



More information about the ghc-tickets mailing list