# Cross Section Analysis Freezing

**URL:** <https://discourse.slicer.org/t/cross-section-analysis-freezing/37206>\
**Category:** Support\
**Tags:** python\
**Created:** [July 5, 2024, 8:02am UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206 "2024-07-05T08:02:31Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 7, 2024, 12:35pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/21 "2024-10-07T12:35:38Z")

</div>

> [@SANTIAGO\_PENDON\_MING](#):
>
> freeze

Thanks for the sample scene. No freezing was seen in Linux, and I don’t use Windows at all. It will be hard for me to go any further without tangible observations.

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 7, 2024, 12:49pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/22 "2024-10-07T12:49:26Z")

</div>

> [@SANTIAGO\_PENDON\_MING](#):
>
> freeze

It doesn’t freeze with Slicer 5.6.2 neither on Linux. Please try with Slicer Preview.

---

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [October 7, 2024, 1:30pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/23 "2024-10-07T13:30:27Z")

</div>

Hi again @chir.set, I’m sharing a video with the execution (sorry for not send it before, I didn’t think on it…)

I actually running in version 5.6.2 so i guess you suggest the newer (but not stable yet) version?

I think the real reason to crash or not is the OS, not executing it with code or clicks and also not a problem with the way we give the inputs to CSA…

Do you propose any specific supervision on the input data to take care of this?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [October 7, 2024, 2:02pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/24 "2024-10-07T14:02:58Z")

</div>

Finally I found the solution:

Windows 11 with 3D Slicer 5.6.2 crashes when you try to execute CSA in zones where the centerline does not intersect the lumen surface.

BUT, in 5.7.0 version, the module does not crash and shows a similar behaviour as Linux/Mac in 5.6.2 version

I hope this could help someone and thanks to @chir.set for the amazing support during this months.

---

<div class="post-metadata">

**Author:** ![SANTIAGO\_PENDON\_MING](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/santiago_pendon_ming/32/66060_2.png) [@SANTIAGO\_PENDON\_MING](https://discourse.slicer.org/u/SANTIAGO_PENDON_MING)\
**Post date:** [October 8, 2024, 1:54pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/25 "2024-10-08T13:54:20Z")

</div>

UPDATE:

The problem was not the version of Slicer or the OS version…

The problem is import Pyvista python module… This import crash the cross-section Analysis. We suppose that this come from Pyvista uses several VTK instances and some of them could enter into conflicts with the CSA Module…

To solve this issue I think we will need extra help @chir.set

 ![Captura de pantalla 2024-10-08 155227](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/d/d/ddfc93dd0107929ebb5b143a4356d451d5a53ddc.png)

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [October 8, 2024, 2:09pm UTC](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206/26 "2024-10-08T14:09:53Z")

</div>

> [@SANTIAGO\_PENDON\_MING](#):
>
> import Pyvista

A quick glance at its web page concludes that it is a competitor to Slicer’s approach to VTK via python. Expected conflicts have emerged in _your_ project. This library is foreign to me and I can’t allocate resources in too many directions; I’m afraid not to be that helpful.

[Previous page](https://discourse.slicer.org/t/cross-section-analysis-freezing/37206.md?page=1)
