[GHC] #8014: Assertion failure when using multithreading in debug mode.
GHC
ghc-devs at haskell.org
Thu Jun 27 00:21:07 CEST 2013
#8014: Assertion failure when using multithreading in debug mode.
-----------------------------+----------------------------------------------
Reporter: Maxander | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.2 | Keywords:
Os: Unknown/Multiple | Architecture: x86
Failure: None/Unknown | Blockedby:
Blocking: | Related:
-----------------------------+----------------------------------------------
Using the -debug compiler option in search of a (hopefully unrelated) bug,
I've begun to receive the following error message a few seconds after
starting my program;
{{{
Multi: internal error: ASSERTION FAILED: file rts/Schedule.c, line 1311
(GHC version 7.6.2 for x86_64_unknown_linux)
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
Aborted
}}}
When I have time and if this site allows, I'll try to find what precisely
in my code is generating the error and add that to this ticket. Until
then, what information I can give:
- Running the same executable in non-threaded mode (executing with "+RTS
N1" rather than "+RTS N2" or greater) produces no error.
- The program calls into C using the FFI interface, and there is also a
callback from C back into Haskell. This would be happening around when
the error occurs.
- For reasons I presume to have to do with the C++ code, the program
segfaults after extended execution; this is the hopefully unrelated bug I
was after when I found this.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/8014>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list