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

ICorDebugRegisterSet.GetThreadContext fails on macOS arm64 #104816

Closed
gregg-miskelly opened this issue Jul 12, 2024 · 2 comments · Fixed by #104847
Closed

ICorDebugRegisterSet.GetThreadContext fails on macOS arm64 #104816

gregg-miskelly opened this issue Jul 12, 2024 · 2 comments · Fixed by #104847
Assignees
Labels
area-Diagnostics-coreclr blocking Marks issues that we want to fast track in order to unblock other important work
Milestone

Comments

@gregg-miskelly
Copy link
Contributor

gregg-miskelly commented Jul 12, 2024

Description

In .NET 9 preview 7 builds, ICorDebugRegisterSet.GetThreadContext is failing on macOS arm64 with HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) (-2147024774).

Reproduction Steps

  1. Install latest .NET
  2. Create a console application
  3. Open the folder in VS Code
  4. Set a breakpoint on the Console.WriteLine line
  5. Run

Expected behavior

Debugger should successfully produce a call stack

Actual behavior

Debugger fails to produce a call stack when the breakpoint is hit

Regression?

Regression from preview 6

Known Workarounds

No response

Configuration

No response

Other information

No response

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 12, 2024
Copy link
Contributor

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

@tommcdon tommcdon added this to the 9.0.0 milestone Jul 12, 2024
@tommcdon tommcdon added blocking Marks issues that we want to fast track in order to unblock other important work and removed untriaged New issue has not been triaged by the area owner labels Jul 12, 2024
@tommcdon
Copy link
Member

Regression caused by #103801

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Diagnostics-coreclr blocking Marks issues that we want to fast track in order to unblock other important work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants