Skip to content
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

fix: guard against null thread handle for profiler sampling thread #4076

Conversation

armcknight
Copy link
Member

Addresses the conversation starting here: #3520 (comment)

#skip-changelog

Sources/Sentry/SentryBacktrace.cpp Outdated Show resolved Hide resolved
Sources/Sentry/SentrySamplingProfiler.cpp Outdated Show resolved Hide resolved
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

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

LGTM, but I think we should still wait for @indragiek before merging this.

Sources/Sentry/SentrySamplingProfiler.cpp Outdated Show resolved Hide resolved
Sources/Sentry/SentryBacktrace.cpp Show resolved Hide resolved
Sources/Sentry/SentryBacktrace.cpp Outdated Show resolved Hide resolved
Sources/Sentry/include/SentryBacktrace.hpp Outdated Show resolved Hide resolved
Sources/Sentry/SentrySamplingProfiler.cpp Outdated Show resolved Hide resolved
@armcknight armcknight merged commit 6fac4d6 into indragiek/pthread_mach_thread_np-null Jun 20, 2024
53 of 59 checks passed
@armcknight armcknight deleted the armcknight/fix/null-thread-handle branch June 20, 2024 19:48
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