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

Crash in LineBucket::addGeometry() #2513

Open
clinthidinger opened this issue Jun 17, 2024 · 3 comments
Open

Crash in LineBucket::addGeometry() #2513

clinthidinger opened this issue Jun 17, 2024 · 3 comments
Labels
OpenGL Issues related to the OpenGL renderer backend windows

Comments

@clinthidinger
Copy link

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 clinthidinger added the bug Something isn't working label Jun 17, 2024
@louwers
Copy link
Collaborator

louwers commented Jun 17, 2024

It would be useful to know if you are using the legacy renderer or the drawable renderer.

@louwers louwers added windows OpenGL Issues related to the OpenGL renderer backend labels Jun 17, 2024
@clinthidinger
Copy link
Author

It looks like I have the legacy renderer enabled as I didn't change any of the cmake default options.

@clinthidinger
Copy link
Author

Added a PR here: #2959.

@louwers louwers removed the bug Something isn't working label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OpenGL Issues related to the OpenGL renderer backend windows
Projects
None yet
Development

No branches or pull requests

2 participants