Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A couple of fixes picked up in the fusilli tests using sanitizers.#23617

Merged
AWoloszyn merged 3 commits into
iree-org:mainfrom
AWoloszyn:memory-fixes
Mar 4, 2026
Merged

A couple of fixes picked up in the fusilli tests using sanitizers.#23617
AWoloszyn merged 3 commits into
iree-org:mainfrom
AWoloszyn:memory-fixes

Conversation

@AWoloszyn
Copy link
Copy Markdown
Contributor

This fixes some *SAN issues found in the fusilli tests.

We were potentially memcpying 0 bytes from nullptr
to a destination. Although this works just fine,
it's a UBSan issue.

Signed-off-by: Andrew Woloszyn <[email protected]>
There is a memory leak in RCCL meaning if we load and unload
rccl repeatedly we will continue to leak memory.

Signed-off-by: Andrew Woloszyn <[email protected]>
@AWoloszyn AWoloszyn requested a review from benvanik as a code owner March 2, 2026 21:09
@AWoloszyn
Copy link
Copy Markdown
Contributor Author

#23526
#23562
#23561

@AWoloszyn AWoloszyn requested a review from sjain-stanford March 2, 2026 21:11
Copy link
Copy Markdown
Member

@sjain-stanford sjain-stanford left a comment

Choose a reason for hiding this comment

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

I ran the fusilli *SAN build on your branch. It runs fine - just that I had to rebase your branch on latest main (since we fixed for the IREE device group changes). Everything else looks good with the suppressions (except RCCL one) removed. Stamping this.

@AWoloszyn AWoloszyn merged commit a1ef7f9 into iree-org:main Mar 4, 2026
57 checks passed
kimm240 pushed a commit to kimm240/iree that referenced this pull request May 8, 2026
…ree-org#23617)

This fixes some *SAN issues found in the fusilli tests.

---------

Signed-off-by: Andrew Woloszyn <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants