ecency / ecency-mobile

Ecency Mobile - reimagined social blogging, contribute and get rewarded (for Android and iOS)
https://ecency.com
MIT License
232 stars 69 forks source link

SIGSEGV Segmentation violation (invalid memory reference) - libhermes #2299

Open noumantahir opened 2 years ago

noumantahir commented 2 years ago

Apparently starting from our version release 3.0.28, I am seeing a lot of segmentation violation issues that would possibly a reason for the weird crash reported by Melinda....

Screenshot 2022-05-12 at 3 57 54 PM

possible direction to fix out of memory issue.... https://github.com/facebook/hermes/issues/439#issuecomment-767833616 https://github.com/facebook/hermes/issues/439

Fix for this issue might be quite a challenge, we will have identify what change started using excessive heap and causing app to crash in production.

Bugsnag reference https://app.bugsnag.com/ecency/ecency-mobile/errors/610852062040450007c48ea8?filters[event.since]=all&filters[error.status]=open

noumantahir commented 2 years ago

Personal Assessment:

In my testing current production android app on my mid level Redmi Note 10 device, I was not able to crash app after using is aggressively for roughly 10 minutes that include... my testing included opening as many posts, feed paginations, screen as much as possible notifications, wallet, profile, drafts, writing posts.

The issue I did face however was extremely extremely unexpected,