View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002989 | Slicer4 | Core: Base Code | public | 2013-02-28 05:23 | 2017-06-07 23:27 |
Reporter | johan.andruejol | Assigned To | jcfr | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.2.2-1 | ||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.1 | ||
Summary | 0002989: Loading the same color table node twice crashes Slicer. | ||||
Description | Steps to reproduce: | ||||
Tags | No tags attached. | ||||
Was able to reproduce this problem. Slicer r22390 [local build / Ubuntu 10.04] 1) cd Slicer-src 2) Start Slicer 3) Add Data -> Select "My-Color.txt" If you Open "Data" module - You can see a new color node 4) Add Data -> Select "My-Color.txt" 5) Crash :( |
|
After adding few debug statements here is what I get, for the second loading, a new name is assigned and no ID is set. ---------- vtkMRMLColorLogic::CreateFileNode ----------- ---------- vtkMRMLColorLogic::CreateFileNode ----------- |
|
Fixed in r22394 |
|
Can you close this issue now? |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file b985899f 2013-09-03 14:29:44 Details Diff |
BUG: Fix crash preventing the same color file to be loaded more than once As the documentation associated "AddNode" method explains, in the case of singleton node, the return node should be considered instead of the one passed to the method. AddNode documentation: /// [...] /// If node is a singleton, and a node of the same class with the /// same singleton tag already exists in the scene, \a nodeToAdd is NOT /// added but its properties are copied (c.f. vtkMRMLNode::CopyWithScene()) /// into the already existing singleton node. That node is then returned. Fixes 0002989 git-svn-id: http://svn.slicer.org/Slicer4/trunk@22394 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Logic/vtkMRMLColorLogic.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-28 05:23 | johan.andruejol | New Issue | |
2013-02-28 05:23 | johan.andruejol | Status | new => assigned |
2013-02-28 05:23 | johan.andruejol | Assigned To | => jcfr |
2013-02-28 08:58 | jcfr | Priority | normal => high |
2013-02-28 08:58 | jcfr | Target Version | => Slicer 4.3.0 |
2013-09-03 05:28 | jcfr | Severity | minor => crash |
2013-09-03 05:31 | jcfr | Note Added: 0009823 | |
2013-09-03 05:31 | jcfr | Note Edited: 0009823 | |
2013-09-03 05:31 | jcfr | Note Edited: 0009823 | |
2013-09-03 09:49 | jcfr | Note Added: 0009840 | |
2013-09-03 10:30 | jcfr | Note Added: 0009842 | |
2013-09-03 10:30 | jcfr | Status | assigned => resolved |
2013-09-03 10:30 | jcfr | Fixed in Version | => Slicer 4.3.0 |
2013-09-03 10:30 | jcfr | Resolution | open => fixed |
2013-10-09 05:27 | pieper | Note Added: 0010159 | |
2013-10-09 05:43 | johan.andruejol | Status | resolved => closed |
2013-10-09 05:43 | johan.andruejol | Fixed in Version | Slicer 4.3.0 => Slicer 4.3.1 |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file b985899f |
2017-06-07 23:27 | jcfr | Note Added: 0014594 |