On 12/09/22 03:26, Jeff Muizelaar wrote:
> Is the current detection using reason: "EXCEPTION_IN_PAGE_ERROR_READ /
> STATUS_DEVICE_DATA_ERROR" to detect bad hardware? Is it possible to
> get this exception reason when using a network drive along with a
> flaky network?
I don't think so, all the references I found about it indicate that it's
what the NT kernel throws when hitting bad blocks on a drive (see
below). Looking at the type of errors we get on Socorro I think that
other codes are used for network issues:
https://crash-stats.mozilla.org/search/?reason=~EXCEPTION_IN_PAGE_ERROR_READ&_facets=signature&_facets=reason#facet-reason
In particular I'd say that STATUS_UNEXPECTED_NETWORK_ERROR,
STATUS_CONNECTION_DISCONNECTED, STATUS_BAD_NETWORK_PATH,
STATUS_CONNECTION_ABORTED, STATUS_INVALID_CONNECTION and
STATUS_CONNECTION_RESET should be the ones indicating an issue with a
network drive.
Note that there's a lot of other potential candidates in there to be
ignored as non-actionable. STATUS_IN_PAGE_ERROR being one of them (and
high-volume too). I found this doc:
https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-ERREF/%5BMS-ERREF%5D-210407-diff.pdf
describing it as "The required data was not placed into memory because
of an I/O error status [...]". The same document describes
STATUS_DEVICE_DATA_ERROR as "There are bad blocks (sectors) on the hard
disk."
Gabriele