Skip to content

internal error: ARR_WORDS object entered!

I'm using Windows 8.1 64-bit, the latest Windows SDK, and the latest Haskell Platform to rebuild a project. This project was previously building on Windows 7 64-bit with the same HP and a previous version of the Windows SDK. Source code for the project was unchanged, but my .cabal file was updated with different "extra-lib-dirs", "include-dirs", and "extra-libraries" fields.

When running this program after a cabal build I see the following error:

Segmentation fault/access violation in generated code

Using print statements I was able to locate the error as occurring during a call to an external DLL function.

I would assume this is a bug in my own code. Access violations are expected when misusing FFI, after all. However, I get a different error when compiling with profiling, and then executing with Main.exe +RTS -xc:

Main.exe: internal error: ARR_WORDS object entered!

(GHC version 7.6.3 for i386_unknown_mingw32)

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

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

Coming up with a minimal example would take time, but I can do that if someone thinks there is a possibility of this being a GHC bug. Is it possible for this message to appear under normal circumstances by programmer error?

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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