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

iOS App Crash after React Native Reload and Login #3457

Closed
matt2legit opened this issue Dec 9, 2020 · 1 comment
Closed

iOS App Crash after React Native Reload and Login #3457

matt2legit opened this issue Dec 9, 2020 · 1 comment
Assignees

Comments

@matt2legit
Copy link

matt2legit commented Dec 9, 2020

Goals

Reload the app during development and be able to login again.

Actual Results

App crashes with the following error and stack trace:
com.facebook.react.JavaScript (26): EXC_BAD_ACCESS (code=1, address=0x40000000010d7ed8)

Screen Shot 2020-12-09 at 1 02 55 PM

Steps to Reproduce

  1. Build App on iOS Device
  2. Login via Realm
  3. Shake Device to Reload
  4. Attempt to login with Realm again
  5. App Crashes

Version of Realm and Tooling

  • Realm JS SDK Version: 1.10.1
  • React Native: 0.63.4
  • Client OS & Version: iOS - Xcode 12.2
@kneth
Copy link
Contributor

kneth commented Dec 11, 2020

@matt2legit Thank you for reporting.

I believe the issue is the the first network transport isn't removed, and it will try to use the old JavaScript main thread (which has been removed). We have work-in-progress for other issues with the Chrome debugger (see #3456), and we will include this in that work.

@sync-by-unito sync-by-unito bot closed this as completed Dec 18, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants