react-native-quick-base64 icon indicating copy to clipboard operation
react-native-quick-base64 copied to clipboard

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

Open iwater opened this issue 2 years ago • 4 comments

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

#https://github.com/facebook/hermes/issues/1011

iwater avatar May 25 '23 05:05 iwater

published [email protected]. Can you try it?

craftzdog avatar May 29 '23 00:05 craftzdog

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?

olafurr avatar Jul 04 '23 07:07 olafurr

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

kruthish-k avatar Jul 07 '23 09:07 kruthish-k

@iwater Did you find a solution to this?

olafurr avatar Dec 05 '23 08:12 olafurr