Skip to content

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Aug 8, 2025

bp_addrs now needs to contain a pointer slot for every single byte in the code.

Regressed after #118458

Fixes #118519

bp_addrs now needs to contain a pointer slot for every single byte in the code.
@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 15:36
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 8, 2025
@BrzVlad BrzVlad added area-Debugger-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Aug 8, 2025
Copy link
Contributor

@Copilot Copilot AI left a 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 memory allocation bug in the Mono ARM64 runtime's sequence point handling that was introduced by a recent regression. The issue was in the calculation of buffer size for storing breakpoint addresses.

Key Changes:

  • Fixed SeqPointInfo allocation size calculation to allocate space for every byte in the code rather than every 4 bytes

Copy link
Contributor

Tagging subscribers to this area: @thaystg, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

@thaystg
Copy link
Member

thaystg commented Aug 8, 2025

I will add the change in the backport PR.

thaystg added a commit that referenced this pull request Aug 8, 2025
@thaystg
Copy link
Member

thaystg commented Aug 8, 2025

/ba-g known failures.

@steveisok steveisok merged commit ee4be3d into dotnet:main Aug 8, 2025
66 of 69 checks passed
steveisok pushed a commit that referenced this pull request Sep 4, 2025
…118459)

* Fix assertion when stepping

* Backport of #118542

---------

Co-authored-by: Thays Grazia <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mac Catalyst apps crash upon launch

3 participants