-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
Memory Allocation Failure / Crash on Startup #2336
Comments
We are using the newest available version of tangram-es. Best report this problem directly into the tangram-es issue tracker. I'll close this here as this is not solvable in this repo |
Quick link to their issue tracker: https://github.com/tangrams/tangram-es/issues/ |
Thanks! Created a new issue here: tangrams/tangram-es#2215 |
I tried to build StreetComplete with changes to debug the issue, but I ran into this google/dagger#1339 issue, which is caused by using JDK != 8 (?), but Android Studio refuses to load JDK < 11. What setup do you use to build this @westnordost ? |
Oh no, the version I built myself runs without issue. Only the build on F-Droid is broken. :( This issue keeps getting more cursed. |
Hm! The version you built will be a debug version. Try building a release version (I think you need to sign it with an own key then) and see if you can reproduce the crash with that. |
Ah right, the release version crashes with the expected error. Maybe the compiler is optimizing something away when it's built in release mode. 🤔 Also kinda suspect proguard/r8, although |
Well you could try to turn on multidex to solve that particular problem. It is also possible to "debug" proguard/r8, i.e. output what exactly it throws away. I think it was some parameter you add to the proguard config that does that. |
- fixes workarounded crash (tangrams/tangram-es#2136) - fixes misplacement of quest ring #1810 (and quest pins) - fixes workarounded crash on Android API 30 #2336 (tangrams/tangram-es#2215)
- fixes workarounded crash (tangrams/tangram-es#2136) - fixes misplacement of quest ring #1810 (and quest pins) - fixes workarounded crash on Android API 30 #2336 (tangrams/tangram-es#2215)
While running with grapheneOS, the app crashes on startup. I think I've narrowed this down to the hardened malloc implementation that grapheneOS uses, indicating memory management issues with the
com.mapzen.tangram
package.How to Reproduce
Versions affected
Tested on StreetComplete v26.2, v27 from F-Droid, grapheneOS 2020-11-27 (Android 11)
Potential easy fix(?)
It looks like they rewrote some of the relevant code in
tangram
recently (see tangrams/tangram-es@c4b0245), maybe upgrading the package will fix the issue.The text was updated successfully, but these errors were encountered: