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

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

Open
iwater opened this issue May 25, 2023 · 4 comments

Comments

@iwater
Copy link

iwater commented May 25, 2023

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

@craftzdog
Copy link
Owner

published [email protected]. Can you try it?

@olafurr
Copy link

olafurr commented Jul 4, 2023

I'm having the exact same issue with only react-native quick-base64 installed and not react-native-quick-md5. Any suggestions on what might be wrong?

@kruthish-k
Copy link

kruthish-k commented Jul 7, 2023

Execution failed for task ':react-native-quick-base64:buildCMakeDebug[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `C:\Users\user\Documents\PROJECTS\REACT_NATIVE\rn-project-main\node_modules\react-native-quick-base64\android.cxx\Debug\545q7q39\arm64-v8a'
ninja: build stopped: .

C++ build system [build] failed while executing:
@echo off

ninja: error: mkdir(CMakeFiles/quickbase64.dir/C_/Users/user/Documents/PROJECTS/REACT_NATIVE): No such file or directory

i am getting this error while executing in my windows 10 ,
if i remove the react-native-quick-base64 package then project is running fine

@olafurr
Copy link

olafurr commented Dec 5, 2023

@iwater Did you find a solution to this?

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

4 participants