Skip to content

NDK crash reports silently drops #1237

@artechventure

Description

@artechventure

Description

NDK crash reports are silently lost. JS and JVM crashes are reported reliably, but NDK crashes (SIGABRT, SIGSEGV) does not appear in Datadog Error Tracking.

Minimal Reproduction

Repo: https://github.com/artechventure/datadog-reactnative-ndk-test

git clone https://github.com/artechventure/datadog-reactnative-ndk-test.git
cd datadog-reactnative-ndk-test
npm install
cp .env.example .env
# Fill in Datadog credentials
npx react-native run-android --mode=release
  1. Launch app in release build (debug mode works)
  2. Tap "NDK Crash" — app dies
  3. Relaunch app
  4. Check Datadog Error Tracking — crash does not appear
  5. Repeat — NDK crashes are silently lost

JS and JVM crash buttons in the same app report instantly.

(We initially tested with C++ native modules (abort(), null pointer dereference) to trigger real NDK crashes and observed the same result. The Kotlin Process.sendSignal() approach is used here purely for a minimal reproducible project.)

Environment

  • React Native 0.83.4
  • Hermes V1 enabled
  • @datadog/mobile-react-native 3.2.0 (dd-sdk-android-ndk 3.8.0 / dd-sdk-android-core 3.8.0)
  • nativeCrashReportEnabled: true
  • sessionSampleRate: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions