# Show 3D crashing after threshold

**URL:** <https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [March 9, 2020, 4:19am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593 "2020-03-09T04:19:56Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfarman](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@rfarman](https://discourse.slicer.org/u/rfarman)\
**Post date:** [March 9, 2020, 4:19am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/1 "2020-03-09T04:19:56Z")

</div>

Hi,

Was wondering if anyone could help me! I am trying to segment a frog skeleton. Once I have used threshold and want to view the 3d image it crashes. I have everything closed except for slicer and I suspect it might be something to do with my laptops capabilities. My specs are Intel Core I7 - 9750H, 2.6ghz, 16gb ram, NVIDIA GeForce GTX 1660 Ti.

Is my hardware sufficient and is there anyway I can change something for it to work?

Any help would be very much appreciated!

Thanks!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 9, 2020, 4:24am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/2 "2020-03-09T04:24:29Z")

</div>

How big is your dataset?

Can you post the log file from the Help-\>Report a bug and then choose the session log that crash occured (usually the one below the latest).

---

<div class="post-metadata">

**Author:** ![rfarman](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@rfarman](https://discourse.slicer.org/u/rfarman)\
**Post date:** [March 9, 2020, 5:28am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/3 "2020-03-09T05:28:23Z")

</div>

Hi,

The file is 6.7gb and I copied everything except for the welcome.

Hopefully I have copied everything correctly.

Thank you!

[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Session start time …: 2020-03-09 16:17:43  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Slicer version …: 4.10.2 (revision 28257) win-amd64 - installed release  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Operating system …: Windows / Professional / (Build 9200) - 64-bit  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Memory …: 16196 MB physical, 32165 MB virtual  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - CPU …: GenuineIntel , 12 cores, 12 logical processors  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Developer mode enabled …: no  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Prefer executable CLI …: yes  
[DEBUG][Qt] 09.03.2020 16:17:43 [] (unknown:0) - Additional module paths …: C:/Users/short/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules  
[DEBUG][Python] 09.03.2020 16:17:45 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations  
[DEBUG][Python] 09.03.2020 16:17:46 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor  
[DEBUG][Python] 09.03.2020 16:17:46 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 9, 2020, 6:23am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/4 "2020-03-09T06:23:34Z")

</div>

I don’t see an error message in here. Few suggestions:

1. You re using the stable, try a preview build and see if you still have problems.
2. We typically suggest 6-10X more memory than your dataset for segmentation tasks. Given the size of the dataset, you might be running out of memory. You can try downsampling your volume by `Crop Volume` module to see if working with lower resolution helps.
3. Make sure to check Nvidia control panel to see if the Slicer is actually set to run on the geforce 1650 GPU. [Can I choose which GPU to use?](https://discourse.slicer.org/t/can-i-choose-which-gpu-to-use/3149)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 9, 2020, 12:53pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/5 "2020-03-09T12:53:14Z")

</div>

Please send the log of the session where the crash occurred. In Help / Report a bug dialog, there is a list where you can select previous sessions.

---

<div class="post-metadata">

**Author:** ![rfarman](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@rfarman](https://discourse.slicer.org/u/rfarman)\
**Post date:** [March 10, 2020, 1:46am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/6 "2020-03-10T01:46:22Z")

</div>

Thank you Murat! I changed the settings in Nvidia control panel and changed to the preview build. That seemed to fix the problem!!

---

<div class="post-metadata">

**Author:** ![rfarman](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@rfarman](https://discourse.slicer.org/u/rfarman)\
**Post date:** [March 10, 2020, 1:47am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/7 "2020-03-10T01:47:15Z")

</div>

The suggestions given to me by Murat worked. Would you still like the report?

Cheers

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2020, 1:48am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/8 "2020-03-10T01:48:57Z")

</div>

If it’s not too much trouble, then it would be interesting how the error shows up in the log (we might then identify the problem easier next time, only by looking at the logs).

---

<div class="post-metadata">

**Author:** ![rfarman](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@rfarman](https://discourse.slicer.org/u/rfarman)\
**Post date:** [March 10, 2020, 1:57am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/9 "2020-03-10T01:57:08Z")

</div>

Not a problem! I believe this is the one from yesterday.

[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Session start time …: 2020-03-09 16:00:22  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Slicer version …: 4.10.2 (revision 28257) win-amd64 - installed release  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Operating system …: Windows / Professional / (Build 9200) - 64-bit  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Memory …: 16196 MB physical, 32165 MB virtual  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - CPU …: GenuineIntel , 12 cores, 12 logical processors  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Developer mode enabled …: no  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Prefer executable CLI …: yes  
[DEBUG][Qt] 09.03.2020 16:00:22 [] (unknown:0) - Additional module paths …: C:/Users/short/AppData/Roaming/NA-MIC/Extensions-28257/SegmentMesher/lib/Slicer-4.10/qt-scripted-modules  
[DEBUG][Python] 09.03.2020 16:00:24 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations  
[DEBUG][Python] 09.03.2020 16:00:25 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor  
[DEBUG][Python] 09.03.2020 16:00:25 [Python] (C:\Program Files\Slicer 4.10.2\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics  
[DEBUG][Qt] 09.03.2020 16:00:25 [] (unknown:0) - Switch to module: “Welcome”  
[ERROR][VTK] 09.03.2020 16:02:28 [vtkITKArchetypeDiffusionTensorImageReaderFile (000001E405BDF010)] (D:\D\S\Slicer-4102\Libs\vtkITK\vtkITKArchetypeDiffusionTensorImageReaderFile.cxx:175) - There is more than one file, use the vtkITKArchetypeImageSeriesReader instead  
[INFO][VTK] 09.03.2020 16:03:08 [vtkMRMLVolumeArchetypeStorageNode (000001E416629560)] (D:\D\S\Slicer-4102\Libs\MRML\Core\vtkMRMLVolumeArchetypeStorageNode.cxx:465) - Loaded volume from file: C:/Users/short/Desktop/Heleioporus eyrei/Morphosource\_mcz\_herp\_a-139552\_M30020/mcz\_herp\_a-139552\_M30020-57700\_Heleioporus\_eyrei\_skeleton/MCZ-A139552\_H\_eyrei\_Rec/MCZ-A139552\_H\_eyrei\_rec0049.tif. Dimensions: 1876x872x2191. Number of components: 1. Pixel type: unsigned short.  
[DEBUG][Qt] 09.03.2020 16:03:08 [] (unknown:0) - “Volume” Reader has successfully read the file “C:/Users/short/Desktop/Heleioporus eyrei/Morphosource\_mcz\_herp\_a-139552\_M30020/mcz\_herp\_a-139552\_M30020-57700\_Heleioporus\_eyrei\_skeleton/MCZ-A139552\_H\_eyrei\_Rec/MCZ-A139552\_H\_eyrei\_rec0049.tif” “[42.40s]”  
[DEBUG][Qt] 09.03.2020 16:13:16 [] (unknown:0) - Switch to module: “Volumes”  
[WARNING][Qt] 09.03.2020 16:13:17 [] (unknown:0) - ctkDoubleRangeSlider::setSingleStep( 100 ) is outside of valid bounds.  
[WARNING][Qt] 09.03.2020 16:13:17 [] (unknown:0) - ctkRangeWidget::setSingleStep( 100 ) is outside valid bounds  
[DEBUG][Qt] 09.03.2020 16:13:32 [] (unknown:0) - Switch to module: “Segmentations”  
[DEBUG][Qt] 09.03.2020 16:13:47 [] (unknown:0) - Switch to module: “SegmentEditor”  
[CRITICAL][Qt] 09.03.2020 16:13:47 [] (unknown:0) - void \_\_cdecl qSlicerSegmentationsModuleWidget::onEditSelectedSegment(void) : MRMLNodeComboBox\_Segmentation is not found in Segment Editor module  
[DEBUG][Qt] 09.03.2020 16:14:43 [] (unknown:0) - Switch to module: “Segmentations”  
[DEBUG][Qt] 09.03.2020 16:14:46 [] (unknown:0) - Switch to module: “SegmentEditor”  
[CRITICAL][Qt] 09.03.2020 16:14:46 [] (unknown:0) - void \_\_cdecl qSlicerSegmentationsModuleWidget::onEditSelectedSegment(void) : MRMLNodeComboBox\_Segmentation is not found in Segment Editor module  
[DEBUG][Qt] 09.03.2020 16:15:12 [] (unknown:0) - Switch to module: “Segmentations”  
[WARNING][VTK] 09.03.2020 16:15:12 [vtkMRMLSegmentationDisplayNode (000001E4083F58F0)] (D:\D\S\Slicer-4102\Libs\MRML\Core\vtkMRMLSegmentationDisplayNode.cxx:296) - vtkMRMLSegmentationDisplayNode::GetSegmentDisplayProperties: no display properties are found for segment ID=Segment\_1, return default  
[CRITICAL][Qt] 09.03.2020 16:15:12 [] (unknown:0) - void \_\_cdecl qMRMLSegmentationDisplayNodeWidget::updateSelectedSegmentSection(void) : No display properties found for segment ID “Segment\_1”  
[WARNING][VTK] 09.03.2020 16:15:12 [vtkMRMLSegmentationDisplayNode (000001E4083F58F0)] (D:\D\S\Slicer-4102\Libs\MRML\Core\vtkMRMLSegmentationDisplayNode.cxx:296) - vtkMRMLSegmentationDisplayNode::GetSegmentDisplayProperties: no display properties are found for segment ID=Segment\_1, return default  
[CRITICAL][Qt] 09.03.2020 16:15:12 [] (unknown:0) - void \_\_cdecl qMRMLSegmentationDisplayNodeWidget::updateSelectedSegmentSection(void) : No display properties found for segment ID “Segment\_1”  
[DEBUG][Qt] 09.03.2020 16:15:23 [] (unknown:0) - Switch to module: “SegmentEditor”  
[CRITICAL][Qt] 09.03.2020 16:15:23 [] (unknown:0) - void \_\_cdecl qSlicerSegmentationsModuleWidget::onEditSelectedSegment(void) : MRMLNodeComboBox\_Segmentation is not found in Segment Editor module

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2020, 4:53am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/10 "2020-03-10T04:53:42Z")

</div>

Thank you. There does not seem to be any suspicious in this log. If you are sure that this was the session where you had problems then maybe our logs were just not detailed enough to capture more information about the issue.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 10, 2020, 6:02am UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/11 "2020-03-10T06:02:17Z")

</div>

If this was caused by opengl crash, I never managed to get any errors on windows during my tests with 4.10.2.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2020, 1:17pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/12 "2020-03-10T13:17:01Z")

</div>

By OpenGL crash, do you mean [TDR related errors](https://discourse.slicer.org/t/volume-rendering-causes-application-crash/3783/4) or others? How did you know that it was OpenGL crash (from displayed error message, Windows logs, …)?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 10, 2020, 3:00pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/13 "2020-03-10T15:00:01Z")

</div>

I might have misspoke, I don’t necessarily know that they are opengl issues. But always happened rendering. Preview builds are much better handling larger 3D volumes than 4.10.2.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 10, 2020, 3:39pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/14 "2020-03-10T15:39:40Z")

</div>

Actually I do have a follow up question on this. What is the purpose of ‘adaptive’ setting in the `Volume Rendering` module? For small volumes (medical size) this has no appreciably performance difference between Normal and Adaptive. For large datasets (\>1 gigavoxel) Adaptive often performs poorly compared to Normal (stutters, crashes or results in lower FPS for the same volume property).

Can it be removed? Or at least make the Normal as the default global setting?

@lassoan @pieper

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 10, 2020, 3:58pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/15 "2020-03-10T15:58:06Z")

</div>

Adaptive settings is essential for lower-end graphics hardware and CPU-based volume rendering. It measures rendering time and degrades rendering settings to achieve the desired interactive refresh rate. It works very well for CPU-based rendering, but since GPU-based rendering performs a lot of processing in background threads and on the hardware, rendering time measurement is not a good estimation of how overloaded the rendering pipeline is.

Probably we could use “Normal” quality for GPU-based rendering by default, but unfortunately, quality mode is defined in the view node and not in the display node, so it would not be easy to change it cleanly.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 10, 2020, 5:46pm UTC](https://discourse.slicer.org/t/show-3d-crashing-after-threshold/10593/16 "2020-03-10T17:46:49Z")

</div>

I have seen quite a bit of the stuttering sort of 3D rendering issues for larger volumes fixed simply switching to Normal, even with integrated GPUs. Yes, I would encourage making the default setting Normal, but of course can’t comment on the feasibility.
