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

GHC ghc-devs at haskell.org
Tue May 30 12:06:56 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 System    |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Description changed by niteria:

@@ -18,5 +18,3 @@
- * Add `GhcRTSWays        += 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
+ * Add `GhcRTSWays += thr_debug_p` to `mk/build.mk`
+ * Build GHC with `./boot; ./configure; GhcDebugged=YES make`
+ * relink with `(cd ghc; make re2 GhcDebugged=YES)`

New description:

 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 `GhcRTSWays += thr_debug_p` to `mk/build.mk`
 * Build GHC with `./boot; ./configure; GhcDebugged=YES make`
 * relink with `(cd ghc; make re2 GhcDebugged=YES)`
 * `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#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list