[GHC] #15285: "strange closure type" in T7919 with the threaded2 way

GHC ghc-devs at haskell.org
Wed Aug 29 09:36:12 UTC 2018


#15285: "strange closure type" in T7919 with the threaded2 way
-------------------------------------+-------------------------------------
        Reporter:  alpmestan         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:  T7919
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 Looked at this ticket briefly today and managed to get at least 3
 different
 faiures with threaded runtime when sanity checks are enabled.

 {{{
 $ ./T7919 +RTS -DS -N >/dev/null
 Memory leak detected:
   gen 0 blocks :   204 blocks (   0.8 MB)
   gen 1 blocks :  2309 blocks (   9.0 MB)
   nursery      :  3074 blocks (  12.0 MB)
   retainer     :     0 blocks (   0.0 MB)
   arena blocks :     0 blocks (   0.0 MB)
   exec         :     0 blocks (   0.0 MB)
   GC free pool :    77 blocks (   0.3 MB)
   free         :  1895 blocks (   7.4 MB)
   total        :  7559 blocks (  29.5 MB)

   in system    :  7560 blocks (30 MB)

 Unreachable blocks:
 T7919: internal error: ASSERTION FAILED: file rts/sm/Sanity.c, line 992

     (GHC version 8.7.20180827 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 zsh: abort (core dumped)  ./T7919 +RTS -DS -N > /dev/null

 $ ./T7919 +RTS -DS -N >/dev/null
 T7919: internal error: ASSERTION FAILED: file rts/sm/BlockAlloc.c, line
 901

     (GHC version 8.7.20180827 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 zsh: abort (core dumped)  ./T7919 +RTS -DS -N > /dev/null

 rts git:(master) $ ./T7919 +RTS -DS -N >/dev/null
 T7919: internal error: ASSERTION FAILED: file rts/sm/BlockAlloc.c, line
 899

     (GHC version 8.7.20180827 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 zsh: abort (core dumped)  ./T7919 +RTS -DS -N > /dev/null
 }}}

 Some other failures without sanity checks (but with debug runtime):

 {{{
 $ ./T7919 +RTS -N >/dev/null
 T7919: internal error: ASSERTION FAILED: file rts/sm/Sanity.c, line 991

     (GHC version 8.7.20180827 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 zsh: abort (core dumped)  ./T7919 +RTS -N > /dev/null

 $ ./T7919 +RTS -N >/dev/null
 T7919: internal error: ASSERTION FAILED: file rts/sm/GCUtils.c, line 105

     (GHC version 8.7.20180827 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 zsh: abort (core dumped)  ./T7919 +RTS -N > /dev/null
 }}}

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


More information about the ghc-tickets mailing list