#8748: ghc-7.8-rc1/HEAD: --enable-unregisterised fails to build and run with threaded RTS, profiling mode -------------------------------------+------------------------------------ Reporter: slyfox | Owner: Type: bug | Status: patch Priority: high | Milestone: 7.8.1 Component: Compiler | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: 8301 -------------------------------------+------------------------------------ Comment (by Austin Seipp <austin@…>): In [changeset:"ebace6969f0ec85b1caa0fea265a5f9990a23b2e/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="ebace6969f0ec85b1caa0fea265a5f9990a23b2e" rts/Capability.c: fix crash in -threaded mode on UNREG build UNREG mode has quite nasty invariant to maintain: capabilities[0] == &MainCapability and it's a non-heap memory, while other capabilities are dynamically allocated. Issue #8748 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Austin Seipp <austin@well-typed.com> }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8748#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler