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

Fix dump generation issues for VS4Mac #61063

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

mikem8361
Copy link
Member

Customer Impact

The VS4Mac team found two issues preventing them from successfully diagnosing VS4Mac failures
on .NET:

  1. Multiple "crashed" threads in the crash report json (createdump crash report can have multiple threads indicated as crashed #60932).
  2. No flag or way to generate the crash report for hangs via the diagnostic server IPC commands (Add generate crash report flag (and other flags) to WriteDump diagnostics IPC message #60775).

Details

Add new generate core dump IPC command that allows the generate crash report flag to be passed through to createdump for VS4Mac. VS4Mac needs to distinguish between WriteDump/no signal and unknown signal ExceptionType. Change unknown signal exception type to 0. Issue: #60775

Fix how the load bias is calculate for shared modules.

Testing

Local testing with the SOS tests. VS4Mac team testing and verification.

Risk

Low risk because it only affects createdump, dump IPC command and the runtime dump generation path.

The VS4Mac team found two issues preventing them from successfully diagnosing VS4Mac failures
on .NET:

1) Multiple "crashed" threads in the crash report json (dotnet#60932).
2) No flag or way to generate the crash report for hangs via the diagnostic server IPC commands (dotnet#60775).

Add new generate core dump IPC command that allows the generate crash report flag to be passed through to createdump for
VS4Mac. VS4Mac needs to distinguish between WriteDump/no signal and unknown signal ExceptionType. Change unknown signal
exception type to 0.

Issue: dotnet#60775

Fix how the load bias is calculate for shared modules

Local testing with the SOS tests. VS4Mac team testing and verification.

Low risk because it only affects createdump, dump IPC command and the runtime dump generation path.
@ghost
Copy link

ghost commented Nov 1, 2021

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

Issue Details

Customer Impact

The VS4Mac team found two issues preventing them from successfully diagnosing VS4Mac failures
on .NET:

  1. Multiple "crashed" threads in the crash report json (createdump crash report can have multiple threads indicated as crashed #60932).
  2. No flag or way to generate the crash report for hangs via the diagnostic server IPC commands (Add generate crash report flag (and other flags) to WriteDump diagnostics IPC message #60775).

Details

Add new generate core dump IPC command that allows the generate crash report flag to be passed through to createdump for VS4Mac. VS4Mac needs to distinguish between WriteDump/no signal and unknown signal ExceptionType. Change unknown signal exception type to 0. Issue: #60775

Fix how the load bias is calculate for shared modules.

Testing

Local testing with the SOS tests. VS4Mac team testing and verification.

Risk

Low risk because it only affects createdump, dump IPC command and the runtime dump generation path.

Author: mikem8361
Assignees: mikem8361
Labels:

area-Diagnostics-coreclr

Milestone: 6.0.x

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

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 should take this for consideration in 6.0.x

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Nov 3, 2021
@jeffschwMSFT jeffschwMSFT modified the milestones: 6.0.x, 6.0.1 Nov 3, 2021
@Anipik Anipik merged commit c61ea3d into dotnet:release/6.0 Nov 9, 2021
@mikem8361 mikem8361 deleted the vs4macfixes60 branch November 9, 2021 20:42
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2021
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.

6 participants