maplibre-native icon indicating copy to clipboard operation
maplibre-native copied to clipboard

Crash in LineBucket::addGeometry()

Open clinthidinger opened this issue 8 months ago • 2 comments

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

clinthidinger avatar Jun 17 '24 19:06 clinthidinger