-
Notifications
You must be signed in to change notification settings - Fork 28
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
Panic: index out of bounds #29
Comments
In case you missed it, Are you working with huge numbers of geometries? Also I noticed from your error message:
So, am I correct that you're targeting wasm? Do you have any reproducible script that can induce this panic? |
I have also encountered this issue. It seems that the problem occurs when rust-geo-booleanop/lib/src/boolean/connect_edges.rs Lines 176 to 180 in 7198a03
It seems that |
Just a guess, but I think it may all come down to the discussion over here: #17 (comment) Mutating the search tree in a way that violates the search tree invariant can sooner or later lead to a bug. I assume this is just another (later) manifestation of the problem. |
My app generates polygons many times a second. Sometimes it panics with the following:
It only seems to happen when taking the difference. Below are some vertices that have caused the issue:
The text was updated successfully, but these errors were encountered: