Skip to content

crash when reload app that using react-native-quick-base64 & react-native-quick-md5 #26

@iwater

Description

@iwater

Bug Description

When the app is launched or reloaded, it will randomly crash, I have provided screenshots and demo code, it is very easy to reproduce this problem, initialize a new react-native project, add react-native-quick-md5 & react-native-quick-base64, and then reload the app from the dev menu, it will randomly crash, the crash probability is very high, actually if there is only one jsi module, it will also crash, but the reproduction probability is low, I found that if there are these two jsi modules, the crash is very easy to reproduce

Hermes version: 0.71.8
React Native version (if any): 0.71.8
OS version (if any): iOS 16.2
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64): arm64-v8

Steps To Reproduce

  1. create new react-native project
  2. add add react-native-quick-md5 & react-native-quick-base64 modules
  3. launch app & reload from dev menu

code example:

npx react-native init demo
cd demo
yarn add react-native-quick-md5
yarn add react-native-quick-base64
npx pod-install ios

demo code https://github.com/iwater/bug_demo

截屏2023-05-25 12 11 37

#facebook/hermes#1011

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions