[GHC] #8608: internal error: ARR_WORDS object entered!

GHC ghc-devs at haskell.org
Tue Dec 10 23:42:42 UTC 2013


#8608: internal error: ARR_WORDS object entered!
----------------------------+----------------------------------
       Reporter:  Rothiph   |             Owner:
           Type:  bug       |            Status:  new
       Priority:  normal    |         Milestone:
      Component:  Compiler  |           Version:  7.6.3
       Keywords:            |  Operating System:  Windows
   Architecture:  x86       |   Type of failure:  Runtime crash
     Difficulty:  Unknown   |         Test Case:
     Blocked By:            |          Blocking:
Related Tickets:            |
----------------------------+----------------------------------
 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?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8608>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list