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

App Napper crashes on start #4116

Closed
andreasd083 opened this issue Oct 9, 2024 · 12 comments
Closed

App Napper crashes on start #4116

andreasd083 opened this issue Oct 9, 2024 · 12 comments
Labels

Comments

@andreasd083
Copy link

Crashes direct on launch

type: crash
osVersion: google/bluejay/bluejay:14/AP2A.240905.003.F1/2024092900:user/release-keys
package: com.napper:531
process: com.napper
processUptime: 0 + 0 ms
installer: com.android.vending

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x000000604ad80fe0

backtrace:
#00 pc 00000000000d3028 /data/app/~~nWuJtMdj5aeyTej7-CRWNg==/com.napper-1F1hgCSmgafqIaauN8Nu7A==/split_config.arm64_v8a.apk!libhermes.so (offset 0x34d000) (BuildId: bfa8eb170f9994ef16aeaa9d39952b490faf0e16)
#1 pc 00000000000d2f8c /data/app/~~nWuJtMdj5aeyTej7-CRWNg==/com.napper-1F1hgCSmgafqIaauN8Nu7A==/split_config.arm64_v8a.apk!libhermes.so (offset 0x34d000) (BuildId: bfa8eb170f9994ef16aeaa9d39952b490faf0e16)
repats the same for 511 rows

same for Aurora

type: crash
osVersion: google/bluejay/bluejay:14/AP2A.240905.003.F1/2024092900:user/release-keys
package: com.napper:531
process: com.napper
processUptime: 0 + 0 ms
installer: com.aurora.store

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000068c6f88f78

backtrace:
#00 pc 00000000000984c4 /data/app/~~xZPvVJ24caUlFB2wcT9uNg==/com.napper-D-xL0Sx1cOt2FxT4xl9l8A==/split_config.arm64_v8a.apk!libhermes.so (offset 0x34d000) (BuildId: bfa8eb170f9994ef16aeaa9d39952b490faf0e16)
#1 pc 000000000009844c /data/app/~~xZPvVJ24caUlFB2wcT9uNg==/com.napper-D-xL0Sx1cOt2FxT4xl9l8A==/split_config.arm64_v8a.apk!libhermes.so (offset 0x34d000) (BuildId: bfa8eb170f9994ef16aeaa9d39952b490faf0e16)

@thestinger
Copy link
Member

The app appears to have a memory corruption bug. Try enabling exploit protection compatibility mode for it in the app specific settings in the Settings app.

@thestinger thestinger closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2024
@thestinger thestinger added bug Something isn't working upstream labels Oct 10, 2024
@andreasd083
Copy link
Author

andreasd083 commented Oct 10, 2024 via email

@andreasd083
Copy link
Author

andreasd083 commented Oct 10, 2024 via email

@thestinger
Copy link
Member

@andreasd083 There's a bug in the Hermes runtime used by the app. It doesn't properly account for the stack guard size. The library may need to be updated.

@thestinger
Copy link
Member

We've worked around it for the next release and have filed it here:

facebook/hermes#1535

@thestinger
Copy link
Member

Has been worked around on our end in the latest release. It's a bug outside our control though. It seems to be a combination of an app bug with a Hermes compatibility issue with Android.

@andreasd083
Copy link
Author

andreasd083 commented Oct 23, 2024 via email

@thestinger
Copy link
Member

The app is very buggy and the developer needs to fix it.

@thestinger
Copy link
Member

Does the app work for you at least part of the time?

@andreasd083
Copy link
Author

andreasd083 commented Oct 23, 2024 via email

@thestinger
Copy link
Member

It could be because of the stack probes being added but that's definitely not going to be removed. The app needs to update to a fixed version of React Native. You'll need to talk to them. We'll be adding back the 64k stack guard once we have confirmation the React Native patch has shipped.

@thestinger
Copy link
Member

The revert for the 64k stack guard was undone for Android 15 and will be added back. This should work again in the next release later today.

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

No branches or pull requests

3 participants