Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sechiyo97 opened this issue Sep 10, 2024 · 0 comments

Comments

@sechiyo97
Copy link

sechiyo97 commented Sep 10, 2024

🐛 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
    }
}
  1. Run the app on a device or emulator with Android API 35.
  2. The app crashes immediately on startup.

Environment

  • Android Version: API 35
  • Device: Emulator
  • Flipper Version: 0.265.0
  • Operating System: macOS

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 ----------------------------

@sechiyo97 sechiyo97 changed the title Segmentation Fault (SIGSEGV) on App Start due to Flipper NativeLoader in Android API 35 Debug, with Compose Foundation 1.7 Segmentation Fault (SIGSEGV) on App Start in Android API 35 for AndroidFlipperClient.getInstance Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant