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 reliability issues in LogAllSessions. #22568

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

ivberg
Copy link
Contributor

@ivberg ivberg commented Oct 23, 2024

Description

Issue can happen with multiple sessions and when ETW captureState / rundown is triggered.

Resolves use after free issue.

Tested with local unit test creating/destroying multiple sessions while continually enabling & disabling ETW. This currently requires Admin prompt so not checking in

Motivation and Context

ORT should not crash

…ple sessions and when ETW captureState / rundown is triggered.
@ivberg ivberg requested review from apsonawane and snnn October 28, 2024 20:38
@ivberg ivberg requested a review from skottmckay October 29, 2024 19:17
@ivberg ivberg merged commit 43e6296 into main Oct 29, 2024
89 of 91 checks passed
@ivberg ivberg deleted the user/ivberg/LogAllSessions_CrashFix branch October 29, 2024 21:22
@sophies927 sophies927 added release:1.20.1 triage:approved Approved for cherrypicks for release and removed triage:approved Approved for cherrypicks for release labels Oct 31, 2024
ishwar-raut1 pushed a commit to ishwar-raut1/onnxruntime that referenced this pull request Nov 19, 2024
### Description
Issue can happen with multiple sessions and when ETW captureState /
rundown is triggered.

Resolves use after free issue.

Tested with local unit test creating/destroying multiple sessions while
continually enabling & disabling ETW. This currently requires Admin
prompt so not checking in

### Motivation and Context
ORT should not crash
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
### Description
Issue can happen with multiple sessions and when ETW captureState /
rundown is triggered.

Resolves use after free issue.

Tested with local unit test creating/destroying multiple sessions while
continually enabling & disabling ETW. This currently requires Admin
prompt so not checking in

### Motivation and Context
ORT should not crash
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request Dec 11, 2024
### Description
Issue can happen with multiple sessions and when ETW captureState /
rundown is triggered.

Resolves use after free issue.

Tested with local unit test creating/destroying multiple sessions while
continually enabling & disabling ETW. This currently requires Admin
prompt so not checking in

### Motivation and Context
ORT should not crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants