
#11978: running a profiled build of shake test suite with rts args +RTS -hb -N10 triggers SIGSEGV ---------------------------------+---------------------------------------- Reporter: carter | Owner: erikd Type: bug | Status: patch Priority: highest | Milestone: 8.0.2 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #4820 | Differential Rev(s): Phab:D2174 Wiki Page: | ---------------------------------+---------------------------------------- Comment (by erikd): Even with the `MSG_THROWTO` issue with `overwritingClosure()` fixed, I'm still getting a failure for the assertion I added. The back trace looks like: {{{ T11978b: internal error: ASSERTION FAILED: file includes/rts/storage/ClosureMacros.h, line 551 (GHC version 8.1.20160504 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fffcaffd700 (LWP 30814)] 0x00007ffff6ec0478 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff6ec0478 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00007ffff6ec18fa in __GI_abort () at abort.c:89 #2 0x00000000004dc8bc in rtsFatalInternalErrorFn (s=0x550808 "ASSERTION FAILED: file %s, line %u\n", ap=0x7fffcaff8cb8) at rts/RtsMessages.c:182 #3 0x00000000004dc4ee in barf (s=0x550808 "ASSERTION FAILED: file %s, line %u\n") at rts/RtsMessages.c:46 #4 0x00000000004dc551 in _assertFail (filename=0x54c3c0 "includes/rts/storage/ClosureMacros.h", linenum=551) at rts/RtsMessages.c:61 #5 0x00000000004c7127 in overwritingClosure (p=0x200180748) at includes/rts/storage/ClosureMacros.h:551 #6 0x00000000004e031d in threadPaused (cap=0x7b6340, tso=0x200087c00) at rts/ThreadPaused.c:310 #7 0x00000000004f7d51 in stg_returnToSched () #8 0x0000000000000000 in ?? () }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11978#comment:22 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler