react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

SIGSEGV MainActivity Segmentation violation (invalid memory reference)

Open tradebulls opened this issue 2 years ago • 4 comments

We have integrated CodePush and Bugsnag Library in our project. Whenever we rollout a update via CodePush we see there are few crash logs available in Bugsnag(error monitoring tool) which says that the error occurred while CodePush was installing the update. Below Snapshot is of Breadcrumbs in Bugsnag Screenshot 2022-06-10 at 3 14 36 PM

Stacktrace for the error given in Bugsnag is SIGSEGV Segmentation violation (invalid memory reference) /apex/com.android.art/lib64/libart.so:3983600 art::JNI::CallStaticObjectMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list) /apex/com.android.art/lib64/libart.so:3983496 art::JavaVMExt::JniAbort(char const*, char const*) /apex/com.android.art/lib64/libart.so:5893052 art::JNI::GetObjectClass(_JNIEnv*, _jobject*) /data/app/~~Zhlz-9TNHuujETqo9eTNUQ==/in.tradebulls.trading-gbUKQ3iJdMZWbibcN-UROA==/split_config.arm64_v8a.apk!/lib/arm64-v8a/libreanimated.so:475014607220 _JNIEnv::GetObjectClass(_jobject*)

Sometimes in Stacktrace the error is related to lib-0/libhermes.so:299460 0x7c6c3ce1c4 as well.

We tried to investigate the same at our end but couldn't find anything conclusive. Any help? Thanks in advance

tradebulls avatar Jun 10 '22 09:06 tradebulls

Also experiencing this exact issue after upgrading from RN v0.65 to RN v0.68. Looks like RN v0.68 is not officially supported yet though according to readme 😞

jesperjohansson avatar Jun 17 '22 09:06 jesperjohansson

Last update of RN Code Push was on 12 October 2021 - v7.04, not sure when can we expect a new update fixing this issue. Any help?

tradebulls avatar Jun 28 '22 03:06 tradebulls

Any update on this issue? Can anyone help?

tradebulls avatar Jul 29 '22 03:07 tradebulls

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Sep 27 '22 05:09 ghost

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

ghost avatar Oct 12 '22 06:10 ghost

We are getting this

simonmasinde avatar Dec 16 '22 08:12 simonmasinde

any updates for this?? I have the same issue

codewithali9 avatar Jan 11 '23 08:01 codewithali9

I have the same issue when i have update app with using code push

momguide avatar Feb 03 '23 02:02 momguide

we are also facing the same issue, is there any update please?

johnny-washswat avatar Feb 13 '23 06:02 johnny-washswat

Can someone from Microsoft open the issue please

chakravarthi-bb avatar Apr 24 '23 14:04 chakravarthi-bb

Last update of RN Code Push was on 12 October 2021 - v7.04, not sure when can we expect a new update fixing this issue. Any help?

@tradebulls have you tried to upgrade the RN version to the maybe over 0.71 something like that?

johnny-washswat avatar May 10 '23 10:05 johnny-washswat

We are on RN 0.69.6 and facing the same issue

paryanihitesh avatar Jul 06 '23 08:07 paryanihitesh

We are on RN 0.72.3 and facing the same issue

VietTekmedi avatar Sep 10 '23 18:09 VietTekmedi

We are on RN 0.72.4 and facing the same issue

mk0116 avatar Sep 13 '23 01:09 mk0116

Experiencing this on RN 0.70.8

daniel-covelli avatar Sep 14 '23 20:09 daniel-covelli

Folks, could you please share more information about the version you are using (RN, CodePush) and the CodePush configuration in your JS and native code. It would be greatly appreciated if someone could create a minimal demo app that replicates this error.

DmitriyKirakosyan avatar Sep 27 '23 07:09 DmitriyKirakosyan

I'm going to close this issue for now. Please let me know if anyone could create a demo app reproducing the issue.

DmitriyKirakosyan avatar Oct 16 '23 08:10 DmitriyKirakosyan