View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002538 | Slicer4 | Core: Base Code | public | 2012-09-19 14:29 | 2014-03-06 05:10 |
Reporter | nicole | Assigned To | finetjul | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0002538: slice pipeline causing a crash when restoring scene views with models + slices visible in 3d | ||||
Description | When restoring a scene view in the brain atlas mrb, slicer crashes. Tracing it in the debugger, it's due to the end restore event triggering an update of the display node pipeline in vtkMRMLModelSliceDisplayableManager.cxx. Ideally I'd like to get this fixed before Sept 20th mid day so that Marianna can work on the Brain Atlas test case before she'll be out of the office. | ||||
Steps To Reproduce | download new brain atlas mrb from: | ||||
Additional Information | (I wasn't able to reproduce this with a simpler scene file) | ||||
Tags | No tags attached. | ||||
related to | 0002428 | closed | finetjul | Model maker creates less models than the number of labels in the input image |
parent of | 0002540 | closed | finetjul | avoid rendering during batch processing |
related to | 0002539 | closed | finetjul | Update node reference before AddNode to scene |
child of | 0002513 | closed | finetjul | Tutorial 11 - Brain Atlas |
Regression from r20972: Node is being removed from scene and deleted, but vtkMRMLModelSliceDisplayableManager ignores it (vtkMRMLModelSliceDisplayableManager Unfortunately, r20972 doens't refer to an issue number :-P |
|
The model slice displayable manager might have to respond to the batch processing end event to reset itself to the update scene then. |
|
In 0002428 comment 0006037, it is said that GetDisplayNode() was called, however I can't see in the code where it is (except in a rendering routine).
|
|
Hi Julien - As I recall, GetDisplayNodes was being called as a byproduct of AddDisplayableNode in vtkMRMLModelSliceDisplayableManager::OnMRMLSceneNodeAdded so a render wasn't required (although it could be triggered - see new child issue). GetDisplayNodes was causeing the polydata from the displayble node to be assigned into the wrong display node pipeline and lots of stuff was broken. :/ So as long as GetDisplayNodes isn't called when batch processing is being performed then we should be okay with your other changes. -Steve |
|
Fixed in r21025 Steve, r20972 was not about AddDisplayableNode (OnMRMLSceneNodeAdded) but about OnMRMLSceneNodeRemoved |
|
The source of the bad behavior was fixed here: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=20970 20972 was added for consistency. |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-09-19 14:29 | nicole | New Issue | |
2012-09-19 14:29 | nicole | Status | new => assigned |
2012-09-19 14:29 | nicole | Assigned To | => finetjul |
2012-09-19 14:36 | nicole | Priority | immediate => high |
2012-09-19 14:36 | nicole | Reproducibility | have not tried => always |
2012-09-19 14:36 | nicole | Description Updated | |
2012-09-19 15:04 | nicole | Relationship added | child of 0002513 |
2012-09-20 11:12 | finetjul | Note Added: 0006147 | |
2012-09-20 11:18 | finetjul | Relationship added | related to 0002428 |
2012-09-20 11:19 | finetjul | Note Edited: 0006147 | |
2012-09-20 11:26 | nicole | Note Added: 0006148 | |
2012-09-20 11:31 | finetjul | Note Edited: 0006147 | |
2012-09-20 11:36 | finetjul | Note Edited: 0006147 | |
2012-09-20 12:16 | finetjul | Note Added: 0006151 | |
2012-09-20 12:37 | finetjul | Relationship added | related to 0002539 |
2012-09-20 13:51 | pieper | Relationship added | parent of 0002540 |
2012-09-20 13:55 | pieper | Note Added: 0006154 | |
2012-09-21 06:02 | finetjul | Note Added: 0006158 | |
2012-09-21 06:02 | finetjul | Status | assigned => resolved |
2012-09-21 06:02 | finetjul | Fixed in Version | => Slicer 4.2.0 - coming release |
2012-09-21 06:02 | finetjul | Resolution | open => fixed |
2012-09-21 07:24 | pieper | Note Added: 0006161 | |
2014-03-06 05:08 | jcfr | Note Added: 0010968 | |
2014-03-06 05:10 | jcfr | Status | resolved => closed |