Page MenuHomePhabricator

Saving of images in DataManager does not work in 0.14
Closed, ResolvedPublic

Description

Below description makes ExtApp block completely on MacOS. This happens when you

  • start ExtApp
  • load Pic3D
  • right-click Pic3D in DataManager

--> crash

Frederik, once you set up an XCode environment, could you please debug into this (together with someone else)?

+++ This bug was initially created as a clone of T3240 +++

Safing of an image in DataManager by right clicking on an image and selecting "Save" does not work with the 0.14 binary (tested with win-64), except for data format ".pic". The combobox with file types offers only "Planar files (.pf)". When trying "somename.mhd" a message box opens saying something like: "Not valid file type for images. Valid types are: .... .mhd ....".

Event Timeline

maleike added a subscriber: maleike.

sorry, to reproduce the crash, you have to select "Save..." in the context-menu.

The stack trace contains something like

26 QtGui 0x0cd6e26f QFileDialogPrivate::_q_macRunNativeAppModalPanel() + 47
27 QtGui 0x0d25fccd QFileDialog::qt_metacall(QMetaObject::Call, int, void) + 861
28 QtCore 0x0d8d30ec QMetaObject::activate(QObject*, int, int, void
) + 556
29 QtCore 0x0d8dc302 QSingleShotTimer::timeout() + 50
30 QtCore 0x0d8dc39c QSingleShotTimer::timerEvent(QTimerEvent*) + 44
31 QtCore 0x0d8d3b08 QObject::event(QEvent*) + 424
32 QtGui 0x0cd907cf QApplicationPrivate::notify_helper(QObject*, QEvent*) + 191
33 QtGui 0x0cd972ec QApplication::notify(QObject*, QEvent*) + 268
34 liborg_blueberry_ui_qtd.dylib 0x0e1c12bc berry::QtSafeApplication::notify(QObject*, QEvent*) + 50 (berryQtSafeApplication.cpp:67)
35 QtCore 0x0d8c0c52 QCoreApplication::notifyInternal(QObject*, QEvent*) + 98
36 QtGui 0x0cd8e80c qt_sendSpontaneousEvent(QObject*, QEvent*) + 60
37 QtGui 0x0cd3c1a8 QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer*, void*) + 152
38 com.apple.CoreFoundation 0x94ff18f5 CFRunLoopRunSpecific + 4469
39 com.apple.CoreFoundation 0x94ff1aa8 CFRunLoopRunInMode + 88
40 com.apple.HIToolbox 0x9038a2ac RunCurrentEventLoopInMode + 283
41 com.apple.HIToolbox 0x9038a0c5 ReceiveNextEventCommon + 374
42 com.apple.HIToolbox 0x904cd377 ReceiveNextEvent + 58
43 QtGui 0x0cd3c619 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 313
44 QtCore 0x0d8c0201 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 65
45 QtCore 0x0d8c03ad QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 157
46 QtGui 0x0d24edac QDialog::exec() + 268
47 QtGui 0x0d261e7c QFileDialog::getSaveFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) + 396
48 libQmitkExt.dylib 0x0ada6161 CommonFunctionality::SaveImage(mitk::Image*, char const*, bool) + 587 (QmitkCommonFunctionality.cpp:690)
49 libQmitkExt.dylib 0x0ada7d60 CommonFunctionality::SaveBaseData(mitk::BaseData*, char const*) + 496 (QmitkCommonFunctionality.cpp:153)
50 ...k_gui_qt_datamanagerd.dylib 0x2269d464 QmitkDataManagerView::SaveSelectedNodes(bool) + 282 (QmitkDataManagerView.cpp:480)
51 ...k_gui_qt_datamanagerd.dylib 0x226d183f QmitkDataManagerView::qt_metacall(QMetaObject::Call, int, void**) + 477 (moc_QmitkDataManagerView.cxx:138)

works for the configuration:

10.6.SDK (SnowLeopard), ITK and VTK+Cocoa both 64bit SharedLib, MITK (External) 64bit

This config is the (only) official supported MAC config for 1.0 Release. Closing bug.