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

Properly use result value for dump IPC cmd #60726

Merged
merged 2 commits into from
Oct 27, 2021

Conversation

josalem
Copy link
Contributor

@josalem josalem commented Oct 21, 2021

@lateralusX caught a small error in the dump IPC command error handling while doing some refactoring. Pulling out the fix for that observation into a separate PR for easier backporting.

Currently, the dump IPC command will always return "false" even if the dump is successful. This change fixes up the error handling to use the actual error code from creating the dump.

CC @tommcdon

@josalem josalem added this to the 7.0.0 milestone Oct 21, 2021
@josalem josalem requested review from lateralusX and a team October 21, 2021 18:33
@josalem josalem self-assigned this Oct 21, 2021
@ghost
Copy link

ghost commented Oct 21, 2021

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

Issue Details

@lateralusX caught a small error in the dump IPC command error handling while doing some refactoring. Pulling out the fix for that observation into a separate PR for easier backporting.

Currently, the dump IPC command will always return "false" even if the dump is successful. This change fixes up the error handling to use the actual error code from creating the dump.

CC @tommcdon

Author: josalem
Assignees: josalem
Labels:

area-Diagnostics-coreclr

Milestone: 7.0.0

@lateralusX
Copy link
Member

lateralusX commented Oct 25, 2021

All creds finding this issue goes to @am11 and @lambdageek, thanks for bringing it to my attention.

@josalem
Copy link
Contributor Author

josalem commented Oct 25, 2021

The remaining test failures appear to be #60705. I'll merge today

@josalem josalem merged commit b0b0b14 into dotnet:main Oct 27, 2021
@josalem josalem deleted the dev/josalem/fix-dump-errorcode branch October 27, 2021 00:10
@ghost ghost locked as resolved and limited conversation to collaborators Nov 26, 2021
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.

4 participants