Skip to content

Avoid crash in RequestActivityBuffer #97279

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

Merged
merged 1 commit into from
Jul 22, 2025
Merged

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 21, 2025

Avoid crash in RequestActivityBuffer

Activity tracing is currently not getting disabled for the CONCURRENT_KERNEL type due to a deadlock issue in CUDA 12.8+.

This can lead to crashes during kernel execution after tracing has been disabled and the activity buffers have been destructed. The callbacks are still in place and will try to access the activity buffers during the next kernel execution.

To avoid these crashes I'm adding this check for the existence of the activity buffers.

@copybara-service copybara-service bot force-pushed the exported_pr_785411975 branch 2 times, most recently from e9e3c91 to e31414b Compare July 22, 2025 05:48
Activity tracing is currently not getting disabled for the CONCURRENT_KERNEL type due to a deadlock issue in CUDA 12.8+.

This can lead to crashes during kernel execution after tracing has been disabled and the activity buffers have been destructed. The callbacks are still in place and will try to access the activity buffers during the next kernel execution.

To avoid these crashes I'm adding this check for the existence of the activity buffers.

PiperOrigin-RevId: 785722568
@copybara-service copybara-service bot force-pushed the exported_pr_785411975 branch from e31414b to b662ddf Compare July 22, 2025 06:34
@copybara-service copybara-service bot merged commit b662ddf into master Jul 22, 2025
@copybara-service copybara-service bot deleted the exported_pr_785411975 branch July 22, 2025 06: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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy