View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003807 | Slicer4 | Module LandmarkRegistration | public | 2014-08-18 10:35 | 2018-03-02 11:06 |
Reporter | matthieuheitz | Assigned To | pieper | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.3.1 | ||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0003807: Crash when selecting "MRhead" and and "DTIVolume" | ||||
Description |
| ||||
Additional Information | If you swap the volumes in Fixed and Moving, Slicer doesn't crash. Also crashes if you do the same thing except replace DTIVolume by DTIBrain. | ||||
Tags | No tags attached. | ||||
Thanks for reporting - I can reproduce this. It's a problem with error handling. |
|
(lldb) bt
|
|
vtkOutputWindowDisplayErrorText is being called from inside a thread. Here are the last few messages that are printed before the crash: ERROR: In /Users/pieper/slicer4/latest/Slicer-superbuild/VTKv5/Imaging/vtkImageLogic.cxx, line 277 ERROR: In /Users/pieper/slicer4/latest/Slicer-superbuild/VTKv5/Imaging/vtkImageLogic.cxx, line 277 Execute: input1 NumberOfScalarComponents, 9, must match out input2 NumberOfScalarComponents 1 |
|
Note that as a workaround you can do the inverse registration (make MRHead the moving volume). |
|
Problem was in the CloneVolume method not handling non-scalar volumes. Fixed in r23590. |
|
Import 2017-06-07 23:51:09: master 431b0a9c 2014-08-19 11:39:30 Details Diff |
BUG: 0003807 fix crashes when cloning non-scalar volumes Since nodes are strongly typed, it's important to get the right subclass when making the copy. Unfortunately New is not virtual and there's currently not a good way to make this code polymorphic. We should investigate doing a sweeping change to MRML so that the vtkStandardNewMacro is used appropriately but that is a bigger change than is needed to fix this particular bug. git-svn-id: http://svn.slicer.org/Slicer4/trunk@23590 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Modules/Loadable/Volumes/Logic/vtkSlicerVolumesLogic.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-18 10:35 | matthieuheitz | New Issue | |
2014-08-18 10:35 | matthieuheitz | Status | new => assigned |
2014-08-18 10:35 | matthieuheitz | Assigned To | => pieper |
2014-08-18 11:35 | pieper | Note Added: 0012391 | |
2014-08-18 11:35 | pieper | Status | assigned => confirmed |
2014-08-18 11:36 | pieper | Note Added: 0012392 | |
2014-08-18 11:43 | pieper | Note Added: 0012393 | |
2014-08-18 11:46 | pieper | Note Added: 0012394 | |
2014-08-19 07:52 | pieper | Target Version | => Slicer 4.4.0 |
2014-08-19 07:52 | pieper | Note Added: 0012401 | |
2014-08-19 07:52 | pieper | Status | confirmed => resolved |
2014-08-19 07:52 | pieper | Fixed in Version | => Slicer 4.4.0 |
2014-08-19 07:52 | pieper | Resolution | open => fixed |
2017-06-10 08:51 | pieper | Changeset attached | => Slicer master 431b0a9c |
2018-03-02 11:06 | jcfr | Status | resolved => closed |