Skip to content

Prevent SOS CLR notification failures from wedging cdb - #5965

Draft
hoyosjs wants to merge 2 commits into
mainfrom
juhoyosa/fix-sos-clr-notification-wedge
Draft

Prevent SOS CLR notification failures from wedging cdb#5965
hoyosjs wants to merge 2 commits into
mainfrom
juhoyosa/fix-sos-clr-notification-wedge

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • Resume live dbgeng targets when CLR notification handling fails during SOS initialization or notification translation, while preserving successful break and continue semantics.
  • Preserve the primary DAC-load HRESULT and include dbgeng fallback failure context.
  • Add an SOSRunner assertion and deterministic pre-.NET 11 cDAC regression coverage for forward progress after repeated handler failures.

Issues addressed

Prevents !bpmd CLR-notification callbacks from leaving the target parked at KERNELBASE!RaiseException, which causes later SOS commands to report missing runtime or DAC failures.

Breaking changes

None.

Manual validation

Ran the live cdb fault repro with four consecutive CLR-notification handler failures and verified it reached the deliberate DebugBreak. Repeated the default-CI-environment scenario 10 times.

hoyosjs and others added 2 commits August 12, 2026 23:51
Resume live targets when CLR notification handling cannot initialize and preserve primary DAC load failures. Add deterministic cdb regression coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Isolate SOS without its bundled cDAC so the regression exercises the notification-handler failure path consistently across local and CI layouts.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3fff557b-adf1-4873-94d6-676153db5c5e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant