Add AVRepro console app for reproducing arm64 AccessViolationException#104
Draft
Add AVRepro console app for reproducing arm64 AccessViolationException#104
Conversation
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add new C# console app to reproduce AccessViolationException
Add AVRepro console app for reproducing arm64 AccessViolationException
Jan 19, 2026
adamsitnik
reviewed
Jan 19, 2026
adamsitnik
reviewed
Jan 19, 2026
Owner
adamsitnik
left a comment
There was a problem hiding this comment.
@copilot You did exactly what I asked for, great! Since the problem does not reproduce, we need to do it more than once. Please address my comment.
.github/workflows/dotnet.yml
Outdated
Comment on lines
47
to
52
| - name: Run AVRepro with new API (osx-arm64) - macOS Only | ||
| if: runner.os == 'macOS' | ||
| run: ./AVRepro/bin/Release/net10.0/osx-arm64/publish/AVRepro --useNewAPI | ||
| - name: Run AVRepro with Process.Start (osx-arm64) - macOS Only | ||
| if: runner.os == 'macOS' | ||
| run: ./AVRepro/bin/Release/net10.0/osx-arm64/publish/AVRepro |
Owner
There was a problem hiding this comment.
let's introduce a loop and run the last two steps ten times
Contributor
Author
There was a problem hiding this comment.
Added a loop to run both AVRepro executions 10 times in commit d52d32c.
Co-authored-by: adamsitnik <6011991+adamsitnik@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds a test harness to reproduce AccessViolationException bugs (dotnet/runtime#123324, dotnet/runtime#112167) on arm64 macOS by spawning parallel processes using both standard and experimental APIs.
Changes
/bin/echoprocesses viaProcess.StartChildProcess.ExecuteAsyncAPIThe CI workflow runs both execution modes (with and without new API) 10 times sequentially to maximize the chances of reproducing the AccessViolationException issue.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.