Skip to content

ASSERTION FAILED: file rts/LdvProfile.c, line 48

Found this working on #11978 (closed).

$ cat hello.hs 
main :: IO ()
main = putStrLn "Hello"

$ ghc -fforce-recomp -prof -threaded -debug --make hello.hs -o hello
[1 of 1] Compiling Main             ( hello-world.hs, hello-world.o )
Linking hello ...

$ ./hello +RTS -hb -DS -N1
7f68030c1700: cap 0: initialised
Hello
7f68030c1700: cap 0: shutting down
hello-world: internal error: ASSERTION FAILED: file rts/LdvProfile.c, line 48

    (GHC version 7.10.3 for x86_64_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted

Also tried this with git HEAD and get the same result.

Trac metadata
Trac field Value
Version 7.10.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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