ExpoKit crash EXC_BAD_ACCESS
ExpoKit crashes on -at least- iPhone 8. Tracing down error logs, Sentry gives no feedback, but the phone’s log shows
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS
and then
Thread 5 crashed with ARM Thread State (64-bit)
which corresponds to
Dispatch queue: com.apple.NSURLSession-work
Basically ExpoKit is requesting data to an invalid address, which makes the app crash.
This error raises when the app is foregrounded and some other app is opened at the same time (not any other app, but some, like FB).
Environment
sdk 27
exp 54.0.1
iOS 11.3
iPhone 8
Steps to Reproduce
Download EGT from the App store
(Write your steps here:)
Follow seen on this video https://we.tl/onXdv09jGb
Expected Behavior
We expect the app not to crash, or in any case give some feedback to the end user.
Actual Behavior
The app crashes and fails to start straight away back again.
Reproducible Demo
Follow the steps of the video https://we.tl/onXdv09jGb