Slicer crash when combining surface models

I have a reproducible Slicer crash when trying to combine two surface models using the Combine Models module. The models were both created by converting from segmentation segments, and one of them has been cut using the Plane Cut capabilities of Dynamic Modeler. I have tried running the “Clean” and “Compute Surface Normals” with auto-orient steps from the Surface Toolbox on each model, but still get a crash when trying to combine them. Any suggestions? The model files are available here if anyone is willing to take a look at them. Thanks!

Combine models module is a thin wrapper over vtkbool. Please report the issue there and for future reference, add a link here to the bug report.

1 Like

Thanks, I reported this at Crash on combining certain models · Issue #46 · zippy84/vtkbool · GitHub

1 Like

Hi Andras,

We encountered this same error in the past, and over time you managed to fix it in the 5.0.x versions. In those versions, when “Combine Models” encounters an error, it generates an empty model, and Slicer continues working. However, I recently tried updating to the Stable 5.6.2 version and am experiencing the same problem as before when an error occurs, Slicer closes.

I understand this was a bug that was previously fixed and has now reappeared. Is there anything I can do to resolve this?

A workaround is already available in Sandbox extension that you can easily apply to your Combine Models module. We haven’t integrated it because a better fix was provided in vtkbool.

If the vtkbool fix works then we’ll use that and drop the workaround in the Sandbox. Testing this takes some time, so have to wait a few weeks (or you can help out by building Slicer and the Sandbox extension and testing if the vtkbool fix solves your problem).