Skip to content

fix for CR-1254182 destroying the aied before destroying hwctx#9372

Merged
chvamshi-xilinx merged 1 commit into
Xilinx:masterfrom
bisingha-xilinx:fix-aied-crash
Oct 25, 2025
Merged

fix for CR-1254182 destroying the aied before destroying hwctx#9372
chvamshi-xilinx merged 1 commit into
Xilinx:masterfrom
bisingha-xilinx:fix-aied-crash

Conversation

@bisingha-xilinx
Copy link
Copy Markdown
Collaborator

Problem solved by the commit

https://jira.xilinx.com/browse/CR-1254182

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

The bug was hw context used to destroy earlier than the aied and it causes crash.

How problem was solved, alternative solutions (if any) and why they were rejected

Problem was solved by destroying the aied before hw context which guarantees to stop the thread running. it avoids thread to access illegal memory or any dangling pointers.

Risks (if any) associated the changes in the commit

n/a

What has been tested and how, request additional testing if necessary

Tested the given testcase in the mentioned CR.

Documentation impact (if any)

n/a

Signed-off-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@chvamshi-xilinx chvamshi-xilinx merged commit d7e8b92 into Xilinx:master Oct 25, 2025
72 of 75 checks passed
bisingha-xilinx added a commit to bisingha-xilinx/XRT that referenced this pull request Oct 25, 2025
…Xilinx#9372)

Signed-off-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
Co-authored-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
(cherry picked from commit d7e8b92)
Signed-off-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
chvamshi-xilinx pushed a commit that referenced this pull request Oct 25, 2025
…#9372) (#9376)

(cherry picked from commit d7e8b92)

Signed-off-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
Co-authored-by: Bikash Singha <bisingha@xcobisingha40x.xlnx.xilinx.com>
@bisingha-xilinx bisingha-xilinx deleted the fix-aied-crash branch October 31, 2025 16:34
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