Page MenuHomePhabricator

Destructor of QmitkAbstractTrackingDeviceWidget tries to destroy invalid member
Closed, WontfixPublic


I encountered this issue when using MITK-MBI *in debug mode*, however, the error appears in MITK code.

An unhandled exception occurs in the first line of the destructor,


if (m_TestConnectionWorker) delete m_TestConnectionWorker;

when m_TestConnectionWorker should be deleted. The unhandled exception appears if I run a plugin which has a dependency to IGT (e.g. heartmeasurement, the plugin view does not necessarily be opened to produce the bug!). Also, the bug seems to be related to a persistency issue, since it happens only if the AppData-Folder is empty.

Call Stack:

MitkIGTUI.dll!QmitkAbstractTrackingDeviceWidget::~QmitkAbstractTrackingDeviceWidget() Line 37 C++

	MitkIGTUI.dll!QmitkNDIAbstractDeviceWidget::~QmitkNDIAbstractDeviceWidget() Line 40	C++
	MitkIGTUI.dll!QmitkNDIAuroraWidget::~QmitkNDIAuroraWidget() Line 43	C++
	[External Code]	
	MitkIGTUI.dll!mitk::TrackingDeviceWidgetCollection::~TrackingDeviceWidgetCollection() Line 33	C++
	MitkIGTUIConfigurationWidgetRegistry.dll!mitk::IGTUIActivator::~IGTUIActivator() Line 43	C++
	[External Code]	
	MitkIGTUIConfigurationWidgetRegistry.dll!`_us_module_activator_instance_MitkIGTUIConfigurationWidgetRegistry'::`2'::ScopedPointer::~ScopedPointer() Line 70	C++
	[External Code]

Event Timeline

engelhsa added a subscriber: engelhsa.


The exception occurs if I try to close the application.

kislinsk claimed this task.
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.