react-native-vision-camera: 🐛 App crashed(Not yet reproducible)
What’s happening?
My app crashed with the following error message. I don’t know how to reproduce it yet, however, the crash logs have not been reported yet, I posted it as a draft.
Reproduceable Code
// don't know yet
Relevant log output
FATAL EXCEPTION: mrousavy/VisionCamera.video
Process: com.gwyng.myapp, PID: 7047
com.facebook.jni.CppException: std::exception
at com.mrousavy.camera.frameprocessor.VisionCameraScheduler.trigger(Native Method)
at com.mrousavy.camera.frameprocessor.VisionCameraScheduler.$r8$lambda$Rh5vFX2pR6HZnaz5K-D0xg2S108(Unknown Source:0)
at com.mrousavy.camera.frameprocessor.VisionCameraScheduler$$ExternalSyntheticLambda0.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.os.HandlerThread.run(HandlerThread.java:67)
Camera Device
{"hardwareLevel": "full", "hasFlash": true, "hasTorch": true, "id": "0", "isMultiCam": false, "maxZoom": 8, "minZoom": 1, "name": "BACK (0)", "neutralZoom": 1, "physicalDevices": ["wide-angle-camera"], "position": "back", "sensorOrientation": "landscape-right", "supportsFocus": true, "supportsLowLightBoost": true, "supportsRawCapture": true}
Device
Galaxy S21
VisionCamera Version
3.6.4
Can you reproduce this issue in the VisionCamera Example app?
I didn’t try (⚠️ your issue might get ignored & closed if you don’t try this)
Additional information
- I am using Expo
- I have enabled Frame Processors (react-native-worklets-core)
- I have read the Troubleshooting Guide
- I agree to follow this project’s Code of Conduct
- I searched for similar issues in this repository and found none.
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 1
- Comments: 33 (28 by maintainers)
lol yes this should actually be there, I don’t know why I didn’t spot that mistake 😂
can you send a PR? looks good
@mrousavy I just got a hint to create a reproducing step. Please wait a moment!
I’ll test it this weekend!
Hey @bglgwyng - could you try to reproduce this bug again with react-native-worklets-core 0.3.0 (includes a fix) and VisionCamera from current
main
branch (includes a ton of fixes again)?