[GHC] #15903: Assertion failure in LDV profiler

GHC ghc-devs at haskell.org
Fri Nov 16 05:22:34 UTC 2018


#15903: Assertion failure in LDV profiler
-------------------------------------+-------------------------------------
           Reporter:  osa1           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Profiling      |           Version:  8.7
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 `T11627a` and `T11627b` fail the same way when run with debug runtime:

 {{{
 $ make EXTRA_HC_OPTS=-debug TEST=T11627b WAY=prof_hb
 ...
 =====> T11627b(prof_hb) 1 of 1 [0, 0, 0]
 cd "profiling/should_run/T11627b.run" &&
 "/home/omer/haskell/ghc_4/inplace/test   spaces/ghc-stage2" -o T11627b
 T11627b.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -debug
 -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-
 color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output
 -O -prof -static -fprof-auto
 cd "profiling/should_run/T11627b.run" && ./T11627b +RTS -hb -RTS +RTS -i0
 -RTS
 Wrong exit code for T11627b(prof_hb)(expected 0 , actual 134 )
 Stderr ( T11627b ):
 T11627b: internal error: ASSERTION FAILED: file rts/ProfHeap.c, line 200

     (GHC version 8.7.20181115 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 *** unexpected failure for T11627b(prof_hb)

 Unexpected results from:
 TEST="T11627b"
 }}}

 Only tried with GHC HEAD.

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


More information about the ghc-tickets mailing list