[GHC] #13767: GHCi trips -DS checks at rts/sm/Sanity.c, line 210

GHC ghc-devs at haskell.org
Mon May 29 23:10:15 UTC 2017


#13767: GHCi trips -DS checks at rts/sm/Sanity.c, line 210
-------------------------------------+-------------------------------------
           Reporter:  niteria        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Runtime        |           Version:  8.3
  System                             |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Error:
 {{{
 $ echo -e ":quit\n" | ./inplace/bin/ghc-stage2 --interactive +RTS -DS -RTS
 -ignore-dot-ghci
 GHCi, version 8.3.20170515: http://www.haskell.org/ghc/  :? for help
 Prelude> Leaving GHCi.
 ghc-stage2: internal error: ASSERTION FAILED: file rts/sm/Sanity.c, line
 210

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

 Steps to reproduce:
 * Set `BuildFlavour = prof` in `mk/build.mk`
 * Add `GhcLibWays        += p debug_p thr_debug_p` to `mk/build.mk`, I
 think you only need `thr_debug_p`
 * Build GHC
 * (cd ghc; make re2 GhcDebugged=YES), I think you can build it right away,
 but I'm not that familiar with the build system
 * `echo -e ":quit\n" | ./inplace/bin/ghc-stage2 --interactive +RTS -DS
 -RTS -ignore-dot-ghci`

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


More information about the ghc-tickets mailing list