Skip to content

Runtime Internal Error with setNumCapabilities 1

On the HP 2013.2.0.0 on OS X 10.6, a program running a worker thread started with ForkIO and communicating over MVars crashes on exit with this error message:

out: internal error: stg_ap_p_ret

(GHC version 7.6.3 for i386_apple_darwin)

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

Only with setNumCapabilities 1, though. Works fine with the systems actual core count (>1).

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information