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

SIGSEGVMainActivity Segmentation violation (invalid memory reference) #16

Open
efstathiosntonas opened this issue May 27, 2022 · 4 comments

Comments

@efstathiosntonas
Copy link
Contributor

Getting this on Google Pixel 5 Android 12 during app startup. It crashed 3 times in a row and the 4th time the app opened fine.

module version: 0.1.5

SIGSEGVMainActivity
Segmentation violation (invalid memory reference)
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:303568 0x6dd3ab61d0	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:411376 0x6dd3ad06f0	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:214448 0x6dd3aa05b0	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:484684 0x6dd3ae254c	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:195512 0x6dd3a9bbb8	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes.so:157616 0x6dd3a927b0	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!libhermes-executor-common-release.so:103304 facebook::jsi::RuntimeDecorator<facebook::jsi::Runtime, facebook::jsi::Runtime>::createFunctionFromHostFunction(facebook::jsi::PropNameID const&, unsigned int, std::__ndk1::function<facebook::jsi::Value (facebook::jsi::Runtime&, facebook::jsi::Value const&, facebook::jsi::Value const*, unsigned long)>)	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhermes-executor-common-release.so:100336 0x6dcb6187f0	
/data/app/~~hhSLSPhVIdBgg4tixMbrsw==/com.XXXXXXX-rW9c2P1xwsE3xsO-_5SMjA==/base.apk!/lib/arm64-v8a/libhashing.so:471245897292 RNHashing::installHashing(facebook::jsi::Runtime&)	

@TheRogue76
Copy link
Owner

Hey @efstathiosntonas. Can you send the version of React Native that you are using with this? and the full adb and metro log? I'm in a bit of a mess right now, but I'm going to try to find some time to test it out. Is this in dev or in release mode?

@TheRogue76
Copy link
Owner

Also can you send the code segment that causes this issue? which method is being called?

@efstathiosntonas
Copy link
Contributor Author

Hey @TheRogue76, sorry for not providing more info. My bad.

I'm using react-native 0.67.4, the bug showed up in release mode and it came through bugsnag so I don't have any logcat. The method being called is sha1 but the crash happened during app launch, not while calling this method so I don't think we should blame the method. I cannot replicate it my self since I don't have access to a Pixel 5, on emulator on dev mode works fine.

This is the breadcrumb:
Screenshot 2022-05-27 at 09 27 46

@efstathiosntonas
Copy link
Contributor Author

@TheRogue76 I'll ask for logcats from our QA company, hopefully they have them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants