-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add a character before the picture in demo app crashes Aztec #729
Comments
Tested on a Nexus 5 with 10.1 and it didn't crash |
Reproduced on Aztec |
This is related to #516 Fabric.io reports: |
We can try to follow the suggestion reported in the Google bug report and disable Hardware acceleration. |
Just commenting on the potential fix by using software rendering, I'd consider dropping hardware acceleration quite an extreme measure, one that would most probably harm Aztec's performance even more. |
Unfortunately doesn't seem other options are available to fix the issue. Except waiting until Google fixes it in the platform. We're waiting since 2017 anyway. |
Will assign this issue to myself and try to investigate as well. |
Even if there is no other solution, this crash seems to be affecting less than 0.07% of our users (if I counted this right). I'd imagine disabling hardware acceleration could potentially have worse effects on a much bigger set of users. |
I'm counting 11.22% of crashes in |
That's right, but 10.2 has had 99.63% of crash-free sessions, so that's 11% of the 0.4% of crashed sessions, or ~0.04% of the total number of sessions. It is one of the top Android crashes, and if we can find a way to fix it let's do it. Just not at the expense of degrading performance for the other 99%. |
Well, if we want to have a clear picture we should only count those sessions that involved Or we can deduct it in another way...calculate the % of all the total sessions that called |
Based on the discussions about similar (same?) same issue in Aztec repo this might be the OS that was tracked by Google and fixed in newer OS version. If someone else can confirm this we can probably close this issue (I assmue we are not going to disable HWA). |
I found a better workaround: if we remove all values |
If it is acceptable, I can create a PR or gist for it. |
👋 @drakeet !
I'm kinda confused about what that means, can you elaborate? Also, are those an indication that there's a bug somewhere else? It would be awesome if you could continue investigating towards finding the root cause of the crash here or maybe offer some insight if you have it from your experience with your own app. I'd say that the suggestion in #729 (comment) feels a bit more hacky than we'd ideally want so, perhaps a PR with that won't get enough traction. That said, since I don't quite understand the suggestion so far, happy to revise after you expand it. Thanks! |
Closing via #801 |
This is weird.
I tried to add some character before the first picture in demo app and Aztec crashed with the following stack trace:
I've been able to reproduce the issue on Android 8.0 on both emulators, and real devices.
Steps to repro:
Would be cool if someone else can verify this report, since looking at crash report it seems something internal to Android.
Tested on
develop
running on Android 8.0.The text was updated successfully, but these errors were encountered: