How can I stop Hint, a Haskell runtime interpreter library, from crashing the GHC interpreter?
It gives “Bus Error”, “Illegal Instruction” or “Segmentation Fault” when I try to load a module using it into the GHC interpreter. This a major problem and not just an annoyance because it also crashes my application when I use hint to load code that itself uses hint. I suspect this is related to the large amount of libraries Hint drags in when linking.
I am using Mac OS 10.6.8, GHC version 7.0.4
I solved this problem by explicitly passing the function to all code loaded.
For example, instead of doing
I did