#4811: Internal error: throwTo: unrecognised why_blocked value -------------------------------+-------------------------------------------- Reporter: mitar | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.1 | Keywords: Testcase: | Blockedby: Os: Linux | Blocking: Architecture: x86_64 (amd64) | Failure: None/Unknown -------------------------------+-------------------------------------------- I am getting this error:
{{{ internal error: throwTo: unrecognised why_blocked value (GHC version 7.1.20101124 for x86_64_unknown_linux) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} Sadly I was unable to make a simple test case. It is a program build upon [http://hackage.haskell.org/package/Etage Etage] with heavy FFI (X11, webcam capture, [http://hackage.haskell.org/package/NXT NXT interface]) and threading. Problem is reproducible. It does not happen always, but in let's say 10 % of program runs. Program is compiled with `-threaded -O2` and it happens only if I pass `+RTS -N2` (or bigger `-N`) parameter. With only `-N1` it seems it does not happen. If somebody wants I can send him/her whole program. You do not need a webcam or NXT as this happens when there is nothing connected to the computer and program prematurely exists because of this. Or you can guide me what and how should I debug. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4811> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs