Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release/6.0.1: Preserve last error in call-counting stubs #60887

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 26, 2021

Backport of #60886 to release/6.0

/cc @jkotas

Customer Impact

Intermittent corruption of error code returned by Marshal.GetLastSystemError/GetLastPInvokeError APIs . This bug can manifest itself as a wrong exception being thrown, or as a bogus exception being thrown when PInvoke succeed. The bug manifested itself at least 3 times in dotnet/runtime CI in last month.

Testing

No reliable repro, fix verified by stepping through the code in debugger.

Risk

Low.

@jkotas jkotas changed the title [release/6.0] Preserve last error in call-counting stubs release/6.0.1: Preserve last error in call-counting stubs Oct 26, 2021
@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Oct 26, 2021
@jeffschwMSFT jeffschwMSFT modified the milestones: 6.0.1, 6.0.0 Oct 26, 2021
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. We will take for consideration in .NET 6 servicing

@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 28, 2021
@leecow leecow modified the milestones: 6.0.0, 6.0.1 Oct 28, 2021
@leecow leecow added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-approved Approved for servicing release Servicing-consider Issue for next servicing release review labels Oct 28, 2021
@Anipik
Copy link
Contributor

Anipik commented Nov 10, 2021

/azp run runtime, runtime-dev-innerloop, dotnet-linker-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@Anipik
Copy link
Contributor

Anipik commented Nov 11, 2021

/azp run runtime, runtime-dev-innerloop, dotnet-linker-tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Anipik Anipik merged commit 9b58e44 into release/6.0 Nov 11, 2021
@Anipik Anipik deleted the backport/pr-60886-to-release/6.0 branch November 11, 2021 23:36
@ghost ghost locked as resolved and limited conversation to collaborators Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants