maplibre-native
maplibre-native copied to clipboard
Crash in LineBucket::addGeometry()
LineBucket::addGeometry() will crash in the lambda that sets "first" when "coordinates" is empty in line_bucket.cpp.
There are no consistent repro steps. I'm loading a vector mbtiles file and zooming to make it happen. The crash is intermittent.
I have not researched a proper solution. I have hacked in a check for empty that returns 0 from the lambda to keep moving.
- OS: Windows 11
- Platform: GLFW
- branch main commit 30484d8