|
Thanks for the bug report Daniel. Can you please give me some specs of your workstation? I.e. Windows/Linux/Mac, memory/processor.
Have you noticed that there is something in particular that appears to trigger the problem, or is it apparently random?
I've never seen the behavior on my workstation, but I can try to find another machine that is similar to yours for debugging.
Thanks,
Danielle |
|
|
Hi Danielle,
sure thing:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro6,2
Processor Name: Intel Core i7
Processor Speed: 2.66 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per core): 256 KB
L3 Cache: 4 MB
Memory: 8 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: MBP61.0057.B0C
SMC Version (system): 1.58f16
Sudden Motion Sensor:
State: Enabled
I run Snow Leopard 10.6.7.
I just ran the CTK tests again with the same result as above.
Cheers,
Daniel |
|
|
We have a backtrace now:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffe50
0x00007fff82296573 in TOpenTypeMorph::ShapeGlyphs ()
(gdb) bt
#0 0x00007fff82296573 in TOpenTypeMorph::ShapeGlyphs ()
0000001 0x00007fff8227f210 in TShapingEngine::ShapeGlyphs ()
0000002 0x00007fff8227f01e in TTypesetter::FinishEncoding ()
0000003 0x00007fff8227b467 in TTypesetterAttrString::Initialize ()
0000004 0x00007fff82287e90 in CTTypesetterCreateWithAttributedString ()
0000005 0x000000010e95ae84 in QCoreTextFontEngineMulti::stringToCMap ()
0000006 0x000000010ebc79e2 in QTextEngine::shapeTextMac ()
0000007 0x000000010ebc7ffb in QTextEngine::shapeText ()
0000008 0x000000010ebc838a in QTextEngine::shape ()
0000009 0x000000010ebcfe8d in QTextLine::layout_helper ()
0000010 0x000000010ead353b in qt_format_text ()
0000011 0x000000010ead3ea2 in qt_format_text ()
0000012 0x000000010eba3c57 in QFontMetrics::boundingRect ()
0000013 0x000000010eba3ce1 in QFontMetrics::size ()
0000014 0x000000010dcf3cb0 in ctkCollapsibleButton::buttonSizeHint (this=0x13db30240) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Widgets/ctkCollapsibleButton.cpp:416
0000015 0x000000010dcf397b in ctkCollapsibleButton::sizeHint (this=0x13db30240) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Widgets/ctkCollapsibleButton.cpp:450
0000016 0x000000010e9c8caa in QWidgetItemV2::updateCacheIfNecessary ()
0000017 0x000000010e9c93c3 in QWidgetItemV2::maximumSize ()
0000018 0x000000010e9a4b68 in QBoxLayoutPrivate::setupGeom ()
0000019 0x000000010e9a5ccf in QBoxLayout::setGeometry ()
0000020 0x000000010e9c57e0 in QLayoutPrivate::doResize ()
0000021 0x000000010e9c65fc in QLayout::activate ()
0000022 0x000000010e9ef7bb in QWidget::setVisible ()
0000023 0x000000010e9d1511 in QStackedLayout::setCurrentIndex ()
0000024 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000025 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000026 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f408e30) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000027 0x000000010f7fa726 in QMetaObject::activate ()
0000028 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000029 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f4094b0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000030 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000031 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000032 0x000000010e99b72d in QApplication::notify ()
0000033 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000034 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000035 0x000000010e936849 in QWidgetPrivate::hide_sys ()
0000036 0x000000010e9e82e7 in QWidgetPrivate::hide_helper ()
0000037 0x000000010e9efb09 in QWidget::setVisible ()
0000038 0x000000010e9d15ce in QStackedLayout::setCurrentIndex ()
0000039 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000040 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000041 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f409920) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000042 0x000000010f7fa726 in QMetaObject::activate ()
0000043 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000044 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f409fa0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000045 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000046 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000047 0x000000010e99b72d in QApplication::notify ()
0000048 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000049 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000050 0x000000010e937922 in QWidgetPrivate::show_sys ()
0000051 0x000000010e9ee328 in QWidgetPrivate::show_helper ()
0000052 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000053 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000054 0x000000010e9ef88f in QWidget::setVisible ()
0000055 0x000000010e9d1511 in QStackedLayout::setCurrentIndex ()
0000056 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000057 0x0000000100d09e93 in qMRMLThreeDViewsControllerWidget::setDisplayModeToMagnification (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:480
0000058 0x0000000100d343a9 in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff5f40a4f0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:102
0000059 0x000000010f7fa726 in QMetaObject::activate ()
0000060 0x0000000106b405c5 in ctkVTKMagnifyView::enteredObservedWidget (this=0x11399a9f0, _t1=0x13fd96140) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:126
0000061 0x0000000106b2c88e in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13fd96140, event=0x7fff5f40ab50) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:611
0000062 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000063 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000064 0x000000010e99b72d in QApplication::notify ()
0000065 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
#66 0x000000010e99910e in QApplicationPrivate::dispatchEnterLeave ()
#67 0x000000010e936849 in QWidgetPrivate::hide_sys ()
#68 0x000000010e9e82e7 in QWidgetPrivate::hide_helper ()
#69 0x000000010e9efb09 in QWidget::setVisible ()
#70 0x000000010e9d15ce in QStackedLayout::setCurrentIndex ()
0000071 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000072 0x0000000100d09e93 in qMRMLThreeDViewsControllerWidget::setDisplayModeToMagnification (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:480
0000073 0x0000000100d343a9 in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff5f40afe0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:102
#74 0x000000010f7fa726 in QMetaObject::activate ()
0000075 0x0000000106b405c5 in ctkVTKMagnifyView::enteredObservedWidget (this=0x11399a9f0, _t1=0x13fd96140) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:126
0000076 0x0000000106b2c88e in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13fd96140, event=0x7fff5f40b640) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:611
0000077 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000078 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000079 0x000000010e99b72d in QApplication::notify ()
0000080 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000081 0x000000010e99910e in QApplicationPrivate::dispatchEnterLeave ()
0000082 0x000000010e937922 in QWidgetPrivate::show_sys ()
0000083 0x000000010e9ee328 in QWidgetPrivate::show_helper ()
0000084 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000085 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000086 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000087 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000088 0x000000010e9ef88f in QWidget::setVisible ()
0000089 0x000000010e9d1511 in QStackedLayout::setCurrentIndex ()
0000090 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000091 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000092 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f40bca0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000093 0x000000010f7fa726 in QMetaObject::activate ()
0000094 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000095 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f40c320) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000096 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000097 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000098 0x000000010e99b72d in QApplication::notify ()
0000099 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000100 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000101 0x000000010e936849 in QWidgetPrivate::hide_sys ()
0000102 0x000000010e9e82e7 in QWidgetPrivate::hide_helper ()
0000103 0x000000010e9efb09 in QWidget::setVisible ()
0000104 0x000000010e9d15ce in QStackedLayout::setCurrentIndex ()
0000105 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000106 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000107 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f40c790) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000108 0x000000010f7fa726 in QMetaObject::activate ()
0000109 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000110 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f40ce10) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000111 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000112 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000113 0x000000010e99b72d in QApplication::notify ()
0000114 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000115 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000116 0x000000010e937922 in QWidgetPrivate::show_sys ()
0000117 0x000000010e9ee328 in QWidgetPrivate::show_helper ()
0000118 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000119 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000120 0x000000010e9ef88f in QWidget::setVisible ()
0000121 0x000000010e9d1511 in QStackedLayout::setCurrentIndex ()
0000122 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000123 0x0000000100d09e93 in qMRMLThreeDViewsControllerWidget::setDisplayModeToMagnification (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:480
0000124 0x0000000100d343a9 in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff5f40d360) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:102
0000125 0x000000010f7fa726 in QMetaObject::activate ()
0000126 0x0000000106b405c5 in ctkVTKMagnifyView::enteredObservedWidget (this=0x11399a9f0, _t1=0x13fd96140) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:126
0000127 0x0000000106b2c88e in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13fd96140, event=0x7fff5f40d9c0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:611
0000128 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000129 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000130 0x000000010e99b72d in QApplication::notify ()
0000131 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000132 0x000000010e99910e in QApplicationPrivate::dispatchEnterLeave ()
0000133 0x000000010e936849 in QWidgetPrivate::hide_sys ()
0000134 0x000000010e9e82e7 in QWidgetPrivate::hide_helper ()
0000135 0x000000010e9efb09 in QWidget::setVisible ()
0000136 0x000000010e9d15ce in QStackedLayout::setCurrentIndex ()
0000137 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000138 0x0000000100d09e93 in qMRMLThreeDViewsControllerWidget::setDisplayModeToMagnification (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:480
0000139 0x0000000100d343a9 in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff5f40de50) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:102
0000140 0x000000010f7fa726 in QMetaObject::activate ()
0000141 0x0000000106b405c5 in ctkVTKMagnifyView::enteredObservedWidget (this=0x11399a9f0, _t1=0x13fd96140) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:126
0000142 0x0000000106b2c88e in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13fd96140, event=0x7fff5f40e4b0) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:611
0000143 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000144 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000145 0x000000010e99b72d in QApplication::notify ()
0000146 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000147 0x000000010e99910e in QApplicationPrivate::dispatchEnterLeave ()
0000148 0x000000010e937922 in QWidgetPrivate::show_sys ()
0000149 0x000000010e9ee328 in QWidgetPrivate::show_helper ()
0000150 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000151 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000152 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000153 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000154 0x000000010e9ef88f in QWidget::setVisible ()
0000155 0x000000010e9d1511 in QStackedLayout::setCurrentIndex ()
0000156 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000157 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000158 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f40eb10) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000159 0x000000010f7fa726 in QMetaObject::activate ()
0000160 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000161 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f40f190) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000162 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000163 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000164 0x000000010e99b72d in QApplication::notify ()
0000165 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000166 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000167 0x000000010e936849 in QWidgetPrivate::hide_sys ()
0000168 0x000000010e9e82e7 in QWidgetPrivate::hide_helper ()
0000169 0x000000010e9efb09 in QWidget::setVisible ()
0000170 0x000000010e9d15ce in QStackedLayout::setCurrentIndex ()
0000171 0x0000000100d09e44 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x13db645f0, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:386
0000172 0x0000000100d09ee1 in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x13db64250) at /Users/daniel/SLICER/QT_TRUNK/Slicer4/Libs/qMRMLWidgets/qMRMLThreeDViewsControllerWidget.cxx:473
0000173 0x0000000100d3439e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x13db64250, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff5f40f600) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/Slicer-build/Libs/qMRMLWidgets/moc_qMRMLThreeDViewsControllerWidget.cxx:101
0000174 0x000000010f7fa726 in QMetaObject::activate ()
0000175 0x0000000106b4055d in ctkVTKMagnifyView::leftObservedWidget (this=0x11399a9f0, _t1=0x13ff8db80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/Libs/Visualization/VTK/Widgets/moc_ctkVTKMagnifyView.cxx:133
0000176 0x0000000106b2c8ac in ctkVTKMagnifyView::eventFilter (this=0x11399a9f0, obj=0x13ff8db80, event=0x7fff5f40fc80) at /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK/Libs/Visualization/VTK/Widgets/ctkVTKMagnifyView.cpp:617
0000177 0x000000010f8ce797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000178 0x000000010e994dae in QApplicationPrivate::notify_helper ()
0000179 0x000000010e99b72d in QApplication::notify ()
0000180 0x000000010f7f3dec in QCoreApplication::notifyInternal ()
0000181 0x000000010e998d62 in QApplicationPrivate::dispatchEnterLeave ()
0000182 0x000000010e937922 in QWidgetPrivate::show_sys ()
0000183 0x000000010e9ee328 in QWidgetPrivate::show_helper ()
0000184 0x000000010e9ee131 in QWidgetPrivate::showChildren ()
0000185 0x000000010e9ee1d4 in QWidgetPrivate::show_helper ()
0000186 0x000000010e9ef88f in QWidget::setVisible ()
0000187 0x000000010e9d1511 in QStackedLayout::setCurrentIndex () |
|
|
The stall seems to be related to the toggle between the 2D-magnify and 3D modes on the ThreeDControlWidget. Unfortunately, I can't reproduce the failure on my machine. Let me create a test for this widget to try to reproduce the behavior.
Daniel:
- Do ctkCrosshairLabelTest1, ctkCrosshairLabelTest2, and ctkVTKMagnifyViewTest1 pass?
- Can you please try increasing time = 1000 on line 258 of ctkVTKMagnifyViewTest2, and let me know if that test still fails?
|
|
|
Hi Danielle,
I just ran the following tests again:
ctest -R "agnify" -VV
It seems that some tests are not there anymore and only the following test ran:
test 115
Start 115: ctkVTKMagnifyViewTest1
115: Test command: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/bin/CTKVisualizationVTKWidgetsCppTests "ctkVTKMagnifyViewTest1" "-D" "/Data" "-V" "/Baseline/Libs/Visualization/VTK/Widgets"
115: Test timeout computed to be: 1500
115: vtkDebugLeaks has detected LEAKS!
115: Class "vtkCellData" has 3 instances still around.
115: Class "vtkInformationVector" has 12 instances still around.
115: Class "vtkPointData" has 3 instances still around.
115: Class "vtkTrivialProducer" has 3 instances still around.
115: Class "vtkInformation" has 15 instances still around.
115: Class "vtkInformationIntegerPointerValue" has 3 instances still around.
115: Class "vtkAlgorithmOutput" has 3 instances still around.
115: Class "vtkInformationIntegerValue" has 15 instances still around.
115: Class "vtkImageData" has 3 instances still around.
115: Class "vtkFieldData" has 3 instances still around.
115: Class "vtkStreamingDemandDrivenPipeline" has 3 instances still around.
115: Class "vtkInformationExecutivePortValue" has 3 instances still around.
115:
1/1 Test 0000115: ctkVTKMagnifyViewTest1 ........... Passed 0.78 sec
The following tests passed:
ctkVTKMagnifyViewTest1
100% tests passed, 0 tests failed out of 1
Label Time Summary:
CTKVisualizationVTKWidgets = 0.78 sec
Total Test time (real) = 0.85 sec
--
Now I try to run the tests you mentioned:
10:31:24 daniel@sbia-pc66:~/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build$ ctest -R "ctkVTKMagnifyViewTest2"
Test project /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build
No tests were found!!!
--
test 45
Start 45: ctkCrosshairLabelTest1
45: Test command: /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/bin/CTKWidgetsCppTests "ctkCrosshairLabelTest1" "-D" "/Data" "-V" "/Baseline/Libs/Widgets"
45: Test timeout computed to be: 1500
1/1 Test 0000045: ctkCrosshairLabelTest1 ........... Passed 0.52 sec
The following tests passed:
ctkCrosshairLabelTest1
100% tests passed, 0 tests failed out of 1
Label Time Summary:
CTKWidgets = 0.52 sec
Total Test time (real) = 0.60 sec
--
10:34:52 daniel@sbia-pc66:~/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build$ ctest -R ctkCrosshairLabelTest2 -VV
UpdateCTestConfiguration from :/Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/DartConfiguration.tcl
Parse Config file:/Users/daniel/SLICER/QTTRUNK/Slicer4-Superbuild/CTK-build/CTK-build/DartConfiguration.tcl
Add coverage exclude regular expressions.
Add coverage exclude: /CMakeFiles/CMakeTmp/
Add coverage exclude: .*/moc.
Add coverage exclude: ./ui_.
Add coverage exclude: ./Testing/.
Add coverage exclude: ./CMakeExternals/.
Add coverage exclude: ./ctkPixmapIconEngine.
Add coverage exclude: ./ctkIconEngine.*
UpdateCTestConfiguration from :/Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/DartConfiguration.tcl
Parse Config file:/Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build/DartConfiguration.tcl
Test project /Users/daniel/SLICER/QT_TRUNK/Slicer4-Superbuild/CTK-build/CTK-build
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
No tests were found!!!
--
Please let me know if I can help in any other way.
Daniel |
|
|
BTW, Ron confirmed it on his machine which has a similar configuration |
|
|
I played with layouts, and closed slicer when I had "3 over 3" layout active. After this, each time I would start Slicer, it would go to "3 over 3" layout, quickly start flicker, show spinning ball icon for a while, and crash.
After disabling zoom-view, crash is gone.
Workaround from Julien to disable zoom-view:
Either comment line 74 (q->setDisableMagnification(false);) in qMRMLThreeDViewsControllerWidget
Or from python:
mainWindow = slicer.util.mainWindow()
viewsController = slicer.util.findChildren(mainWindow, 'MRMLThreeDViewsControllerWidget')[0]
viewsController.disableMagnification = True |
|
|
Oh, sorry -- my platform is very similar to Daniel's and Ron's: MacBook Pro, Snow Leopard, Intel i7 |
|
|
Maybe related, ctkCrosshairLabelTest2 is failing on some CTK dashboards:
http://my.cdash.org/viewTest.php?onlyfailed&buildid=215910 |
|
|
From JC on August 3rd 2011:
If you add the python line reported by Julien into a file named slicerrc.py located into your home folder, the magnifier will be automatically disabled at startup. |
|
|
From Jim on 8/10/2011:
Here is my test. I start Slicer in 2x2 layout and move the mouse quickly between the yellow and green viewer. Eventually, Slicer gets behind in the event queue, a spinning beach ball appears, and Slicer may even crash
(gdb) where 100
#0 0x00000001211fcd44 in QTextEngine::itemize ()
0000001 0x00000001211fe313 in QTextEngine::attributes ()
0000002 0x0000000121205c94 in QTextLine::layout_helper ()
0000003 0x000000012110a53b in qt_format_text ()
0000004 0x000000012110aea2 in qt_format_text ()
0000005 0x00000001211dac57 in QFontMetrics::boundingRect ()
0000006 0x00000001211dace1 in QFontMetrics::size ()
0000007 0x0000000120071d31 in ctkCollapsibleButton::buttonSizeHint (this=0x7fc6cbf35ad0) at ctkCollapsibleButton.cpp:417
0000008 0x00000001200716fc in ctkCollapsibleButton::sizeHint (this=0x7fc6cbf35ad0) at ctkCollapsibleButton.cpp:451
0000009 0x0000000120fffcaa in QWidgetItemV2::updateCacheIfNecessary ()
0000010 0x00000001210003c3 in QWidgetItemV2::maximumSize ()
0000011 0x0000000120fdbb68 in QBoxLayoutPrivate::setupGeom ()
0000012 0x0000000120fdcccf in QBoxLayout::setGeometry ()
0000013 0x0000000120ffc7e0 in QLayoutPrivate::doResize ()
0000014 0x0000000120ffd5fc in QLayout::activate ()
0000015 0x00000001210267bb in QWidget::setVisible ()
0000016 0x0000000121008511 in QStackedLayout::setCurrentIndex ()
0000017 0x00000001105d0600 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x7fc6cbf36610, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at qMRMLThreeDViewsControllerWidget.cxx:106
0000018 0x00000001105d06bd in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x7fc6cbf36220) at qMRMLThreeDViewsControllerWidget.cxx:169
0000019 0x000000011060a55e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x7fc6cbf36220, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff6e9dec48) at moc_qMRMLThreeDViewsControllerWidget.cxx:98
0000020 0x0000000121e3e726 in QMetaObject::activate ()
0000021 0x0000000117d3cd40 in ctkVTKMagnifyView::leftObservedWidget (this=0x7fc6cbf82560, _t1=0x7fc6cc482620) at moc_ctkVTKMagnifyView.cxx:133
0000022 0x0000000117d1adbe in ctkVTKMagnifyView::eventFilter (this=0x7fc6cbf82560, obj=0x7fc6cc482620, event=0x7fff6e9df2d0) at ctkVTKMagnifyView.cpp:617
0000023 0x0000000121f12797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000024 0x0000000120fcbdae in QApplicationPrivate::notify_helper ()
0000025 0x0000000120fd272d in QApplication::notify ()
0000026 0x0000000121e37dec in QCoreApplication::notifyInternal ()
0000027 0x0000000120fcfd62 in QApplicationPrivate::dispatchEnterLeave ()
0000028 0x0000000120f6d849 in QWidgetPrivate::hide_sys ()
0000029 0x000000012101f2e7 in QWidgetPrivate::hide_helper ()
0000030 0x0000000121026b09 in QWidget::setVisible ()
0000031 0x00000001210085ce in QStackedLayout::setCurrentIndex ()
0000032 0x00000001105d0600 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x7fc6cbf36610, newMode=qMRMLThreeDViewsControllerWidgetPrivate::NavigationDisplayMode) at qMRMLThreeDViewsControllerWidget.cxx:106
0000033 0x00000001105d06bd in qMRMLThreeDViewsControllerWidget::setDisplayModeToNavigation (this=0x7fc6cbf36220) at qMRMLThreeDViewsControllerWidget.cxx:169
0000034 0x000000011060a55e in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x7fc6cbf36220, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fff6e9df748) at moc_qMRMLThreeDViewsControllerWidget.cxx:98
0000035 0x0000000121e3e726 in QMetaObject::activate ()
0000036 0x0000000117d3cd40 in ctkVTKMagnifyView::leftObservedWidget (this=0x7fc6cbf82560, _t1=0x7fc6cc482620) at moc_ctkVTKMagnifyView.cxx:133
0000037 0x0000000117d1adbe in ctkVTKMagnifyView::eventFilter (this=0x7fc6cbf82560, obj=0x7fc6cc482620, event=0x7fff6e9dfdd0) at ctkVTKMagnifyView.cpp:617
0000038 0x0000000121f12797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000039 0x0000000120fcbdae in QApplicationPrivate::notify_helper ()
0000040 0x0000000120fd272d in QApplication::notify ()
0000041 0x0000000121e37dec in QCoreApplication::notifyInternal ()
0000042 0x0000000120fcfd62 in QApplicationPrivate::dispatchEnterLeave ()
0000043 0x0000000120f6e922 in QWidgetPrivate::show_sys ()
0000044 0x0000000121025328 in QWidgetPrivate::show_helper ()
0000045 0x0000000121025131 in QWidgetPrivate::showChildren ()
0000046 0x00000001210251d4 in QWidgetPrivate::show_helper ()
0000047 0x000000012102688f in QWidget::setVisible ()
0000048 0x0000000121008511 in QStackedLayout::setCurrentIndex ()
0000049 0x00000001105d0600 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x7fc6cbf36610, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at qMRMLThreeDViewsControllerWidget.cxx:106
0000050 0x00000001105d065b in qMRMLThreeDViewsControllerWidget::setDisplayModeToMagnification (this=0x7fc6cbf36220) at qMRMLThreeDViewsControllerWidget.cxx:176
0000051 0x000000011060a56c in qMRMLThreeDViewsControllerWidget::qt_metacall (this=0x7fc6cbf36220, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff6e9e0328) at moc_qMRMLThreeDViewsControllerWidget.cxx:99
0000052 0x0000000121e3e726 in QMetaObject::activate ()
0000053 0x0000000117d3cdb2 in ctkVTKMagnifyView::enteredObservedWidget (this=0x7fc6cbf82560, _t1=0x7fc6cc51ca20) at moc_ctkVTKMagnifyView.cxx:126
0000054 0x0000000117d1ad95 in ctkVTKMagnifyView::eventFilter (this=0x7fc6cbf82560, obj=0x7fc6cc51ca20, event=0x7fff6e9e0990) at ctkVTKMagnifyView.cpp:611
0000055 0x0000000121f12797 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
0000056 0x0000000120fcbdae in QApplicationPrivate::notify_helper ()
0000057 0x0000000120fd272d in QApplication::notify ()
0000058 0x0000000121e37dec in QCoreApplication::notifyInternal ()
0000059 0x0000000120fd010e in QApplicationPrivate::dispatchEnterLeave ()
0000060 0x0000000120f6d849 in QWidgetPrivate::hide_sys ()
0000061 0x000000012101f2e7 in QWidgetPrivate::hide_helper ()
0000062 0x0000000121026b09 in QWidget::setVisible ()
0000063 0x00000001210085ce in QStackedLayout::setCurrentIndex ()
0000064 0x00000001105d0600 in qMRMLThreeDViewsControllerWidgetPrivate::setDisplayMode (this=0x7fc6cbf36610, newMode=qMRMLThreeDViewsControllerWidgetPrivate::MagnificationDisplayMode) at qMRMLThreeDViewsControllerWidget.cxx:106 |
|
|
Disabled on mac for now:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=17705 |
|
|
is still active in mac nightly 8-15 |
|
|
If I load an image and mouse around in a single 2D viewer, I don't see updates to the magnification. If I click, then I get the updated zoomed view. Also, if I move from inside a slice viewer to the 3D viewer, the ThreeDViewController correctly switches to the navigation view. But if I go from the 3D viewer to a slice viewer, the magnification view doesn't come up until I click.
From this, I suspect that the magnifer may not be getting Enter events on mouse overs, which may be messing up the timer-based looping it does. |
|
|
this just crashed the slicer nigthly 9-2 mac for me.
Can you please completely disable the magnifier until somebody has time to fix this properly? |
|
|
Fixed in r17987(and r17988):
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=17987
(http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=17988) |
|
|
Since the magnifier is not used anymore in Slicer, will consider that this is issue is closed. |
|