EBADF fd is not a valid file handle. EIO A hard I/O error occurred. EFAULT statbuf points to an invalid address.