Skip to content

feat(native): add thread names on macOS#1766

Open
jpnurmi wants to merge 3 commits into
masterfrom
jpnurmi/feat/native/macos-thread-names
Open

feat(native): add thread names on macOS#1766
jpnurmi wants to merge 3 commits into
masterfrom
jpnurmi/feat/native/macos-thread-names

Conversation

@jpnurmi
Copy link
Copy Markdown
Collaborator

@jpnurmi jpnurmi commented May 28, 2026

Thread names are now captured via thread_info(THREAD_EXTENDED_INFO) in the crash handler and exposed in the native crash event JSON.

The first attempt from the daemon via task_for_pid failed with KERN_FAILURE — the API is restricted on modern macOS without a Hardened Runtime or SIP-permitted entitlement — so in-process capture avoids this entirely and matches how Crashpad handles thread names.

Before After
image image

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 28, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against c46cc5c

Comment thread src/backends/native/sentry_crash_handler.c Outdated
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