Repository navigation
Coverity: Uinitialized variable fixes for Coverity 2026.3.0 Upgrade - #12209
william-gallagher-nv wants to merge 2 commits into
Conversation
|
🤖 Starting review — findings will be posted here when done. |
fc1fc8e to
e48613f
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
Coverage gap: No test accompanies the xpmem |
|
🤖 CI Triage Agent — TL;DR: The gtest binary aborted on Full analysisSummary: Azure job "Tests new on worker 3" (build 142125) failed in Root cause: From the log backtrace: Implicated commit: unknown (not caused by [REDACTED:Hex High Entropy String]/PR #12209; closest functional change to the refcounting/invalidation logic is 311e350 "UCS/RCACHE: Change inv_q type to interval tree", nbellalou) File: src/ucs/memory/rcache.inl:103,127 (assertion fires at src/ucs/memory/rcache.c:396; caller src/ucp/core/ucp_mm.c:441) Suggested fix:
Related: PR #12209 (this build); no existing issue found for this assertion signature.
|
e48613f to
fa73a19
Compare
|
🤖 Starting review — findings will be posted here when done. |
fa73a19 to
2711a91
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage note: the only behavioral hunk (xpmem |
2711a91 to
87b267e
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The gtest run died because a GPU-side "illegal memory access" was raised during Full analysisSummary: Root cause: Evidence chain from the log:
The suspicious code is the registration/range-widening path for stream-ordered CUDA memory: in Implicated commit: Not the PR commit ( File: Suggested fix:
Related: PR #12209 (the PR under test), PR #12186 ( |
Fix Coverity UNINIT errors by initializing structures before their first use.
Fix Coverity UNINIT errors by initializing structures before their first use
87b267e to
68c583f
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
@gleon99 Another round of fixes prepping for upgrade to Coverity 2026.3.0. Can you take a look? |
What?
This PR provides fixes for errors flagged by Coverity 2026.3.0.
It focuses on fixing the instances of UNINIT, uninitialized variable usage. This PR mainly just initializes variables to 0 or default values.
Why?
Fixing these errors helps prepare for upgrading to Coverity 2026.3.0 in CI. This is one PR in a series of PRs to make all the code changes required for upgrading.
How?
Testing performed locally with master as the baseline shows numerous errors resolved. Some
UNINITerrors remain. These are either resolved in #12177 or fixing them resulted in other Coverity errors and will be resolved in future PRs.