In some situations, PTRACE_PEEKDATA returns `Input/output error` (errno=EIO). This should be investigated and defended against.