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

Mark forward delegate stubs as not having hidden arguments #62617

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Dec 10, 2021

Forward delegate interop stubs do not use hidden argument. The hidden argument passed to them is a random value that can lead to crash during stackwalking.

Fixes #62613

Forward delegate interop stubs do not use hidden argument. The hidden argument passed to them is a random value that can lead to crash during stackwalking.

Fixes dotnet#62613
@ghost
Copy link

ghost commented Dec 10, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Forward delegate interop stubs do not use hidden argument. The hidden argument passed to them is a random value that can lead to crash during stackwalking.

Fixes #62613

Author: jkotas
Assignees: -
Labels:

area-System.Net.Quic

Milestone: -

@jkotas
Copy link
Member Author

jkotas commented Dec 10, 2021

The crash was introduced as side-effect of #62271. The random hidden arg value was overwritten by a bogus, but predictable value, that was avoiding the crash with a lot of luck.

@danmoseley
Copy link
Member

@maryamariyan mislabeling here was remarkable. Btw is it time for another retraining?

@jkotas
Copy link
Member Author

jkotas commented Dec 10, 2021

The bot labelled it based on the linked issue.

@jkoritzinsky jkoritzinsky merged commit f1ab6d7 into dotnet:main Dec 10, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 9, 2022
@jkotas jkotas deleted the issue-62613 branch February 9, 2022 03:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash caused by corrupted stack in System.Net.Quic tests
3 participants