Skip to content

[release/6.0] Fix dump creation on MacOS Ventura #79365

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

Merged
merged 2 commits into from
Jan 5, 2023

Conversation

mikem8361
Copy link
Contributor

@mikem8361 mikem8361 commented Dec 7, 2022

Backport of #79356 to release/6.0

Use the task_info(TASK_DYLD_INFO) API to get the dylinker info instead of enumerating all the memory regions. This now works on the new MacOS version (Ventura) and simplifies the module enumeration quite a bit.

Issue: #79355

Customer Impact

The new MacOS version, Ventura, broke core dump generation. This greatly affects VS4Mac Watson triage.

Testing

The VS4Mac team has verified fix on both x64/arm64 Ventura.

Risk

Low risk. Affects only MacOS createdump.

Use the task_info(TASK_DYLD_INFO) API to get the dylinker info instead of
enumerating all the memory regions. This works on Ventura and simplifies
the module enumeration quite a bit.
@mikem8361 mikem8361 requested a review from hoyosjs December 7, 2022 22:34
@mikem8361 mikem8361 self-assigned this Dec 7, 2022
@ghost
Copy link

ghost commented Dec 7, 2022

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

Issue Details

Backport of #79356 to release/6.0

Use the task_info(TASK_DYLD_INFO) API to get the dylinker info instead of enumerating all the memory regions. This works on Ventura and simplifies the module enumeration quite a bit.

Issue: #79355

Customer Impact

This greatly affects VS4Mac Watson triage which 35% of their crash reports are on Ventura.

Testing

The VS4Mac team has verified fix on both x64/arm64 Ventura.

Risk

Low risk. Affects only MacOS createdump.

Author: mikem8361
Assignees: mikem8361
Labels:

area-Diagnostics-coreclr

Milestone: -

@mikem8361 mikem8361 requested a review from tommcdon December 7, 2022 22:37
@mikem8361 mikem8361 changed the title Fix dump creation on MacOS Ventura [release/6.0] Fix dump creation on MacOS Ventura Dec 7, 2022
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. we will take for consideration in 7.0.x

@jeffschwMSFT jeffschwMSFT added the Servicing-consider Issue for next servicing release review label Dec 7, 2022
@jeffschwMSFT jeffschwMSFT added this to the 7.0.x milestone Dec 7, 2022
@jeffschwMSFT jeffschwMSFT added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Dec 8, 2022
@jeffschwMSFT jeffschwMSFT modified the milestones: 7.0.x, 7.0.3 Dec 8, 2022
@jeffschwMSFT
Copy link
Member

cc @mmitche

module is part of the core dump for the dump readers. They still need
to look up the "dyld_all_image_infos" symbol.
@carlossanlop
Copy link
Contributor

Approved by Tactics (6.0.14).
Signed off by area owners.
No OOB changes needed.
CI is green.
Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 8b70363 into dotnet:release/6.0 Jan 5, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 5, 2023
@mikem8361 mikem8361 deleted the venturafix60 branch February 9, 2023 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants