RTS crashes

Sylvain Henry sylvain at haskus.fr
Mon Jun 3 09:12:00 UTC 2024


Which build flavour are you using? Are you enabling assertions only in 
the RTS?

 > This can't possibly be my fault!   I don't know if CI perhaps has 
these assertion switched off, so only I am seeing them?

Compiler performance tests are disabled in debug builds, cf 
testsuite/driver/testlib.py:

     # Compiler performance numbers change when debugging is on, making 
the results
     # useless and confusing. Therefore, skip if debugging is on.
     if config.compiler_debugged and is_compiler_stats_test:
         opts.skip = True

That could explain why we don't see this on CI in slow-validate jobs.

Sylvain


On 31/05/2024 12:43, Simon Peyton Jones wrote:
> In my private build of !12492 I'm getting some assertion failures in 
> CheckUnload (see below).
>
> This can't possibly be my fault!   I don't know if CI perhaps has 
> these assertion switched off, so only I am seeing them?
>
> I'd open a ticket but it may just be my bad, somehow
>
> Any ideas?
>
> Simon
>
>
> Stderr  run  ( MultiLayerModulesDefsGhci ):
> ghc: internal error: ASSERTION FAILED: file rts/CheckUnload.c, line 460
>
>     (GHC version 9.11.20240530 for x86_64_unknown_linux)
>     Please report this as a GHC bug: 
> https://www.haskell.org/ghc/reportabug
> Aborted
> *** unexpected failure for MultiLayerModulesDefsGhci(ghci)
> ]0;MultiLayerModulesDefsGhciReload(ghci) 4776 of 10144 [0, 1, 0] 
> ]0;InstanceMatching(normal) 4777 of 10144 [0, 1, 0] ]0;Running for 
> 5m51s [35433/36451], predicted 1s (98%) Wrong exit code for 
> MultiLayerModulesDefsGhciReload(ghci)(expected 0 , actual 134 )
> Stderr  run  ( MultiLayerModulesDefsGhciReload ):
> ghc: internal error: ASSERTION FAILED: file rts/CheckUnload.c, line 460
>
>     (GHC version 9.11.20240530 for x86_64_unknown_linux)
>     Please report this as a GHC bug: 
> https://www.haskell.org/ghc/reportabug
> Aborted
> *** unexpected failure for MultiLayerModulesDefsGhciReload(ghci)
> ]0;InstanceMatching1(normal) 4778 of 10144 [0, 2, 0] 
> ]0;MultiLayerModulesNoCode(ghci) 4779 of 10144 [0, 2, 0] Wrong exit 
> code for MultiLayerModulesNoCode(ghci)(expected 0 , actual 134 )
> Stderr  run  ( MultiLayerModulesNoCode ):
> ghc: internal error: ASSERTION FAILED: file rts/CheckUnload.c, line 460
>
>     (GHC version 9.11.20240530 for x86_64_unknown_linux)
>     Please report this as a GHC bug: 
> https://www.haskell.org/ghc/reportabug
> Aborted
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20240603/a2e1392e/attachment.html>


More information about the ghc-devs mailing list