❗ 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 far as our analyses go, Sentry does not cause the above behaviour
- 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
Integration
sentry-android
Build System
Gradle
AGP Version
7.2.1
Proguard
Disabled
Version
6.15.0
Steps to Reproduce
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk
if set options.enableTracing=false is will be run
Expected Result
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk
Actual Result
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk


┆Issue is synchronized with this Jira Improvement by Unito
❗ Note from the maintainers:
Integration
sentry-android
Build System
Gradle
AGP Version
7.2.1
Proguard
Disabled
Version
6.15.0
Steps to Reproduce
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk
if set options.enableTracing=false is will be run
Expected Result
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk
Actual Result
Occasionally the native layer crashes when switching pages,but it is ok when remove import the sdk

┆Issue is synchronized with this Jira Improvement by Unito