| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR backports changes to support special user mode APC handling in thread suspension and debugging paths.
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/coreclr/vm/threadsuspend.cpp | Added APC handling in thread suspension, new method MarkForSuspensionAndWait, and overload for HandleSuspensionForInterruptedThread. |
| src/coreclr/vm/threads.h | Updated thread state flags, friend declarations, and protected member methods. |
| src/coreclr/vm/dbginterface.h, debugger.h, debugger.cpp | Introduced SingleStepToExitApcCall support for APC callbacks during debugging. |
| src/coreclr/debug/ee/controller.cpp | Modified exception dispatch to manage APC exit using the new thread state flags. |
src/coreclr/vm/threadsuspend.cpp:4241
#ifdef FEATURE_SPECIAL_USER_MODE_APC
Sorry, something went wrong.
|
Tagging subscribers to this area: @mangod9 |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm. we will take for consideration in 9.0.x
Sorry, something went wrong.
|
@thaystg friendly reminder that code complete is on Monday May 12th (2:00 PM Pacific) for the June Release. If you'd like to get this change included in that release, please merge this PR before the deadline. |
Sorry, something went wrong.
|
/ba know failures. |
Sorry, something went wrong.
|
/ba-g unrelated failures |
Sorry, something went wrong.
|
/ba known failures. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #111408 to release/9.0-staging
/cc @thaystg
Customer Impact
Crashes during debugging when pausing in VS2022/.NET9 #110552
When a customer tries to pause an app that is running under the debugger, it may crash the app. This was very easy to reproduce using the sample provided in the issue.
CET + APC enabled caused a lot of issues and this is one of them. I think we should fix it because this is probably affecting a lot of customers that didn't open an issue because it's not easy to share a repro sample.
Regression
Testing
Manually tested.
Risk
Medium risk, we are changing how we pause the threads in an Async Pause asked by the customer while debugging.