Closed agentlogic closed 4 years ago
A similar issue was resolved recently. Did you see #132?
@tanersener Thank you for the quick response! That issue does look very similar to what I'm experiencing. I'll clear my pods cache, reinstall, rebuild and confirm if it works. Thanks for the heads up on #132!
So sorry for the delay in confirming this. I haven't been able to upgrade the pod and rebuild yet as I haven't been able to get to work due to the lockdown put in place because of COVID-19 :(
I should be able to get a build out tomorrow and be able to confirm if this is resolved or not. Thank you for your patience!
No worries. Stay safe !
No worries. Stay safe !
Thanks @tanersener, you too!
I can confirm that cleaning my pods cache and reinstalling (which upgraded mobile-ffmpeg-full-gpl to version 4.3.1) resolves this issue.
Specifically, I did the following (for anyone landing here with the same issue):
cd ios
pod cache clean react-native-ffmpeg && pod cache clean mobile-ffmpeg-<package>
pod install
Thank you so much for your awesome work!
Description I've run into a weird and extremely hard to debug issue in my iOS app. The crash happens when trying to take a screenshot/thumbnail image from a recorded video from the device's camera. It works fine most of the time, but on some occasions (this is impossible to reproduce consistently) the app crashes with a segmentation fault.
I'm using the
full-gpl
package. The ffmpeg command used for taking a screenshot is:RNFFmpeg.execute(``-y -ss 00:00:03 -i ${inputUri} -frames:v 1 q:v 4 ${outputUri}``)
The only thing consistent about this sporadic app crash is that every crash log (posted below) is pretty much identical. So either there is an issue with my command above, or it's an issue with MobileFFmpeg/FFmpeg.
Expected behavior There should be no segmentation fault
Current behavior The app crashes sporadically with a segmentation fault.
Screenshots N/A
Logs Crash log posted on Ghostbin.
Environment
Other Add any other context about the problem here.