-
Notifications
You must be signed in to change notification settings - Fork 126
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
Demo App crashes on downloading offline regions #183
Comments
related to maplibre/maplibre-native#177 |
@mariusvn Did you have any success in resolving this issue? |
Nope, i think it's related to the jni in the main Maplibre GL native lib for Android (the cpp doing an ram access to a wrong address, causing a sigsegv) but I don't really have the knowledge to fix it. |
there is apparently a workaround that just came up, not tested it but it looks like its moving flutter-mapbox-gl/maps#1119 (comment) It is still only on mapbox and not maplibre tho. |
@mariusvn I've tried to implement these changes here: https://github.com/BartoszStasiurka/flutter-maplibre-gl/tree/flutter3-fix |
I may have made a mistake: there is two crash cases currently in flutter-maplibre:
I think it is a fix to the second case but i cannot be sure since i didnt tested Thanks for the try, i'll take a look deeper if i have time |
i was talking about this comment #182 (comment) @BartoszStasiurka |
@mariusvn This has been reported before in #39. We didn't find the core issue, but it only happened in the demo app, not in production apps, so I closed it. Someone also commented that it might be relevant to the tile limit (#39 (comment)). Can you test if the crash also happens in your app (without the demo-style from the demo app) and with less tiles? |
For further reference: the issue with the demo style seems to be that the tiles are hosted on Github Pages. It should work with regular tileservers (maplibre/maplibre-native#177 (comment)) |
might be because i don't get it when i download them from my tms server. |
In the demo app, when i download an offline region i get a SIGSEGV
The text was updated successfully, but these errors were encountered: