-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
"Fatal Exception: NSInvalidArgumentException" + "Crashed: com.twitter.crashlytics.ios.exception" #19078
Comments
Thanks for posting this! It looks like your issue may be missing some necessary information. Can you run Thank you for your contributions. |
@react-native-bot I believe I did provide my |
We have been getting the same exception too + another one (EXC_BAD_ACCESS). We are using sentry.io for crash reporting and it tells us that both these errors happen in RCTReachabilityCallback (RCTNetInfo.m:51 & RCTNetInfo.m:52). They happen all the time and we cannot figure out how to solve them. Its also hard to reproduce, however from what we know it always happens on app resume. So either the first time you open the app or the nth time. Here is my info: Environment: Packages: (wanted => installed) Let me know what else I can provide. |
Is there a fix for this yet? We get the same error in my fabric crashlytics and its hard to reproduce but it doesn't happen everytime but happens 1 in every 20 times when i go from online -> offline -> online. |
Same error here. It's really annoying. |
We are experiencing exactly the same behavior and seeing the same errors on sentry and crashlytics that @timoteialbu described. We think that this is related to #18776. |
9d45de6 should have fixed this. What version of RN are you using and does it have those changes? |
I am using 55.3. It doesn't have those changes and that's why I asked you if this should be the same. It looks very similar to me, but I wasn't able to reproduce the crash using the steps mentioned in the original issue. |
not sure if it's the same issue, the stack frame looks similar though. The only real way to know is with a repro. |
How to do? |
Is this fixed? |
possibly, we were seeing an issue similar to this internally and I fixed it in 67afaef if you are seeing this crash, please provide some repro steps so we can fix it. |
Looking at recent activity, it seems like this is not an issue anymore, so closing. |
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 9.10.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.2 => 0.55.2
Steps to Reproduce
Our iOS app in production has been working with no issues. However, a few days ago, my own device's installation of our production app just so happened to experience a crash after cold launching the app (a split second after the bundle fully loaded). This crash was captured by our Fabric Crashlytics. No other instances of this crash has been reported by our customers -- this was the only case we saw, and we could not reproduce it.
My device details:
iPhone 8
iOS 11.3.1
Crashlytics combined two crash outputs within this crash issue -- outputs are provided below. (I've replaced our app's name with
OURAPP
).Expected Behavior
Expectation is cold start of app without crashing.
Actual Behavior
Works as expected a vast majority of the time, but this unexpected crash occurred during this one case.
The text was updated successfully, but these errors were encountered: