-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Disable failing ToString_Async test on Apple mobile with CoreCLR R2R and interpreter #124037
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a garbage collection protection bug in the AsyncHelpers_AddContinuationToExInternal function by adding GCPROTECT_BEGIN and GCPROTECT_END around the call to StackTraceInfo::AppendElement. This function was introduced in PR #122722 which implemented runtime-async exception stack trace collection.
Changes:
- Added GCPROTECT for the exception object reference in
AsyncHelpers_AddContinuationToExInternalto prevent crashes from GC moving the object during stack trace appending - Removed trailing whitespace from multiple lines throughout the file for code formatting consistency
src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
|
/ba-g Unrelated tvos crash with no actionable details "App terminated due to signal 11" |
…and interpreter (dotnet#124037) ## Description This PR disables failing test ToString_Async on Apple mobile. Tracking issue dotnet#124044 --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Description
This PR disables failing test ToString_Async on Apple mobile.
Tracking issue #124044