Skip to content

[release/9.0] Fix createdump 'stack smashing detected' error on arm64 - #108208

Merged
jeffschwMSFT merged 2 commits into
release/9.0from
backport/pr-108166-to-release/9.0
Sep 25, 2024
Merged

[release/9.0] Fix createdump 'stack smashing detected' error on arm64#108208
jeffschwMSFT merged 2 commits into
release/9.0from
backport/pr-108166-to-release/9.0

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Sep 24, 2024

Copy link
Copy Markdown
Contributor

Backport of #108166 to release/9.0

/cc @mikem8361

Customer Impact

  • Customer reported
  • Found internally

Customers (in this case RHEL dev) can not create core dumps on linux arm64 platforms.

This change restores the fix from PR #91865 by changing the size back to SpecialDiagInfoSize but uses the 4 parameter MemoryRegion constructor that doesn't assert the address/size is on a PAGE_SIZE alignment (PR #95433).

Issue: #108023

Regression

  • Yes
  • No

The changes from PR #91865 were reverted by PR #95433.

Testing

The dev that reported the issue has verified this fix.

Risk

Low. Restoring original working code.

The changes from PR #91865 were reverted by PR #95433.
This change restores the fix from PR #91865 by changing the size back to SpecialDiagInfoSize
but uses the 4 parameter MemoryRegion constructor that doesn't assert the address/size is on
a PAGE_SIZE alignment (PR #95433).
Issue: #108023
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@mikem8361mikem8361 self-assigned this Sep 24, 2024

@jeffschwMSFTjeffschwMSFT left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. we will take for consideration in GA

@jeffschwMSFTjeffschwMSFT added the Servicing-consider Issue for next servicing release review label Sep 24, 2024
@jeffschwMSFTjeffschwMSFT added this to the 9.0.0 milestone Sep 24, 2024
@jeffschwMSFTjeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Sep 25, 2024
@jeffschwMSFT
jeffschwMSFT merged commit bad31df into release/9.0Sep 25, 2024
@jkotas
jkotas deleted the backport/pr-108166-to-release/9.0 branch October 10, 2024 07:58
@github-actionsgithub-actionsBot locked and limited conversation to collaborators Nov 9, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Diagnostics-coreclrServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@am11@jeffschwMSFT@tommcdon@hoyosjs@mikem8361