Skip to content

[Android]:Hermes app crash when a second debugger tries to connect #792

@EzioLi01

Description

@EzioLi01

Description

When a second debugger connects to the application that already has a connected debugger - the application crashes.

Same issue as: facebook/react-native#32904

Version

0.69.3

Output of npx react-native info

ystem:
OS: macOS 12.4
CPU: (8) arm64 Apple M2
Memory: 144.73 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.1 - /usr/local/bin/npm
Watchman: 2022.07.04.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30, 31, 33
Build Tools: 30.0.3, 33.0.0
System Images: android-30 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.3 => 0.69.3
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

  1. Create React Native app npx react-native init AwesomeProject and enable Hermes
  2. Start React Native Android Hermes app
  3. Connect to app with Flipper
  4. Connect to app with Edge/ Chrome Inspect DevTools
  5. Hermes app will crash

Snack, code example, screenshot, or link to a repository

React native sample app.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions