When running a Haskell process in a set of Kubernetes-style provisioned VMs, we've encountered VM instances that encounter this error:
semanticd: internal error: Itimer: read(timerfd) failed (GHC version 8.8.1 for x86_64_unknown_linux) Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
As per the above, I'm filing this (though it doesn't happen reliably).
Steps to reproduce
I apologize, but we haven't determined circumstances that reproduce this crash. I will update this report if this changes.
Expected behavior
Not crash.
Environment
GHC version used: 8.8.1
Optional:
Operating System: virtualized Debian stable
System Architecture: x86
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Thanks @hsyl20! It will be interesting to see what this turns up. I don't recall every seeing this particular fail mode in the past and it seems like we handle the obvious EINTR case so I'm at a bit of a loss as to what could be at fault.
It sounds like @hsyl20 may have found a likely culprit. @hsyl20, perhaps you would like to open an MR accepting errno=0 (with a comment pointing to the LKML thread)?
Thanks for the fix, but by now it's been found that it's not a kernel bug, so the added comment is wrong and the man-page provides the real reason, see my detail reply in: