# iqiyi/xCrash

🔥 xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.

Repository: https://github.com/iqiyi/xCrash
Canonical: https://ross.abutalabs.com/products/xcrash
Language: C
License: NOASSERTION
License Family: other
Topics: android, crash-reporting, native, crash, java, exception, handler, reporting, reporter, jni, anr
Last push: 2025-06-27T05:37:25+00:00

## Health v2 (maintenance only)
Score: 35/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 28, release rhythm 8, longevity 100
- inputs: {"age_days": 2708, "days_push": 432, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3950, forks 658 (observed 2026-08-28T04:08:30.390914+00:00)

## What it is
xCrash is an Android library that captures Java crashes, native crashes, and ANRs, generating tombstone files with detailed process, thread, memory, FD, and network statistics. It requires no root or system permissions and is used in production at iQIYI.

## Use cases
- capture native crashes in my android app
- detect and log ANRs without root
- generate tombstone files on app crash
- dump thread and memory stats when the app crashes
- monitor java exceptions in production android apps

## When to choose
- you need crash and ANR capture on Android 4.1-11 without root or special permissions
- you want system-style tombstone diagnostics including native crashes via JNI
- you need detailed process, thread, memory, FD, and network dumps at crash time

## When to avoid
- you target Android versions above 11 or need guaranteed support for newer APIs
- you want a hosted crash reporting service with dashboards and aggregation rather than local tombstone files
- your app is not Android

## Facets
- artifact type: library
- maturity: active
- function: monitoring, logging, error-handling
- domain: mobile-development, developer-tools, android-tools
- platform: cpp, jvm
- tags: crash-reporting, anr, tombstone, native-crash, jni, android-library, stability, android

## Member repositories
- iqiyi/xCrash (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:30.390914+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:24:32.318464+00:00, confidence not recorded.
  - readme: https://github.com/iqiyi/xCrash (fetched 2026-08-28T04:08:30.390914+00:00, sha 98bbb8a75319)
- Data as of 2026-08-30T08:39:29.467469+00:00.
