-
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
iOS 13 and above EXC_BAD_ACCESS KERN_INVALID_ADDRESS acebook::react::Instance::loadApplication(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry> >, std::__1::unique_ptr<facebook::react::JSBigString const, std::__1::default_delete<facebook::react::JSBigString const> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) #26985
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.61 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
I have same issue on react-native 0.61.2 on iOS 13 |
Can confirm, the same issue with 0.61.2 |
same issue with 0.59.9 |
iOS 13.2 fixes this issue |
Seems not work for my case. still crash with same reason on ios 13.2 with rn 0.59.9 |
Just tested with rn 0.61.3. Still face the same problem in production only |
@nikechanhk Try react-native 0.61.3. I'm on it and iOS 13.2. App looks good, don't receive any crashes anymore in crash reports |
using 0.61.3 already. still crash with same reason |
It seems iphone 11 family have higher opportunity rate hit this issue. |
@oleksandr-dziuban @nikechanhk - we're experiencing a highly similar issue and we're on RN 0.61.4 - we get it both on iOS 12 and 13. These are the logs:
The error was reported from this thread:
|
still having the same issue with 13.2 iOS. Was anyone able to reproduce this on a simulator? |
@kennym does it crash always on load? |
@nidongara yes, the crash always immediately happens after app load. |
@kennym for me it happens 1 out out 20 times. I am not able to reproduce this in my simulator or test devices. |
@nidongara it only happens for us in release mode |
I tried release mode but it doesn't crash. @kennym Did you guys figure out a work around? |
@nidongara we have not. |
Also reported in the latest version, 0.61.5 |
@nidongara Would you try editing the issue description to indicate a current version of React Native, based on the reports in comments? Here's the instructions the bot gave (they're hidden behind a fold):
It looks like nobody at Facebook has noticed this issue -- I suspect they completely ignore issues when they have that label attached. |
I met the same issue:
|
same issue +1, And the number has risen dramatically in the last week |
At this point it's no longer helpful to add more reports of seeing the issue on RN v0.59. I think it's no longer helpful to report seeing it even on RN v0.61, now that v0.62 is out. What would be very helpful is a report for v0.62, the latest version. (Or better yet, the v0.63 release candidate!) If you're looking at this thread because you're seeing this issue, and your app is using v0.62 (or later): please add a comment with details like @luatnd's #26985 (comment) 😄 Until then the developers of React Native will effectively assume the issue was fixed in v0.62, and ignore it to focus on the many other things on their to-do list. That's what, as I read it, the label "Needs: Verify on Latest Version" means. And if you're reading this in the future, and someone has already reported it on v0.62 and a newer release is out (but this thread doesn't show a fix yet): same thing applies, just increment all the version numbers in this comment. |
I'm really having a problem. But my version of react-native is the 0.62.2
|
I am also having this problem on 62.2 |
same here with version 62.2 |
For us, this crash didn't happen until the release where we enabled RAM bundling. |
@dougcoburn |
Unfortunately I am having this issue in 62.2 |
Struggle is real! i can still reproduce it with versions 62.2 |
I was able to get this resolved by rewriting our Used the react native upgrade helper to see what those files looks like for a new project, copied that in, and the went though all our native libs that had modified those files (RNN, firebase, and app auth) to set them back up. By the time that I finished, there was about a 30 line difference. At some point we did a bad upgrade in the past or their initialization had changed, and it finally started crashing when iOS 13 came out. |
@aklinker1 do you mind sharing your |
Sure thing! This is before and after the fixes for RN 60, but this also worked when we did similar re-writes for RN 62. The main thing to notice is how different the RNN and Firebase setups are. I would also recommend making these changes in XCode, you'll get errors and warnings in real time.
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
I am still on 62.2 and I am wondering if it's fixed on 63+/64 but kinda didn't want to take such big effort and discover it will not work. Could you share your experience, please? |
I am using "0.61.5" and this issue exists. |
Published a new app and seeing the issue on 0.63.3
|
I was able to make updates based on the above post from @aklinker1. I've since not seen this crash show up. Our AppDelegate.mm was very similar with a few extra pieces to register for notifications, etc. Seems a bit obvious now as our code and the RNN code was creating a new RCTBridge. The updates have been in the wild for a couple of weeks now, with a much wider distribution and we have not seen this crash. |
Here's one situation. When
I think the reason is |
Any fixes? |
any update on this? |
@asymptotik Do you have anyidea for fix those issue |
|
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
This issue was closed because the author hasn't provided the requested feedback after 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Are folks still running into this? Seeing crash reports related to this on 0.71.1 |
This issue should not be closed, because there's no reason to believe it has been fixed. The thing that's needed in order to make progress on the issue is a way to reproduce it. If anyone discovers a way to reproduce this issue, please post it — that would be a very helpful contribution. Until there's a repro, it's unlikely anyone will fix the issue. But as long as the bug exists, it's better to have the issue thread remain open. Otherwise the result will just be that it splinters across a bunch of newly-filed issue threads as people continue running into it, and that doesn't do anyone any good. |
This started happening after iOS 13 was release. I started seeing a lot of crashes in productions with this in my fabric logs.
Crashed: com.apple.root.user-interactive-qos 0 member_mobile_update_prod 0x100172910 facebook::react::Instance::loadApplication(std::__1::unique_ptr<facebook::react::RAMBundleRegistry, std::__1::default_delete<facebook::react::RAMBundleRegistry> >, std::__1::unique_ptr<facebook::react::JSBigString const, std::__1::default_delete<facebook::react::JSBigString const> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) + 414720 1 member_mobile_update_prod 0x100172bec facebook::react::Instance::loadScriptFromString(std::__1::unique_ptr<facebook::react::JSBigString const, std::__1::default_delete<facebook::react::JSBigString const> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) + 415452 2 member_mobile_update_prod 0x1000fe1ec __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 4305887724 3 member_mobile_update_prod 0x100120148 facebook::react::tryAndReturnError(std::__1::function<void ()> const&) + 76856 4 member_mobile_update_prod 0x1000f8474 -[RCTCxxBridge _tryAndHandleError:] + 4305863796 5 member_mobile_update_prod 0x1000fdee8 -[RCTCxxBridge executeApplicationScript:url:async:] + 4305886952 6 member_mobile_update_prod 0x1000fdcdc -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 4305886428 7 member_mobile_update_prod 0x1000fba20 -[RCTCxxBridge executeSourceCode:sync:] + 4305877536 8 member_mobile_update_prod 0x1000f927c __21-[RCTCxxBridge start]_block_invoke_2 + 4305867388 9 libdispatch.dylib 0x18f28fbb0 _dispatch_call_block_and_release + 32 10 (Missing) 0x3d3a84818f291000 (Missing) 11 (Missing) 0x0 (Missing) 12 (Missing) 0x0 (Missing) 13 (Missing) 0x177bf7018f2f6a00 (Missing) 14 (Missing) 0x0 (Missing)
React Native version:
Steps To Reproduce
I cannot updated to latest RN because of Android X changes.
The text was updated successfully, but these errors were encountered: