-
Notifications
You must be signed in to change notification settings - Fork 61
Fix runtime data races, memory leak, and shutdown safety #1429
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
Open
bmehta001
wants to merge
40
commits into
microsoft:main
Choose a base branch
from
bmehta001:bhamehta/runtime-fixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
a783517
Fix HTTP client torn reads and response memory leak
bmehta001 28cf17d
Fix WorkerThread shutdown: safe cleanup and diagnostics
bmehta001 a355ec5
Make m_runningLatency and m_scheduledUploadTime atomic
bmehta001 de46cb2
Fix static-destruction-order crash in Logger destructor
bmehta001 706a01f
Use cleaner shutdown and scheduler synchronization fixes
bmehta001 0b27717
Avoid holding TPM scheduler mutex during cancel
bmehta001 2cdf817
Address runtime review comments
bmehta001 95519ef
Apply force-scheduled latency when running cancel fails
bmehta001 11820ae
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 68f4dd0
Simplify TPM cancellation cleanup
bmehta001 4a8cc9d
Simplify TPM force scheduling test
bmehta001 5638972
Keep TPM cancellation comment wording
bmehta001 05bd377
Address runtime review comments
bmehta001 2c559d0
Clean up runtime logging follow-ups
bmehta001 b0ad7d8
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 2241c38
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 eb3bfff
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 a111e11
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 42cfa76
Merge remote-tracking branch 'msft/main' into bhamehta/runtime-fixes
bmehta001 042f077
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 9ae10ec
pal: return a no-op handle when a scheduled task is dropped
bmehta001 e9b1957
tpm/tests: address Copilot round feedback (printf cast + test suite n…
bmehta001 6429fef
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 797ede0
Declare ITaskDispatcher::QueueWithResult after Cancel (preserve vtabl…
bmehta001 9762f94
Address Copilot on #1429: don't claim binary/ABI compatibility in vta…
bmehta001 b5ba867
HttpClient_WinInet: close session handle even when request handle is …
bmehta001 8935ef2
Merge branch 'main' into bhamehta/runtime-fixes
bmehta001 dd9e023
Add teardown-during-in-flight-upload smoke test
bmehta001 6be37b1
Fix teardown deadlock: always signal flush completion
bmehta001 80b9c80
Merge remote-tracking branch 'msft/main' into bhamehta/runtime-fixes
bmehta001 ce1699e
Drain pending tasks in the worker on shutdown to avoid a self-Join leak
bmehta001 e6769f1
Assert the /slow/ endpoint rewrite in the teardown smoke test
bmehta001 cc8ece8
Cast chrono counts to long long in %lld LOG_TRACE calls
bmehta001 c10f636
Drop issue-number reference from teardown smoke-test comment
bmehta001 21233a6
Drop issue-number reference from metastats opt-in comments
bmehta001 46e8b1d
Merge remote-tracking branch 'msft/main' into bhamehta/runtime-fixes
bmehta001 099348f
Fix use-after-free when the last worker reference is released on its …
bmehta001 be00ea0
Make worker self-dispose detection survive a prior detach()
bmehta001 9dd565a
Address review: portable worker-id storage and fix thread-id logging UB
bmehta001 b9d9d03
Avoid public queue-result dispatcher virtual
bmehta001 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.