Skip to content

Assertion failure in LDV profiler

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.

Trac metadata
Trac field Value
Version 8.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Profiling
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information