View Issue Details

IDProjectCategoryView StatusLast Update
0001689Slicer4Core: Base Codepublic2012-02-17 14:17
Reporterpieper Assigned Tofinetjul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.1.0Fixed in VersionSlicer 4.1.0 
Summary0001689: crash with lightbox mode and tensors
Description

Switching between tensor/scalar volumes in lightbox mode gives messages like this and then there is a crash:

ERROR: In /home/pieper/slicer4/latest/Slicer4-superbuild/VTK/Filtering/vtkImageData.cxx, line 1460
vtkImageData (0x759c660): GetScalarPointer: Pixel (0, 126, 0) not in memory.
Current extent= (0, 223, 0, 160, 3, 3)

Steps To Reproduce
  • Download DTIBrain sample data
  • switch Red viewer to 2x2 lightbox
  • Download MRHead sample data
  • Switch Red viewer background back to DTI
    <crash>
TagsNo tags attached.

Activities

finetjul

finetjul

2012-02-07 10:40

administrator   ~0003605

Last edited: 2012-02-07 14:25

Here is the crash stack trace:

Thread 0:: Dispatch queue: com.apple.main-thread
0 QtCore_debug 0x00000001180ed945 QMetaObject::activate(QObject, QMetaObject const, int, void) + 1 (qobject.cpp:3193)
1 QtCore_debug 0x00000001180ee3b8 QObject::destroyed(QObject) + 70 (moc_qobject.cpp:150)
2 QtCore_debug 0x00000001180f0102 QObject::~QObject() + 476 (qobject.cpp:843)
3 QtCore_debug 0x0000000117ffcd03 QDeviceClosedNotifier::~QDeviceClosedNotifier() + 51 (qtextstream.cpp:323)
4 QtCore_debug 0x0000000117ff404a QTextStreamPrivate::~QTextStreamPrivate() + 652 (qtextstream.cpp:462)
5 QtCore_debug 0x0000000117ffd63a QScopedPointerDeleter<QTextStreamPrivate>::cleanup(QTextStreamPrivate
) + 42 (qscopedpointer.h:62)
6 QtCore_debug 0x0000000117ffd66f QScopedPointer<QTextStreamPrivate, QScopedPointerDeleter<QTextStreamPrivate> >::~QScopedPointer() + 35 (qscopedpointer.h:101)
7 QtCore_debug 0x0000000117ff6910 QTextStream::~QTextStream() + 162 (qtextstream.cpp:1146)
8 libCTKCore.0.1.0.dylib 0x00000001130846ae ctk::qtHandleToString(void) + 126 (ctkUtils.cpp:315)
9 libCTKVisualizationVTKCore.0.1.0.dylib 0x000000011139449f (anonymous namespace)::ctkVTKOutputWindow::DisplayErrorText(char const
) + 163 (ctkVTKErrorLogMessageHandler.cpp:87)
10 libvtkCommon.5.9.0.dylib 0x0000000120100863 vtkOutputWindowDisplayErrorText(char const) + 51 (vtkOutputWindow.cxx:42)
11 libvtkFiltering.5.9.0.dylib 0x000000011f7da5b9 vtkImageData::GetScalarPointer(int
) + 2501 (vtkImageData.cxx:1455)
12 libvtkFiltering.5.9.0.dylib 0x000000011f7d4381 vtkImageData::GetScalarPointerForExtent(int) + 75 (vtkImageData.cxx:1425)
13 libMRMLLogic.dylib 0x000000011048771e vtkImageResliceMask::ThreadedRequestData(vtkInformation
, vtkInformationVector
, vtkInformationVector*, vtkImageData*, vtkImageData*, int, int) + 1800 (vtkImageResliceMask.cxx:3392)
14 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void) + 825 (vtkThreadedImageAlgorithm.cxx:211)
15 libvtkCommon.5.9.0.dylib 0x00000001200f23f8 vtkMultiThreader::SingleMethodExecute() + 1762 (vtkMultiThreader.cxx:398)
16 libvtkFiltering.5.9.0.dylib 0x000000011fa32069 vtkThreadedImageAlgorithm::RequestData(vtkInformation
, vtkInformationVector
, vtkInformationVector) + 1119 (vtkThreadedImageAlgorithm.cxx:294)
17 libvtkFiltering.5.9.0.dylib 0x000000011f7d2a0e vtkImageAlgorithm::ProcessRequest(vtkInformation
, vtkInformationVector, vtkInformationVector) + 120 (vtkImageAlgorithm.cxx:102)
18 libvtkFiltering.5.9.0.dylib 0x000000011f74ab6e vtkExecutive::CallAlgorithm(vtkInformation
, int, vtkInformationVector
, vtkInformationVector) + 184 (vtkExecutive.cxx:747)
19 libvtkFiltering.5.9.0.dylib 0x000000011f7263fa vtkDemandDrivenPipeline::ExecuteData(vtkInformation
, vtkInformationVector, vtkInformationVector) + 134 (vtkDemandDrivenPipeline.cxx:507)
20 libvtkFiltering.5.9.0.dylib 0x000000011f72adca vtkDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector
, vtkInformationVector) + 1730 (vtkDemandDrivenPipeline.cxx:279)
21 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
22 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
23 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
24 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector
, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
25 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
26 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector
, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
27 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
28 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
29 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
30 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector
, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
31 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
32 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector
, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
33 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
34 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
35 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
36 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector
, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
37 libvtkFiltering.5.9.0.dylib 0x000000011f74d75f vtkExecutive::ForwardUpstream(vtkInformation
) + 423 (vtkExecutive.cxx:644)
38 libvtkFiltering.5.9.0.dylib 0x000000011f72acf5 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector
, vtkInformationVector) + 1517 (vtkDemandDrivenPipeline.cxx:265)
39 libvtkFiltering.5.9.0.dylib 0x000000011fa03170 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
, vtkInformationVector, vtkInformationVector) + 2206 (vtkStreamingDemandDrivenPipeline.cxx:276)
40 libvtkFiltering.5.9.0.dylib 0x000000011f72b7ba vtkDemandDrivenPipeline::UpdateData(int) + 1128 (vtkDemandDrivenPipeline.cxx:449)
41 libvtkFiltering.5.9.0.dylib 0x000000011fa0342d vtkStreamingDemandDrivenPipeline::Update(int) + 257 (vtkStreamingDemandDrivenPipeline.cxx:326)
42 libvtkFiltering.5.9.0.dylib 0x000000011f705a8f vtkDataObject::Update() + 95 (vtkDataObject.cxx:1032)
43 libvtkRendering.5.9.0.dylib 0x0000000115997365 vtkImageMapper::RenderStart(vtkViewport
, vtkActor2D) + 3733 (vtkImageMapper.cxx:237)
44 libvtkRendering.5.9.0.dylib 0x0000000115ca9385 vtkOpenGLImageMapper::RenderOverlay(vtkViewport
, vtkActor2D) + 43 (vtkOpenGLImageMapper.h:45)
45 libvtkFiltering.5.9.0.dylib 0x000000011f65f338 vtkActor2D::RenderOverlay(vtkViewport
) + 1862 (vtkActor2D.cxx:105)
46 libvtkRendering.5.9.0.dylib 0x0000000115b51943 vtkRenderer::UpdateGeometry() + 2029 (vtkRenderer.cxx:660)
47 libvtkRendering.5.9.0.dylib 0x0000000115cf1410 vtkOpenGLRenderer::DeviceRender() + 210 (vtkOpenGLRenderer.cxx:247)
48 libvtkRendering.5.9.0.dylib 0x0000000115b52e4f vtkRenderer::Render() + 3433 (vtkRenderer.cxx:352)
49 libvtkRendering.5.9.0.dylib 0x0000000115b489f3 vtkRendererCollection::Render() + 225 (vtkRendererCollection.cxx:47)
50 libvtkRendering.5.9.0.dylib 0x0000000115b67141 vtkRenderWindow::DoStereoRender() + 273 (vtkRenderWindow.cxx:722)
51 libvtkRendering.5.9.0.dylib 0x0000000115b6785d vtkRenderWindow::DoFDRender() + 1533 (vtkRenderWindow.cxx:690)
52 libvtkRendering.5.9.0.dylib 0x0000000115b68052 vtkRenderWindow::DoAARender() + 2028 (vtkRenderWindow.cxx:577)
53 libvtkRendering.5.9.0.dylib 0x0000000115b68a0a vtkRenderWindow::Render() + 2478 (vtkRenderWindow.cxx:390)
54 libCTKVisualizationVTKWidgets.0.1.0.dylib 0x0000000109304248 ctkVTKAbstractView::forceRender() + 314 (ctkVTKAbstractView.cpp:220)
55 libCTKVisualizationVTKWidgets.0.1.0.dylib 0x00000001093382f6 ctkVTKAbstractView::qt_metacall(QMetaObject::Call, int, void
) + 190 (moc_ctkVTKAbstractView.cxx:107)
56 libCTKVisualizationVTKWidgets.0.1.0.dylib 0x000000010933c5a1 ctkVTKSliceView::qt_metacall(QMetaObject::Call, int, void*) + 71 (moc_ctkVTKSliceView.cxx:104)
57 QtCore_debug 0x00000001180cc87b QMetaObject::metacall(QObject
, QMetaObject::Call, int, void) + 293 (qmetaobject.cpp:237)
58 QtCore_debug 0x00000001180edf1b QMetaObject::activate(QObject, QMetaObject const, int, void
) + 1495 (qobject.cpp:3278)
59 QtCore_debug 0x00000001181972ff QTimer::timeout() + 59 (moc_qtimer.cpp:129)
60 QtCore_debug 0x00000001180fe1e3 QTimer::timerEvent(QTimerEvent) + 97 (qtimer.cpp:273)
61 QtCore_debug 0x00000001180ebec4 QObject::event(QEvent
) + 220 (qobject.cpp:1181)
62 QtGui_debug 0x000000011646dbf2 QApplicationPrivate::notify_helper(QObject, QEvent) + 446 (qapplication.cpp:4481)
63 QtGui_debug 0x000000011646e1d5 QApplication::notify(QObject, QEvent) + 1459 (qapplication.cpp:3881)
64 QtCore_debug 0x00000001180bf8ac QCoreApplication::notifyInternal(QObject, QEvent) + 208 (qcoreapplication.cpp:787)
65 QtGui_debug 0x000000011653a47f QCoreApplication::sendSpontaneousEvent(QObject, QEvent) + 91 (qcoreapplication.h:218)
66 QtGui_debug 0x000000011646cb23 qt_sendSpontaneousEvent(QObject, QEvent) + 35 (qapplication.cpp:5475)
67 QtGui_debug 0x00000001163cb6a4 QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer, void) + 260 (qeventdispatcher_mac.mm:145)
68 com.apple.CoreFoundation 0x00007fff92844f84 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION + 20
69 com.apple.CoreFoundation 0x00007fff92844ad6 CFRunLoopDoTimer + 534
70 com.apple.CoreFoundation 0x00007fff92825471
CFRunLoopRun + 1617
71 com.apple.CoreFoundation 0x00007fff92824ae6 CFRunLoopRunSpecific + 230
72 com.apple.HIToolbox 0x00007fff88da33d3 RunCurrentEventLoopInMode + 277
73 com.apple.HIToolbox 0x00007fff88daa58f ReceiveNextEventCommon + 181
74 com.apple.HIToolbox 0x00007fff88daa4ca BlockUntilNextEventMatchingListInMode + 62
75 com.apple.AppKit 0x00007fff8b6da3f1 _DPSNextEvent + 659
76 com.apple.AppKit 0x00007fff8b6d9cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
77 com.apple.AppKit 0x00007fff8b6d662d -[NSApplication run] + 470
78 QtGui_debug 0x00000001163ce30f QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1231 (qeventdispatcher_mac.mm:611)
79 QtCore_debug 0x00000001180b97e5 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 239 (qeventloop.cpp:149)
80 QtCore_debug 0x00000001180b9af4 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 368 (qeventloop.cpp:201)
81 QtCore_debug 0x00000001180c0666 QCoreApplication::exec() + 414 (qcoreapplication.cpp:1064)
82 QtGui_debug 0x0000000116472586 QApplication::exec() + 26 (qapplication.cpp:3755)
83 0x0000000107c03ad2 (anonymous namespace)::slicerQtMain(int, char**) + 6898 (Main.cxx:341)
84 0x0000000107c00d0e main + 46 (Main.cxx:373)
85 0x0000000107c00cd4 start + 52

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8cdbd7e6 kevent + 10
1 libdispatch.dylib 0x00007fff888375be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8883614e _dispatch_mgr_thread + 54

Thread 2:
0 libsystem_kernel.dylib 0x00007fff8cdbdaf2 read + 10
1 libCTKCore.0.1.0.dylib 0x00000001130614c1 ctkFDHandler::run() + 59 (ctkErrorLogFDMessageHandler.cpp:175)
2 QtCore_debug 0x0000000117ed6ddf QThreadPrivate::start(void*) + 295 (qthread_unix.cpp:336)
3 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fff8cdbdaf2 read + 10
1 libCTKCore.0.1.0.dylib 0x00000001130614c1 ctkFDHandler::run() + 59 (ctkErrorLogFDMessageHandler.cpp:175)
2 QtCore_debug 0x0000000117ed6ddf QThreadPrivate::start(void*) + 295 (qthread_unix.cpp:336)
3 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 4:
0 libsystem_kernel.dylib 0x00007fff8cdbce42 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff9496bdea nanosleep + 164
2 libsystem_c.dylib 0x00007fff9496bbb5 usleep + 53
3 libitksys.3.20.1.dylib 0x000000011c7f5498 itksys::SystemTools::Delay(unsigned int) + 98 (SystemTools.cxx:4091)
4 libSlicerBaseLogic.dylib 0x000000011007d57f vtkSlicerApplicationLogic::ProcessProcessingTasks() + 539 (vtkSlicerApplicationLogic.cxx:473)
5 libSlicerBaseLogic.dylib 0x000000011007d6ea vtkSlicerApplicationLogic::ProcessingThreaderCallback(void*) + 76 (vtkSlicerApplicationLogic.cxx:427)
6 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 5:
0 libsystem_kernel.dylib 0x00007fff8cdbce42 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff9496bdea nanosleep + 164
2 libsystem_c.dylib 0x00007fff9496bbb5 usleep + 53
3 libitksys.3.20.1.dylib 0x000000011c7f5498 itksys::SystemTools::Delay(unsigned int) + 98 (SystemTools.cxx:4091)
4 libSlicerBaseLogic.dylib 0x000000011007d2cb vtkSlicerApplicationLogic::ProcessNetworkingTasks() + 539 (vtkSlicerApplicationLogic.cxx:547)
5 libSlicerBaseLogic.dylib 0x000000011007d664 vtkSlicerApplicationLogic::NetworkingThreaderCallback(void*) + 76 (vtkSlicerApplicationLogic.cxx:503)
6 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 6:
0 libsystem_kernel.dylib 0x00007fff8cdbcdf2 __select + 10
1 QtCore_debug 0x000000011806b630 QProcessManager::run() + 284 (qprocess_unix.cpp:245)
2 QtCore_debug 0x0000000117ed6ddf QThreadPrivate::start(void*) + 295 (qthread_unix.cpp:336)
3 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
4 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 7:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8cdbcdf2 select + 10
1 com.apple.CoreFoundation 0x00007fff9286df9b
CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 8:
0 libsystem_kernel.dylib 0x00007fff8cdbd192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff949b7594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff949b8b85 start_wqthread + 13

Thread 9:

Thread 10 Crashed:
0 libMRMLLogic.dylib 0x000000011048bb25 void vtkSetPixels<float>(float&, float const, int, int, unsigned char&, bool) + 85 (vtkImageResliceMask.cxx:1772)
1 libMRMLLogic.dylib 0x00000001104b1b0e void vtkReslicePermuteExecute<double>(vtkImageResliceMask
, vtkImageData, void, vtkImageData, void, int, int, double () [4], vtkImageData, void) + 2254 (vtkImageResliceMask.cxx:3162)
2 libMRMLLogic.dylib 0x0000000110487c3b vtkImageResliceMask::ThreadedRequestData(vtkInformation*, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 3109 (vtkImageResliceMask.cxx:3438)
3 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
4 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 11:
0 libsystem_kernel.dylib 0x00007fff8cdbcbca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff949b9274 _pthread_cond_wait + 840
2 QtCore_debug 0x0000000117ed58ad QMutexPrivate::wait(int) + 141 (qmutex_unix.cpp:84)
3 QtCore_debug 0x0000000117ecba96 QMutex::lock() + 1112 (qmutex.cpp:204)
4 libCTKCore.0.1.0.dylib 0x0000000113060865 QMutexLocker::QMutexLocker(QMutex) + 125 (qmutex.h:103)
5 libCTKCore.0.1.0.dylib 0x0000000113056ddc ctkErrorLogTerminalOutput::output(QString const&) + 168 (ctkErrorLogModel.cpp:160)
6 libCTKCore.0.1.0.dylib 0x0000000113057186 ctkErrorLogAbstractMessageHandler::handleMessage(QString const&, ctkErrorLogLevel::LogLevel, QString const&, QString const&) + 282 (ctkErrorLogModel.cpp:755)
7 libCTKVisualizationVTKCore.0.1.0.dylib 0x00000001113944e1 (anonymous namespace)::ctkVTKOutputWindow::DisplayErrorText(char const
) + 229 (ctkVTKErrorLogMessageHandler.cpp:87)
8 libvtkCommon.5.9.0.dylib 0x0000000120100863 vtkOutputWindowDisplayErrorText(char const) + 51 (vtkOutputWindow.cxx:42)
9 libvtkFiltering.5.9.0.dylib 0x000000011f7da5b9 vtkImageData::GetScalarPointer(int
) + 2501 (vtkImageData.cxx:1455)
10 libvtkFiltering.5.9.0.dylib 0x000000011f7d4381 vtkImageData::GetScalarPointerForExtent(int) + 75 (vtkImageData.cxx:1425)
11 libMRMLLogic.dylib 0x000000011048771e vtkImageResliceMask::ThreadedRequestData(vtkInformation
, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 1800 (vtkImageResliceMask.cxx:3392)
12 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
13 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
14 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 12:
0 libMRMLLogic.dylib 0x000000011048bb25 void vtkSetPixels<float>(float&, float const, int, int, unsigned char&, bool) + 85 (vtkImageResliceMask.cxx:1772)
1 libMRMLLogic.dylib 0x00000001104b1b0e void vtkReslicePermuteExecute<double>(vtkImageResliceMask
, vtkImageData, void, vtkImageData, void, int, int, double () [4], vtkImageData, void) + 2254 (vtkImageResliceMask.cxx:3162)
2 libMRMLLogic.dylib 0x0000000110487c3b vtkImageResliceMask::ThreadedRequestData(vtkInformation*, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 3109 (vtkImageResliceMask.cxx:3438)
3 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
4 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 13:
0 libMRMLLogic.dylib 0x00000001104923e7 vtkImageResliceMask::GetBorder() + 731 (vtkImageResliceMask.h:194)
1 libMRMLLogic.dylib 0x0000000110496f62 void vtkPermuteLinearTable<double>(vtkImageResliceMask, int const, int const, long long const, int, long long, double, int, double () [4]) + 994 (vtkImageResliceMask.cxx:2814)
2 libMRMLLogic.dylib 0x00000001104b17a0 void vtkReslicePermuteExecute<double>(vtkImageResliceMask
, vtkImageData, void, vtkImageData, void, int, int, double () [4], vtkImageData, void) + 1376 (vtkImageResliceMask.cxx:3099)
3 libMRMLLogic.dylib 0x0000000110487c3b vtkImageResliceMask::ThreadedRequestData(vtkInformation*, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 3109 (vtkImageResliceMask.cxx:3438)
4 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
5 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
6 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 14:
0 libMRMLLogic.dylib 0x000000011048bb25 void vtkSetPixels<float>(float&, float const, int, int, unsigned char&, bool) + 85 (vtkImageResliceMask.cxx:1772)
1 libMRMLLogic.dylib 0x00000001104b1b0e void vtkReslicePermuteExecute<double>(vtkImageResliceMask
, vtkImageData, void, vtkImageData, void, int, int, double () [4], vtkImageData, void) + 2254 (vtkImageResliceMask.cxx:3162)
2 libMRMLLogic.dylib 0x0000000110487c3b vtkImageResliceMask::ThreadedRequestData(vtkInformation*, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 3109 (vtkImageResliceMask.cxx:3438)
3 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
4 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
5 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 15:
0 libsystem_c.dylib 0x00007fff949d1bce szone_malloc_should_clear + 27
1 libsystem_c.dylib 0x00007fff94a073c8 malloc_zone_malloc + 77
2 libsystem_c.dylib 0x00007fff94a081a4 malloc + 44
3 QtCore_debug 0x0000000117ec7978 qMalloc(unsigned long) + 24 (qmalloc.cpp:55)
4 QtCore_debug 0x0000000117f62cfc QString::QString(QChar const, int) + 146 (qstring.cpp:1019)
5 QtCore_debug 0x0000000117f1bea9 _ZL7qulltoayiRK14QLocalePrivate + 553 (qlocale.cpp:3628)
6 QtCore_debug 0x0000000117f1bfa5 QLocalePrivate::unsLongLongToString(unsigned long long, int, int, int, unsigned int) const + 121 (qlocale.cpp:4188)
7 QtCore_debug 0x0000000117ff59c4 QTextStreamPrivate::putNumber(unsigned long long, bool) + 1394 (qtextstream.cpp:2302)
8 QtCore_debug 0x0000000117ff5dc0 QTextStream::operator<<(void const
) + 220 (qtextstream.cpp:2579)
9 libCTKCore.0.1.0.dylib 0x00000001130846a0 ctk::qtHandleToString(void) + 112 (ctkUtils.cpp:314)
10 libCTKVisualizationVTKCore.0.1.0.dylib 0x000000011139449f (anonymous namespace)::ctkVTKOutputWindow::DisplayErrorText(char const
) + 163 (ctkVTKErrorLogMessageHandler.cpp:87)
11 libvtkCommon.5.9.0.dylib 0x0000000120100863 vtkOutputWindowDisplayErrorText(char const) + 51 (vtkOutputWindow.cxx:42)
12 libvtkFiltering.5.9.0.dylib 0x000000011f7da5b9 vtkImageData::GetScalarPointer(int
) + 2501 (vtkImageData.cxx:1455)
13 libvtkFiltering.5.9.0.dylib 0x000000011f7d4381 vtkImageData::GetScalarPointerForExtent(int) + 75 (vtkImageData.cxx:1425)
14 libMRMLLogic.dylib 0x000000011048771e vtkImageResliceMask::ThreadedRequestData(vtkInformation
, vtkInformationVector, vtkInformationVector, vtkImageData, vtkImageData*, int, int) + 1800 (vtkImageResliceMask.cxx:3392)
15 libvtkFiltering.5.9.0.dylib 0x000000011fa32489 vtkThreadedImageAlgorithmThreadedExecute(void*) + 825 (vtkThreadedImageAlgorithm.cxx:211)
16 libsystem_c.dylib 0x00007fff949b58bf _pthread_start + 335
17 libsystem_c.dylib 0x00007fff949b8b75 thread_start + 13

Thread 16:
0 libsystem_c.dylib 0x00007fff949b8b68 thread_start + 0

Thread 10 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000001 rcx: 0x0000000000000000 rdx: 0x0000000000000009
rdi: 0x000000015329f9e0 rsi: 0x00007f80211497d0 rbp: 0x000000015329f770 rsp: 0x000000015329f730
r8: 0x000000015329f9b8 r9: 0xcb5a9557a0491f41 r10: 0x0000000000000000 r11: 0x000000015329f900
r12: 0x000000000000f733 r13: 0x00000001532a0000 r14: 0xcb5a9557a0491f41 r15: 0x000000011fa32150
rip: 0x000000011048bb25 rfl: 0x0000000000010206 cr2: 0x0000000000000000
Logical CPU: 2

The crash doesn't come from the error log manager.

finetjul

finetjul

2012-02-07 14:27

administrator   ~0003608

The problem doesn't happen when the DTI scalar mode is FractionalAnistotropy. Any scalar mode that doesn't use this->AlphaLogic in the pipeline (see UpdateImageDataPipeline).
AlphaLogic is the only filter that uses the backgroundmask.
Using the background mask updates its required extent, not using it makes the background mask extent unsynchronized (keeps the extent of the last time used), therefore the error.

finetjul

finetjul

2012-02-07 15:46

administrator   ~0003609

Fixed in r19257:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=19257

pieper

pieper

2012-02-08 03:51

administrator   ~0003613

Nice work!

Issue History

Date Modified Username Field Change
2012-02-07 09:10 pieper New Issue
2012-02-07 09:10 pieper Status new => assigned
2012-02-07 09:10 pieper Assigned To => finetjul
2012-02-07 10:40 finetjul Note Added: 0003605
2012-02-07 14:25 finetjul Note Edited: 0003605
2012-02-07 14:27 finetjul Note Added: 0003608
2012-02-07 15:46 finetjul Note Added: 0003609
2012-02-07 15:46 finetjul Status assigned => resolved
2012-02-07 15:46 finetjul Fixed in Version => Slicer 4.0 AHM Summer 2012
2012-02-07 15:46 finetjul Resolution open => fixed
2012-02-08 03:51 pieper Note Added: 0003613
2012-02-08 03:51 pieper Status resolved => closed
2012-02-17 14:09 finetjul Fixed in Version Slicer 4.x AHM Summer 2012 => Slicer 4.1.0
2012-02-17 14:17 finetjul Target Version => Slicer 4.1.0