On Mon, 12 Sept 2022 at 10:44, Gabriele Svelto <[email protected]> wrote:

> 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:
>

We did actually encounter these exceptions a while back in JAR code.
We were loading an extension JAR by mapping it, and when the network shared
drive got disconnected, we got EXCEPTION_IN_PAGE_ERROR_READ /
STATUS_DEVICE_DATA_ERROR or similar. See
https://bugzilla.mozilla.org/show_bug.cgi?id=1551562#c26
We fixed this on windows by handling that exception specifically - I think
this should not happen unless we are using mmaped memory (which we usually
aren't).


>
>
> 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
>
> --
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/569ba5c6-76c9-5286-c7db-143cfbaa5e81%40mozilla.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CACQYfiLOR6kzsfFr%2BcSe08aXAfQCfu_25i_%3DH1FuAvH8bJsVMg%40mail.gmail.com.

Reply via email to