View Issue Details

IDProjectCategoryView StatusLast Update
0004057Slicer4Core: Base Codepublic2018-03-02 11:06
Reporteruser731Assigned Tojcfr  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.4.0 
Target VersionSlicer 4.6.0Fixed in VersionSlicer 4.6.0 
Summary0004057: Assert crash when cancelling a CLI
Description

Steps to reproduce:

  • Start a CLI
  • Cancel just before it finishes
  • Repeat until crash manifests (it can take multiple tries)

The crash happens because of this assert: https://github.com/vovythevov/Slicer/blob/8ba281a1d6d47be82fa2426e4487edf082984f2a/Base/QTCLI/vtkSlicerCLIModuleLogic.cxx#L2650
It's probably only the symptom of a larger issue. The assert in itself is good,
it's the signal that shouldn't happen.

Additional Information

See below a stack trace:

msvcr100d.dll!_NMSG_WRITE(int rterrnum) Line 217 C
msvcr100d.dll!abort() Line 71 C
msvcr100d.dll!_wassert(const wchar_t expr, const wchar_t filename, unsigned int lineno) Line 336 C
qSlicerBaseQTCLI.dll!vtkSlicerCLIModuleLogic::ProcessMRMLLogicsEvents(vtkObject caller, unsigned long event, void callData) Line 2719 + 0x2a bytes C++
MRMLLogic.dll!vtkMRMLAbstractLogic::MRMLLogicsCallback(vtkObject caller, unsigned long eid, void clientData, void callData) Line 223 C++
vtkCommon-6.3.dll!vtkCallbackCommand::Execute(vtkObject
caller, unsigned long event, void callData) Line 43 C++
MRMLCore.dll!vtkEventBroker::InvokeObservation(vtkObservation
observation, unsigned long eid, void callData) Line 842 C++
MRMLCore.dll!vtkEventBroker::ProcessEvent(vtkObservation
observation, vtkObject caller, unsigned long eid, void callData) Line 687 + 0x25 bytes C++
MRMLCore.dll!vtkEventBroker::Callback(vtkObject caller, unsigned long eid, void clientData, void callData) Line 914 C++
vtkCommon-6.3.dll!vtkCallbackCommand::Execute(vtkObject
caller, unsigned long event, void callData) Line 43 C++
vtkCommon-6.3.dll!vtkSubjectHelper::InvokeEvent(unsigned long event, void
callData, vtkObject self) Line 619 C++
vtkCommon-6.3.dll!vtkObject::InvokeEvent(unsigned long event, void
callData) Line 785 + 0x1c bytes C++
SlicerBaseLogic.dll!vtkSlicerApplicationLogic::ProcessReadData() Line 821 + 0x22 bytes C++
qSlicerBaseQTCore.dll!qSlicerCoreApplication::processAppLogicReadData() Line 1533 C++
qSlicerBaseQTCore.dll!qSlicerCoreApplication::qt_static_metacall(QObject _o, QMetaObject::Call _c, int _id, void _a) Line 150 + 0xa bytes C++
QtCored4.dll!QMetaObject::activate(QObject
sender, const QMetaObject m, int local_signal_index, void argv) Line 3547 + 0x4b bytes C++
QtCored4.dll!QSingleShotTimer::timeout() Line 97 C++
QtCored4.dll!QSingleShotTimer::timerEvent(QTimerEvent
__formal) Line 322 C++
QtCored4.dll!QObject::event(QEvent e) Line 1157 C++
QtGuid4.dll!QApplicationPrivate::notify_helper(QObject
receiver, QEvent e) Line 4562 + 0x15 bytes C++
QtGuid4.dll!QApplication::notify(QObject
receiver, QEvent e) Line 3944 + 0x1d bytes C++
qSlicerBaseQTGUI.dll!qSlicerApplication::notify(QObject
receiver, QEvent event) Line 343 + 0x1e bytes C++
QtCored4.dll!QCoreApplication::notifyInternal(QObject
receiver, QEvent event) Line 949 + 0x26 bytes C++
QtCored4.dll!QCoreApplication::sendEvent(QObject
receiver, QEvent event) Line 231 + 0x53 bytes C++
QtCored4.dll!QEventDispatcherWin32Private::sendTimerEvent(int timerId) Line 649 C++
QtCored4.dll!qt_internal_proc(HWND__
hwnd, unsigned int message, unsigned int64 wp, int64 lp) Line 506 C++
user32.dll!0000000077b69bd1()
[Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]
user32.dll!0000000077b698da()
QtCored4.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 814 C++
QtGuid4.dll!QGuiEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag>
flags) Line 1212 + 0x27 bytes C++
QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags) Line 150 C++
QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag>
flags) Line 204 + 0x5f bytes C++
QtCored4.dll!QCoreApplication::exec() Line 1221 + 0x23 bytes C++
QtGuid4.dll!QApplication::exec() Line 3824 C++
SlicerApp-real.exe!`anonymous namespace'::SlicerAppMain(int argc, char argv) Line 220 + 0x6 bytes C++
SlicerApp-real.exe!main(int argc, char argv) Line 255 C++
SlicerApp-real.exe!__tmainCRTStartup() Line 555 + 0x19 bytes C
SlicerApp-real.exe!mainCRTStartup() Line 371 C
kernel32.dll!0000000077a45a4d()
ntdll.dll!0000000077c7b831()

TagsNo tags attached.

Activities

jcfr

jcfr

2016-10-12 03:08

administrator   ~0014159

This is most likely fixed by r24834
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=24834

Please, re-open if it is still a problem.

Issue History

Date Modified Username Field Change
2015-10-01 11:36 user731 New Issue
2015-10-01 11:36 user731 Status new => assigned
2015-10-01 11:36 user731 Assigned To => jcfr
2015-10-01 20:01 jcfr Target Version => Slicer 4.5.0-1
2015-10-01 20:01 jcfr Status assigned => acknowledged
2015-11-02 11:12 jcfr Target Version Slicer 4.5.0-1 => Slicer 4.5.1
2016-10-12 03:08 jcfr Note Added: 0014159
2016-10-12 03:08 jcfr Status acknowledged => resolved
2016-10-12 03:08 jcfr Fixed in Version => Slicer 4.6.0
2016-10-12 03:08 jcfr Resolution open => fixed
2016-10-13 01:27 jcfr Target Version Slicer 4.5.1 => Slicer 4.6.0
2018-03-02 11:06 jcfr Status resolved => closed