Skip to content

withFile: invalid argument (alignment (=6) must be a power of two!)

Hello, After upgrading to ghc-9.2.1, I get this cryptic error when running my program... which compiles rather well before. This is on windows 10. The program runs fine when compiled with ghc-9.0.1. The error seems to occur when I try to open a file, and doesn't seem to be related to any hastily updated libraries. I use quite a lot of them (conduit, aeson, etc...) I couldn't reproduce it with a minimal example though, I will try harder, but does this message ring a bell to anyone ? Thanks, B

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information