You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally (1:8) I observe a panic condition. I managed to print out the data of RegionAssembly causing the panic, and using this data to create a regression test (see PR)
Code with regresssion test assembling 3668 segments/lines #1126
The panic occures in the the check in file assembly.rs
debug_assert!(num_segments % 2 == 0, "assembly segments must be eulierian");
The execution path leading to this point of the RegionAssembly occures in the context of bop.sweep() in the following code
impl<T: GeoFloat> BooleanOps for MultiPolygon<T> {
type Scalar = T;
fn boolean_op(&self, other: &Self, op: OpType) -> MultiPolygon<Self::Scalar> {
let spec = BoolOp::from(op);
let mut bop = Proc::new(spec, self.coords_count() + other.coords_count());
bop.add_multi_polygon(self, 0);
bop.add_multi_polygon(other, 1);
bop.sweep()
}
Appreciating any hint why this crash occures and how to avoid the panic crash
The text was updated successfully, but these errors were encountered:
Occasionally (1:8) I observe a panic condition. I managed to print out the data of RegionAssembly causing the panic, and using this data to create a regression test (see PR)
Code with regresssion test assembling 3668 segments/lines #1126
The panic occures in the the check in file
assembly.rs
The execution path leading to this point of the RegionAssembly occures in the context of
bop.sweep()
in the following codeAppreciating any hint why this crash occures and how to avoid the panic crash
The text was updated successfully, but these errors were encountered: