-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[cDAC] Stack walk GC stress verification and fixes #126408
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
Draft
max-charlamb
wants to merge
23
commits into
dotnet:main
Choose a base branch
from
max-charlamb:cdac-stackreferences-5
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8db57e9
cDAC: stress framework improvements and stack walk bug fixes
c51d212
Address PR review feedback
090a110
Address additional PR feedback (batch 2)
81eaf17
Address PR feedback (batch 3)
b91fea7
Address PR feedback (batch 4)
776df02
Update stale x86 comments in CheckForSkippedFrames
8a34406
Update contract docs and address remaining PR feedback
5f914cc
Fix ReadPointerField type assertions for embedded types
af1c8b3
Document instruction-level GC stress results in known-issues.md
478dce9
Add FindReadyToRunModule fallback and refactor IsInterrupted tracking
4883828
Update known-issues with latest stress test analysis
1bbcdfc
Document ELEMENT_TYPE_INTERNAL root cause for 3 FRAME_DAC_ONLY failures
1936364
Add register info to FRAME_DIFF output and handle BadImageFormatExcep…
5a1953a
Add SP comparison to FRAME_DIFF output for unwinder verification
fc1f66a
Fix IsFirst not preserved for skipped frames causing scratch register…
4fbfd1f
Update known-issues: IsFirst fix resolved all 4 FRAME_DIFF failures
5f416b0
Address code review findings
a9107f2
Add cDAC stress tests to CI via Helix
5c63541
Add RuntimeSignatureDecoder with ELEMENT_TYPE_INTERNAL support
956efe8
Port ArgIterator from crossgen2 for calling convention analysis
9db0819
Address PR review feedback
de5cb46
Address remaining PR review comments
55229af
Fix Apple x64 ABI detection and thread MetadataReader through decoder
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| # prepare-cdac-stress-helix-steps.yml - Steps for preparing cDAC stress test Helix payloads. | ||
| # | ||
| # Used by CdacDumpTests stage in runtime-diagnostics.yml. | ||
| # Handles: building stress test debuggees, preparing Helix payload, finding testhost. | ||
|
|
||
| steps: | ||
| - script: $(Build.SourcesDirectory)$(dir).dotnet$(dir)dotnet$(exeExt) msbuild | ||
| $(Build.SourcesDirectory)/src/native/managed/cdac/tests/StressTests/Microsoft.Diagnostics.DataContractReader.StressTests.csproj | ||
| /t:BuildDebuggeesOnly | ||
| /p:Configuration=$(_BuildConfig) | ||
| /p:TargetArchitecture=$(archType) | ||
| -bl:$(Build.SourcesDirectory)/artifacts/log/BuildStressDebuggees.binlog | ||
| displayName: 'Build Stress Debuggees' | ||
|
|
||
| - script: $(Build.SourcesDirectory)$(dir).dotnet$(dir)dotnet$(exeExt) build | ||
| $(Build.SourcesDirectory)/src/native/managed/cdac/tests/StressTests/Microsoft.Diagnostics.DataContractReader.StressTests.csproj | ||
| /p:PrepareHelixPayload=true | ||
| /p:Configuration=$(_BuildConfig) | ||
| /p:HelixPayloadDir=$(Build.SourcesDirectory)/artifacts/helixPayload/cdac-stress | ||
| -bl:$(Build.SourcesDirectory)/artifacts/log/StressTestPayload.binlog | ||
| displayName: 'Prepare Stress Test Helix Payload' | ||
|
|
||
| - pwsh: | | ||
| $testhostDir = Get-ChildItem -Directory -Path "$(Build.SourcesDirectory)/artifacts/bin/testhost/net*-$(osGroup)-*-$(archType)" | Select-Object -First 1 -ExpandProperty FullName | ||
| if (-not $testhostDir) { | ||
| Write-Error "No testhost directory found" | ||
| exit 1 | ||
| } | ||
| Write-Host "TestHost root: $testhostDir" | ||
| Write-Host "##vso[task.setvariable variable=StressTestHostRootDir]$testhostDir" | ||
|
|
||
| $queue = switch ("$(osGroup)_$(archType)") { | ||
| "windows_x64" { "$(helix_windows_x64)" } | ||
| "windows_x86" { "$(helix_windows_x64)" } | ||
| "windows_arm64" { "$(helix_windows_arm64)" } | ||
| "linux_x64" { "$(helix_linux_x64_oldest)" } | ||
| "linux_arm64" { "$(helix_linux_arm64_oldest)" } | ||
| "linux_arm" { "$(helix_linux_arm32_oldest)" } | ||
| "osx_x64" { "$(helix_macos_x64)" } | ||
| "osx_arm64" { "$(helix_macos_arm64)" } | ||
| default { Write-Error "Unsupported platform: $(osGroup)_$(archType)"; exit 1 } | ||
| } | ||
| Write-Host "Helix queue: $queue" | ||
| Write-Host "##vso[task.setvariable variable=CdacStressHelixQueue]$queue" | ||
| displayName: 'Find Stress TestHost and Helix Queue' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.