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

Fixing crash in dump-events #2717

Merged
merged 4 commits into from
Sep 29, 2023
Merged

Fixing crash in dump-events #2717

merged 4 commits into from
Sep 29, 2023

Conversation

scottoneil-ms
Copy link
Contributor

I'm not 100% sure why this event started getting into my etl logs and triggering crashes, but I suspect the right answer is to treat it as another way of recognizing session start.

Copy link
Member

@michaelcfanning michaelcfanning left a comment

Choose a reason for hiding this comment

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

:shipit:

}

case "EventTrace/PartitionInfoExtension":
Copy link
Member

Choose a reason for hiding this comment

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

PartitionInfoExtension

well, okey-doke. :) you collected the legacy form, it appears.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If it's obvious what I did to trigger legacy form mode instead of V2, I'd love to be corrected. This is the command I'm using. [1]

[1] Sarif.PatternMatcher.cli.exe analyze ..\..\..\..\..\..\AzureDevOps\ --recurse true --max-file-size-in-kb 999999999 --output .\ado.sarif --level "Error;Warning;Note" --plugin ".\SEC101.SecurePlaintextSecretsInternal.json" --log ForceOverwrite --insert ContextRegionSnippets --etw .\ADO-Run.etl

@michaelcfanning
Copy link
Member

Suggest adding a release note on this in ReleaseNotes.md, similar to following. Please replace NullReferenceException with the actual type of the exception you see when we have this mismatched start/stop pair.

BUG: Resolve trace parsing NullReferenceException exception by updating dump-events command to process PartitionInfoExtension session event as we do PartitionInfoExtensionV2.

Updating release notes for invalid operation exception fix.
Fixing single quotes in release notes.
@michaelcfanning michaelcfanning merged commit 3fcf228 into main Sep 29, 2023
8 checks passed
@michaelcfanning michaelcfanning deleted the scott-003 branch September 29, 2023 20:19
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.

2 participants