[GHC] #15065: T12903(profasm) produces a heap profile with out of sequence samples

GHC ghc-devs at haskell.org
Thu Apr 19 22:21:32 UTC 2018


#15065: T12903(profasm) produces a heap profile with out of sequence samples
-------------------------------------+-------------------------------------
           Reporter:  alpmestan      |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Profiling      |           Version:  8.5
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
  T12903(profasm)                    |
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 $ cd testsuite && make TEST="T12903" WAY="profasm" CLEANUP=0 ; cd ..
 [...]
 =====> T12903(profasm) 1 of 1 [0, 0, 0]
 cd "./rts/T12903.run" &&  "/home/alp/WT/ghc-slow-validate/inplace/test
 spaces/ghc-stage2" -o T12903 T12903.hs -dcore-lint -dcmm-lint -no-user-
 package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups
 -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output
 -O -prof -static -fprof-auto
 cd "./rts/T12903.run" && ./T12903 +RTS -hc -p -RTS
 cd "./rts/T12903.run" && "/home/alp/WT/ghc-slow-validate/inplace/test
 spaces/hp2ps" T12903
 hp2ps error when processing heap profile for T12903
 *** unexpected failure for T12903(profasm)
 [...]
 $ inplace/test\ \ \ spaces/hp2ps testsuite/tests/rts/T12903.run/T12903
 hp2ps: testsuite/tests/rts/T12903.run/T12903.hp, line 9, samples out of
 sequence
 $ cat testsuite/tests/rts/T12903.run/T12903.hp
 JOB "T12903 +RTS -hc -p"
 DATE "Wed Apr 18 11:59 2018"
 SAMPLE_UNIT "seconds"
 VALUE_UNIT "bytes"
 BEGIN_SAMPLE 0.000000
 END_SAMPLE 0.000000
 BEGIN_SAMPLE 0.004175
 END_SAMPLE 0.004175
 BEGIN_SAMPLE 0.000462
 END_SAMPLE 0.000462
 }}}

 This seems like an actual problem, completely unrelated to #12903, so I'm
 opening this ticket to track/fix this issue. I'll also mark T12903 as
 expected broken for the `profasm` way.

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


More information about the ghc-tickets mailing list