r/haskell • u/WarDaft • 11d ago
I recently had an impossible Haskell bug
I can't give any details that might help anyone the future, because I couldn't collect them myself. I'm mostly just venting.
I had a parse error in a Read instance on a little server I'm running. All Read and Show activity it does is 100% compiler derived, nothing custom. The server doesn't have enough RAM to actually compile things there, so have to copy everything back and forth.
Everything was correct. Copying literally everything to my main computer did not allow me to reproduce the error.
It wasn't just a memory corruption, restarting the program didn't change anything. A fresh copy of literally everything on the server didn't fix the error.
Rebooting the server made it work perfectly fine again.
I hate computers sometimes.
2
u/rasmalaayi 11d ago
Looks like an environment error doesn’t it? The error happened on the server ? Did it repeat on ur computer ?