8000 [v0.11.x] Check global state destruction in destructors by lukaszstolarczuk · Pull Request #1297 · oneapi-src/unified-memory-framework · GitHub
[go: up one dir, main page]

Skip to content

[v0.11.x] Check global state destruction in destructors #1297

New issue 8000

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

Merged
merged 1 commit into from
May 7, 2025

Conversation

lukaszstolarczuk
Copy link
Contributor

cherry-pick #1296 to stable v0.11.x

In some cases the global state may have been destroyed when we reach
`umfDestroyPool` or `umfDestroyProvider`, in which case actually going
through with the destruction will cause segmentation faults.

The way the global state is managed should maybe be re-worked, but this
should be an okay workaround to avoid segmentation faults until then.
@lukaszstolarczuk lukaszstolarczuk requested a review from a team as a code owner May 6, 2025 15:02
@lukaszstolarczuk lukaszstolarczuk added this to the v0.11.x milestone May 6, 2025
@bratpiorka bratpiorka merged commit df9cbbb into oneapi-src:v0.11.x May 7, 2025
249 of 251 checks passed
@lukaszstolarczuk lukaszstolarczuk deleted the dtor-pick branch May 7, 2025 07:12
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.

4 participants
0