View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003917||Slicer4||Module Transforms||public||2014-12-10 15:27||2017-06-10 01:24|
|Priority||normal||Severity||crash||Reproducibility||have not tried|
|Status||resolved||Resolution||unable to reproduce|
|Product Version||Slicer 4.4.0|
|Target Version||Fixed in Version|
|Summary||0003917: crash on scene close when transform is visible|
|Steps To Reproduce|
I had a scene open with a couple volumes and a transform visible in grid mode. Closing the scene led to the crash (stack trace attached).
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
|Tags||No tags attached.|
Probably the crash is caused by reference to deleted object, which might be fixed by using a WeakPointer for observed nodes. We have many crashes on scene close due to widgets observing nodes. Probably we would need to implement a common 'node reference' mechanism between a widget and a MRML node (similarly to the mechanism that is added for 'node reference' between MRML nodes) and make it very robust. Currently there are a few patterns that are used throughout different widgets and probably most of them crashes when nodes are deleted.
Units module also have to be fixed, as the qSlicerUnitsSettingsPanel must not trigger random valueChanged events during scene shutdown.
Is the crash reproducible?
This may be fixed now that 4141 is fixed.
It works correctly in Slicer 4.7.0-2017-06-02
|2014-12-10 15:27||pieper||New Issue|
|2014-12-10 15:27||pieper||Status||new => assigned|
|2014-12-10 15:27||pieper||Assigned To||=> lassoan|
|2014-12-10 16:15||lassoan||Note Added: 0012784|
|2015-11-12 15:13||jcfr||Relationship added||related to 0004081|
|2016-03-01 10:19||pieper||Relationship added||related to 0004141|
|2016-03-01 10:19||pieper||Note Added: 0013830|
|2016-03-01 10:19||pieper||Status||assigned => feedback|
|2017-06-10 01:24||lassoan||Status||feedback => resolved|
|2017-06-10 01:24||lassoan||Resolution||open => unable to reproduce|
|2017-06-10 01:24||lassoan||Note Added: 0014728|