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

Android/iOS native SDKs crashes on some PBF files #425

Open
doubotis opened this issue Feb 10, 2023 · 0 comments
Open

Android/iOS native SDKs crashes on some PBF files #425

doubotis opened this issue Feb 10, 2023 · 0 comments

Comments

@doubotis
Copy link

doubotis commented Feb 10, 2023

Describe the bug
When generating the planet MBTiles, some generated PBF files makes the Maplibre GL Native library to crash with a std::runtime error :

feature referenced out of range key

I attached a sample of a PBF file that triggers the crash : 5512.pbf.zip. Tile coordinate is 8445,5512,14.
If you need the MBTiles that contains this PBF and the styling, I can host it.
The PBF file is reported as a valid Vector Mapbox Tile.
This file is read without any problem by the Javascript library maplibre-gl-js.

Additional tries
We tried the same generation of planet MBTiles, but with a restricted BBOX. Same issue occured.

Additional context
Only thing we have changed from the repos source is the shared memory of the postgres database docker container. We put 1GB of shared memory.

It seems the issue is bound to some duplicated properties on some PBF files, but I can't tell how to solve the issue.
The reported crash message seems to be located here. I have found some evidences on this bug report too. Sadly, i struggle to decide if I have to solve the issue from Maplibre GL Native or if this is the MBTiles's fault.
For reference, I filled the issue in maplibre-gl-native git repos too (as this is where the crash occurs).

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

No branches or pull requests

1 participant