Title: invalid pthread_t 0x7893464cb0 passed to pthread_getcpuclockid · Issue #2604 · getsentry/sentry-java · GitHub
Open Graph Title: invalid pthread_t 0x7893464cb0 passed to pthread_getcpuclockid · Issue #2604 · getsentry/sentry-java
X Title: invalid pthread_t 0x7893464cb0 passed to pthread_getcpuclockid · Issue #2604 · getsentry/sentry-java
Description: ❗ Note from the maintainers: we have a reproducer for this which triggers the culprit code path by creating pthreads, attaching them to runtime, and returning (on some paths) without detaching Sentry is not used in this reproducer and as...
Open Graph Description: ❗ Note from the maintainers: we have a reproducer for this which triggers the culprit code path by creating pthreads, attaching them to runtime, and returning (on some paths) without detaching Sent...
X Description: ❗ Note from the maintainers: we have a reproducer for this which triggers the culprit code path by creating pthreads, attaching them to runtime, and returning (on some paths) without detaching Sent...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/2604
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"invalid pthread_t 0x7893464cb0 passed to pthread_getcpuclockid","articleBody":"❗ Note from the maintainers:\n- we have a [reproducer](https://github.com/getsentry/sentry-java/issues/2604#issuecomment-2406887993) for this which triggers the culprit code path by creating pthreads, attaching them to runtime, and returning (on some paths) without detaching\n- **Sentry is not used in this reproducer and as far as our analyses go, Sentry does not cause the above behaviour**\n- rather, other dependencies in an app with incorrect detach paths for pthreads are the root cause for the crash in Android Tracer, and Sentry's usage of Android Tracer for Profiling can increase the impact\n\n---\n\n### Integration\n\nsentry-android\n\n### Build System\n\nGradle\n\n### AGP Version\n\n7.2.1\n\n### Proguard\n\nDisabled\n\n### Version\n\n6.15.0\n\n### Steps to Reproduce\n\nOccasionally the native layer crashes when switching pages,but it is ok when remove import the sdk\nif set options.enableTracing=false is will be run\n### Expected Result\n\nOccasionally the native layer crashes when switching pages,but it is ok when remove import the sdk\n\n### Actual Result\n\nOccasionally the native layer crashes when switching pages,but it is ok when remove import the sdk\n\u003cimg width=\"883\" alt=\"image\" src=\"https://user-images.githubusercontent.com/12543049/225311093-52408cef-ce6e-4e95-b9a2-3f33642abfbc.png\">\n\n\u003cimg width=\"864\" alt=\"image\" src=\"https://user-images.githubusercontent.com/12543049/225311052-ea1e98e5-0ec9-4a22-aabe-ea7baf18ae13.png\">\n\n┆Issue is synchronized with this [Jira Improvement](https://getsentry.atlassian.net/browse/FEEDBACK-2158) by [Unito](https://www.unito.io)\n","author":{"url":"https://github.com/crazyzjw","@type":"Person","name":"crazyzjw"},"datePublished":"2023-03-15T12:39:00Z","url":"https://github.com/getsentry/sentry-java/issues/2604"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe47f856-40a8-d030-c96d-e9e7c9e486c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9032:1453CC:632948:87BA99:6B047588 |
| html-safe-nonce | bc7adf473d94995db32d33f436c57509a1b0049d758b52dda1da0cfa04e3399c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDMyOjE0NTNDQzo2MzI5NDg6ODdCQTk5OjZCMDQ3NTg4IiwidmlzaXRvcl9pZCI6IjcxMTM4MzU3ODgyMTUwMjI5ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 240a35230b3204538671f19cba3a458d5c1f25d788ef0b4e94bd83da8bf6f925 |
| hovercard-subject-tag | issue:1625448430 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/2604/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb276d8ac91cdd8f162d862e560610d416b72fe20f4aa7c4ddf0da0e4e63c04c/getsentry/sentry-java/issues/2604 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb276d8ac91cdd8f162d862e560610d416b72fe20f4aa7c4ddf0da0e4e63c04c/getsentry/sentry-java/issues/2604 |
| og:image:alt | ❗ Note from the maintainers: we have a reproducer for this which triggers the culprit code path by creating pthreads, attaching them to runtime, and returning (on some paths) without detaching Sent... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | crazyzjw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width