Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,239
    • Issues 5,239
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 566
    • Merge requests 566
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #14096
Closed
Open
Issue created Aug 07, 2017 by Ben Gamari@bgamari🐢Maintainer

Residency profiling with eventlog enabled breaks

The RTS panics when a program compiled with -eventlog is run with +RTS -l -h,

trec-car-graph-expansion: internal error: getHeapProfBreakdown: unknown heap profiling mode       
Stack trace:                 0x2122e2f    set_initial_registers (rts/Libdw.c:288.0)      
            0x7f98bbdfb8b8    dwfl_thread_getframes (/usr/lib/x86_64-linux-gnu/libdw-0.168.so)
            0x7f98bbdfb347    (null) (/usr/lib/x86_64-linux-gnu/libdw-0.168.so)               
            0x7f98bbdfb673    dwfl_getthreads (/usr/lib/x86_64-linux-gnu/libdw-0.168.so)              
            0x7f98bbdfbc30    dwfl_getthread_frames (/usr/lib/x86_64-linux-gnu/libdw-0.168.so)                                                             
                 0x212342d    libdwGetBacktrace (rts/Libdw.c:259.0)                                                                            
                 0x2127aab    rtsFatalInternalErrorFn (rts/RtsMessages.c:169.0)                   
                 0x2127c6d    barf (rts/RtsMessages.c:47.0)                                            
                 0x2136824    postHeapProfBegin (rts/eventlog/EventLog.c:1147.0)                                                                                                                      0x21443bb    initHeapProfiling.part.5 (rts/ProfHeap.c:464.0)                  
                 0x211cc16    hs_init_ghc (rts/RtsStartup.c:268.0)                                       
                 0x2128bb3    hs_main (rts/RtsMain.c:63.0)                                            
                  0x4cfc8d    (null) (/home/ben/trec-car/mediawiki-annotate/dist-newstyle/build/x86_64-linux/ghc-8.2.1/trec-car-graph-expansion-0.1.0.0/c/trec-car-graph-expansion/bu
ild/trec-car-graph-expansion/trec-car-graph-expansion)                                            
            0x7f98bba4a2b1    __libc_start_main (../csu/libc-start.c:325.0)
                  0x40ba1a    _start (/home/ben/trec-car/mediawiki-annotate/dist-newstyle/build/x86_64-linux/ghc-8.2.1/trec-car-graph-expansion-0.1.0.0/c/trec-car-graph-expansion/bu
ild/trec-car-graph-expansion/trec-car-graph-expansion)                                             
                                                              
    (GHC version 8.2.1 for x86_64_unknown_linux)                                                      
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug                
Trac metadata
Trac field Value
Version 8.2.1
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
Assignee
Assign to
Time tracking