[GHC] #8308: Resurrect ticky code for counting constructor arity

GHC ghc-devs at haskell.org
Tue May 24 16:26:38 UTC 2016


#8308: Resurrect ticky code for counting constructor arity
------------------------------+----------------------------------------
        Reporter:  jstolarek  |                Owner:
            Type:  task       |               Status:  new
        Priority:  normal     |            Milestone:  8.2.1
       Component:  Profiling  |              Version:  7.7
      Resolution:             |             Keywords:  newcomer
Operating System:  Windows    |         Architecture:  Unknown/Multiple
 Type of failure:  Other      |            Test Case:
      Blocked By:             |             Blocking:
 Related Tickets:             |  Differential Rev(s):  Phab:D931
       Wiki Page:             |
------------------------------+----------------------------------------
Changes (by thomie):

 * cc: Phyx- (added)
 * os:  Unknown/Multiple => Windows


Comment:

 On Windows, `T8308` fails with:

 {{{
 Actual stdout output differs from expected:
 ...
 -1
 +0
 *** unexpected failure for T8308(normal)
 }}}

 After running `make test TEST=T8308 CLEANUP=0`, the `.ticky` file contains
 this fishy looking histogram (note the `4294967296` entry):
 {{{
  The following table is explained by
 http://ghc.haskell.org/trac/ghc/wiki/Debugging/TickyTicky
  All allocation numbers are in bytes.

  **************************************************

      Entries      Alloc    Alloc'd  Non-void Arguments      STG Name
 --------------------------------------------------------------------------------
            1         16          0   1 I                    f{v rpA}
 (main at main:Main) (fun)

  **************************************************

 ...

          0 RET_UNBOXED_TUP_ctr
 4294967296 RET_NEW_hst_0
          0 RET_NEW_hst_1

 ...
 }}}

 @mlen: any idea? Perhaps a known issue with ticky on Windows?

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


More information about the ghc-tickets mailing list