Skip to content

Logins poison errors since per-field encryption landed. #4661

Closed

Description

@mhammond

as reported by @grigoryk eg, https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/14927128 and https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/14011601

Sadly, both of these are just a symptom of some other, as yet unknown error, which will be a panic while our mutex is held. Once that happens, all future attempts to use our APIs will result in a PoisonError like the links above - but it's not the code causing the PoisonError that we need to solve, it's the underlying panic.

Only 16 users so far, but we should try and nail this down.

┆Issue is synchronized with this Jira Bug
┆Epic: Sync Ecosystem (backlog)
┆Sprint End Date: 2022-02-03

Activity

  1. mhammond commented on Nov 18, 2021

    @mhammond
    MemberAuthor

    I wonder if the panics are actually making it to sentry - eg, https://sentry.prod.mozaws.net/operations/firefox-nightly/?query=device.family%3A%22IN2013%22+logins

    This is all events for a fairly obscure device - 8 events in total, 3 of which are these poison errors, and none of the others look like they should poison the mutex.

  2. mhammond commented on Nov 18, 2021

    @mhammond
    MemberAuthor

    ah ha - this report is pointing at this sync code

  3. bendk commented on Nov 19, 2021

    @bendk
    Contributor

    I made #4667 for that particular piece of code.

  4. Amejia481 commented on Dec 20, 2021

    @Amejia481

    @mhammond and @bendk 👋🏽
    Just to make you aware that we have some new reports of this issue:
    mozilla-mobile/fenix#22910

  5. data-sync-user commented on Jan 20, 2022

    @data-sync-user
    Collaborator

    ➤ Janet Dragojevic commented:

    We believe this is fixed with a-s 86.2.2 - the main source of panics which cause poison errors.

    a-s 87.1.0 will have the “parking-lot” change which will fix the remainder of the errors - is in nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ Proxy