Opened 9 months ago

Last modified 9 months ago

#9468 new bug

Internal error: resurrectThreads: thread blocked in a strange way: 10

Reported by: nh2 Owned by: simonmar
Priority: normal Milestone:
Component: Runtime System Version: 7.8.3
Keywords: Cc: edsko, simonmar, mail@…
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Runtime crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

When running this example program:

https://gist.github.com/nh2/0c68650b78b692e5f827#file-forkprocess-problem-hs

I get the error:

% ghc --make -O forkProcess-problem.hs -threaded && ./forkProcess-problem +RTS -N8
[1 of 1] Compiling Main ( forkProcess-problem.hs, forkProcess-problem.o )
Linking forkProcess-problem ...
forkProcess-problem: internal error: resurrectThreads: thread blocked in a strange way: 10
(GHC version 7.8.3 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Also happens for GHC 7.6.3. My machines are Ubuntu 12.04 and 14.04.

Change History (2)

comment:1 Changed 9 months ago by nh2

  • Cc mail@… added

comment:2 Changed 9 months ago by nh2

Constants.h seems to suggest that the 10 is BlockedOnCCall.

Note: See TracTickets for help on using tickets.