Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal error: ARR_WORDS object entered #30

Open
achirkin opened this issue Apr 4, 2021 · 1 comment
Open

internal error: ARR_WORDS object entered #30

achirkin opened this issue Apr 4, 2021 · 1 comment

Comments

@achirkin
Copy link
Owner

achirkin commented Apr 4, 2021

Function getBytes on ArrayBase type can crash with the following message:

internal error: ARR_WORDS object (0x...) entered!
    (GHC version 9.0.1 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

I have a workaround for that, but sadly it does not work anymore with GHC 9.0.1.

Here is the related issue:
https://gitlab.haskell.org/ghc/ghc/-/issues/19645

@achirkin
Copy link
Owner Author

achirkin commented Apr 7, 2021

A better workaround is now in place via a0ae7f5

A fix from GHC team is also coming; todo: remove the workaround conditionally on fixed GHC versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant