Skip to content
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

React Native app crashing due to assertion error #20318

Closed
tclarke-scottlogic opened this issue Jul 20, 2018 · 11 comments
Closed

React Native app crashing due to assertion error #20318

tclarke-scottlogic opened this issue Jul 20, 2018 · 11 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@tclarke-scottlogic
Copy link

Started experiencing this crash today, have not encountered it before:

Build and run project in Xcode

Works for a while, then suddenly exits the app:

In system log, I see this:

Jul 20 17:37:34 Thomass-MacBook-Pro Acuris[21009]: assertion failed: 17G65 15F79: libxpc.dylib + 71445 [C070AA3B-6F2B-3D85-887C-5A00FAE39163]: 0x7d
Jul 20 17:37:35 Thomass-MacBook-Pro Acuris[21009]: DEPRECATED USE in libdispatch client: Setting timer interval to 0 requests a 1ns timer, did you mean FOREVER (a one-shot timer)?


dev/mobile-notifications-native >react-native info
Scanning folders for symlinks in /Users/thomasclarke/dev/mobile-notifications-native/node_modules (15ms)

Environment:
OS: macOS High Sierra 10.13.6
Node: 10.7.0
Yarn: 1.7.0
npm: 6.2.0
Watchman: Not Found
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.3.2 => 16.3.2
react-native: 0.55.4 => 0.55.4

@radko93
Copy link
Contributor

radko93 commented Jul 20, 2018

Please provide repro (steps or code) on how to reproduce this. For me, it seems that it's unrelated to react native.

@radko93 radko93 closed this as completed Jul 20, 2018
@mikehuebner
Copy link

mikehuebner commented Jul 20, 2018

I just started getting this on a release build. Not sure if this is related but same error and all. Here are some more logs...

The best repro steps I can think of that is giving me this is just set an app to release mode and try running it on the simulator. I'm not getting any other logs for this either.
RN 0.55.4

Jul 20 16:15:40 COMPUTER_NAME APP_NAME[19094]: assertion failed: 17G65 15F79: libxpc.dylib + 71445 [C070AA3B-6F2B-3D85-887C-5A00FAE39163]: 0x7d
Jul 20 16:15:43 COMPUTER_NAME com.apple.CoreSimulator.SimDevice.7D3870F0-2782-4EF7-9E6C-E1068F3DE8EB[89769] (com.apple.securityuploadd): Service only ran for 6 seconds. Pushing respawn out by 4 seconds.
Jul 20 16:15:47 COMPUTER_NAME com.apple.CoreSimulator.SimDevice.7D3870F0-2782-4EF7-9E6C-E1068F3DE8EB[89769] (com.apple.videosubscriptionsd[19106]): Service exited with abnormal code: 1
Jul 20 16:15:47 COMPUTER_NAME com.apple.CoreSimulator.SimDevice.7D3870F0-2782-4EF7-9E6C-E1068F3DE8EB[89769] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Jul 20 16:15:53 COMPUTER_NAME com.apple.CoreSimulator.SimDevice.7D3870F0-2782-4EF7-9E6C-E1068F3DE8EB[89769] (com.apple.securityuploadd): Service only ran for 5 seconds. Pushing respawn out by 5 seconds.

@joshspicer
Copy link

Was a solution ever found? Happens to me only on release when upgraded to RN 0.56.0

@kulack
Copy link

kulack commented Aug 22, 2018

Happening to us as well, only on iPhone X inside Expo or in the native built app.
Not finding much help here.
I know this is closed, but I have an App Store app that experiences it on iPhone X if that's any help.

@tclarke-scottlogic
Copy link
Author

@joshspicer @kulack
This was the follow up, the crash was found to be in the iOS SDK. My fix was to rename a property of the data object from "notification", as it was somehow getting confused on the simulator about which notification was the one it was supposed to process.

firebase/firebase-ios-sdk#1602 (comment)

@macnibblet
Copy link

I just rant into very much the same problem, but we are not using firebase

@PurnimaNaik
Copy link

@macnibblet did you find a solution? I have the same issue

@rimiti
Copy link

rimiti commented Dec 7, 2018

Is anyone has information about this issue ?

@Abramovick
Copy link

I'm not using Firebase but I'm also facing the same problem

@treynolds110
Copy link

I've also just encountered this issue. Any updated information?

@tclarke-scottlogic
Copy link
Author

@treynolds110
This fixed it for me, can't speak to anyone else.
#20318 (comment)

@facebook facebook locked as resolved and limited conversation to collaborators Jul 20, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests