Skip to content

Conversation

@mikelle-rogers
Copy link
Member

Add additional size to the buffer to read DisableOptData from memory before passing the IPCEvent.

@ghost
Copy link

ghost commented Jan 24, 2024

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

Issue Details

Add additional size to the buffer to read DisableOptData from memory before passing the IPCEvent.

Author: mikelle-rogers
Assignees: mikelle-rogers
Labels:

area-Diagnostics-coreclr

Milestone: -

@hoyosjs hoyosjs added this to the 9.0.0 milestone Jan 24, 2024
break;

default:
printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you change this to a stress log too?

break;

default:
printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));
Copy link
Member

Choose a reason for hiding this comment

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

Can you please also turn this into a stress log statement too?

break;

default:
printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));
STRESS_LOG1("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK));

@ghost ghost added the needs-author-action An issue or pull request that requires more info or actions from the author. label Jan 24, 2024
@ghost ghost removed the needs-author-action An issue or pull request that requires more info or actions from the author. label Jan 24, 2024
Copy link
Contributor

@davmason davmason left a comment

Choose a reason for hiding this comment

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

LGTM

@hoyosjs
Copy link
Member

hoyosjs commented Jan 24, 2024

/backport to release/8.0-staging

@github-actions
Copy link
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/7647065981

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.

ICorDebugFunction5::DisableOpimizations causes target app to be terminated on Linux

3 participants