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

allocaBytesAligned exception when calling version #266

Closed
willmcpherson2 opened this issue Apr 25, 2022 · 4 comments
Closed

allocaBytesAligned exception when calling version #266

willmcpherson2 opened this issue Apr 25, 2022 · 4 comments
Labels

Comments

@willmcpherson2
Copy link
Contributor

$ cabal repl
> import SDL (version)
> version
*** Exception: allocaBytesAligned: invalid argument (alignment (=3) must be a power of two!)

sdl2 version 2.5.3.2

GHC version 9.2.2

@willmcpherson2 willmcpherson2 changed the title allocaBytesAligned alignment exception when calling version allocaBytesAligned exception when calling version Apr 25, 2022
@dpwiz
Copy link
Member

dpwiz commented Apr 25, 2022

Please test the version from master. I tried to fix this a few days ago in #264.

@dpwiz dpwiz added the bug label Apr 25, 2022
@willmcpherson2
Copy link
Contributor Author

@dpwiz Yep, that fixed it. Tested on b4fe21c. Closing. Thanks!

@jchia
Copy link
Contributor

jchia commented Jun 19, 2022

Would you mind making a new release so that stackage nightly can pick it up for the GHC 9.2?

@dpwiz
Copy link
Member

dpwiz commented Jun 19, 2022

@jchia Thanks for the reminder. The fix is live.

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

No branches or pull requests

3 participants