GHC exited with error -24

Posted on November 17, 2016 by PhD
Tags: haskell, GHC, compilers, confusion, documentation

I was trying to compile something the other day, and after fighting with stack running out of memory when run with multithreading turned on (on a box with 4GB of ram??), I eventually got to a point where cabal, or GHC, or something else in the stack was exiting with error code -24.

What is error code -24?

As far as I can tell, no-one on the internet knows…