Skip to content

unexpected FailFast in AddIfNoPrefixCollisionDetected when _partList.IndexOfKey returns -1 for a partUri that is present in the list (timing issue) #3563

Closed

Description

@SamBent

When two threads load application resources from one of the predefined packages, there is a race condition that can corrupt the package's cache. The result is a hard crash (FailFast).

[Port of a servicing fix in .NET 4.7/4.8].

Activity

  1. added
    Bug
    netfx-servicing-approved
    on Sep 24, 2020
  2. added this to the 5.0.0 milestone on Sep 24, 2020
  3. self-assigned this
    on Sep 24, 2020
  4. ghost removed this from the 5.0.0 milestone on Sep 28, 2020
  5. ClosetBugSlayer commented on Oct 3, 2020

    @ClosetBugSlayer

    This sounds like yet another symptom of #3411 . You will find more.

  6. SamBent commented on Aug 17, 2021

    @SamBent
    ContributorAuthor

    Fix ported to 3.1.19, 5.0.0, 6.0.

  7. ghost locked as resolved and limited conversation to collaborators on Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Bugnetfx-servicing-approved

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions