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] Prevent AV in processinfo2 while suspended on Mono. #58158

Merged
merged 2 commits into from
Aug 27, 2021

Conversation

github-actions[bot]
Copy link
Contributor

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

Backport of #58099 to release/6.0

/cc @lateralusX

Customer Impact

Sending the new processinfo2 IPC command to a Mono runtime will crash runtime, in case where runtime have been setup to suspended on start up. Primarily used by CoreCLR profiler during start up, so not a scenario for Mono, but command could still have value and should not crash runtime if used when runtime has been suspended during start up.

Testing

There are new automated tests running on CI covering this new command, problem was that it was marked as JIT sensitive (no tiered JIT) and didn't run on Mono meaning that CoreCLR fix for this was not done on Mono and test didn't fail. #58106 looks at enabling these tests on main and could potentially be backported once done.

Risk

Low (similar fix already done on CoreCLR).

#55379 only fixed CoreCLR. This
commit makes similar fix in Mono as well, making sure
src/tests/tracing/eventpipe/diagnosticport runtime test pass on Mono.
@ghost
Copy link

ghost commented Aug 26, 2021

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

Issue Details

Backport of #58099 to release/6.0

/cc @lateralusX

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

Co-authored-by: Martin Costello <martin@martincostello.com>
@steveisok steveisok merged commit 824368b into release/6.0 Aug 27, 2021
@akoeplinger akoeplinger deleted the backport/pr-58099-to-release/6.0 branch August 28, 2021 22:03
@ghost ghost locked as resolved and limited conversation to collaborators Sep 27, 2021
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.

5 participants