facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.37k stars 952 forks source link

Segmentation Fault (SIGSEGV) on App Start in Android API 35 for AndroidFlipperClient.getInstance #5670

Open sechiyo97 opened 2 months ago

sechiyo97 commented 2 months ago

🐛 Bug Report

My Android app crashes immediately on startup when running the debug build with Flipper enabled. The crash only happens in Android API 35. This issue occurs as soon as the app launches.

To Reproduce

  1. Use this as MainApplication code (with android:name=".MainApplication" in AndroidManifest.xml):
    class MainApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        SoLoader.init(this, false)
        AndroidFlipperClient.getInstance(this) // crash doesn't happen when this line is commented out
    }
    }
  2. Run the app on a device or emulator with Android API 35.
  3. The app crashes immediately on startup.

Environment

Crash Log:

---------------------------- PROCESS STARTED (9623) for package com.daydream.myapplication ---------------------------- 2024-09-10 12:28:09.441 9643-9643 DEBUG crash_dump64 A Cmdline: com.example.myapplication 2024-09-10 12:28:09.442 9643-9643 DEBUG crash_dump64 A pid: 9623, tid: 9639, name: FlipperEventBas >>> com.example.myapplication <<< ---------------------------- PROCESS ENDED (9623) for package com.daydream.myapplication ----------------------------