Hi, after discussing the problem again and again with Andreas, I gave it another shot on MacOS with Clang. My fixes *seem* to work (and they are proper ones, no workarounds ;-) ). We will test them more rigourusly tomorrow, but I am confident to have full XCode/Clang support soon (this week)!
Best, Sascha On 05/14/2012 03:58 PM, Clarkson, Matt wrote: > OK, no problem. > Do you have a time-frame for a fix, or is it currently not known? > Thanks for a speedy reply. > > M > > On 14 May 2012, at 14:58, Fetzer, Andreas wrote: > >> Hi Matt, >> >> we are already aware of this problem which is unfortunately a Mac OS X >> specific one. The reason for this has to do with a failing dynamic cast of >> hidden symbols which are defined in different shared libraries. Usually the >> compiler should be able to handle that (we have no such problems on windows >> and for linux it works since gcc>= 4.5). For some reason this does not work >> on Mac neither with the llvm-gcc-4.2 nor the apple-clang-3.x compiler. I >> think you are using one of these compilers do you? >> >> If it is urgent to you I could send you a workaround for this issue. But >> this may lead to other strange side effects like the one you discussed a the >> beginning of the year with sascha regarding equally named "resources.qrc" >> files. >> >> >> Regards >> Andreas >> >> >> On 14.05.2012, at 10:49, Clarkson, Matt wrote: >> >>> Hi there, >>> >>> I built a recent (9217132df8 - May 10th) MITK on Macbook Pro, and when >>> clicking on the ExtApp icon in Finder, it crashes with the stack trace >>> below. >>> Any ideas what it might be? >>> Thanks >>> >>> M >>> >>> >>> >>> Thread 0 Crashed: Dispatch queue: com.apple.main-thread >>> 0 libSystem.B.dylib 0x00007fff86d700b6 __kill + 10 >>> 1 libSystem.B.dylib 0x00007fff86e109f6 abort + 83 >>> 2 libPocoFoundation.1.3.5.dylib 0x00000001006b9abe >>> Poco::SignalHandler::handleSignal(int) + 62 >>> 3 libSystem.B.dylib 0x00007fff86d821ba _sigtramp + 26 >>> 4 ..._stdmultiwidgeteditor.dylib 0x00000001223c812e >>> QmitkStdMultiWidgetPartListener::PartVisible(berry::SmartPointer<berry::IWorkbenchPartReference>) >>> + 302 >>> 5 liborg_blueberry_ui.dylib 0x0000000115fecb19 >>> berry::MessageDelegate1<berry::IPartListener, >>> berry::SmartPointer<berry::IWorkbenchPartReference>, >>> void>::Execute(berry::SmartPointer<berry::IWorkbenchPartReference>) + 73 >>> 6 liborg_blueberry_ui.dylib 0x00000001160a23e5 void >>> berry::DelegateList<berry::MessageAbstractDelegate1<berry::SmartPointer<berry::IWorkbenchPartReference>, >>> void> >::Send1<berry::SmartPointer<berry::IWorkbenchPartReference> >>> >(berry::SmartPointer<berry::IWorkbenchPartReference>) const + 293 >>> 7 liborg_blueberry_ui.dylib 0x00000001160a0d72 >>> berry::PartService::FirePartVisible(berry::SmartPointer<berry::IWorkbenchPartReference>) >>> + 82 >>> 8 liborg_blueberry_ui.dylib 0x00000001161559ba >>> berry::WorkbenchPagePartList::FirePartVisible(berry::SmartPointer<berry::IWorkbenchPartReference>) >>> + 42 >>> 9 liborg_blueberry_ui.dylib 0x000000011608c6e3 >>> berry::PartList::PartVisible(berry::SmartPointer<berry::WorkbenchPartReference>) >>> + 147 >>> 10 liborg_blueberry_ui.dylib 0x000000011608d4ed >>> berry::PartList::AddPart(berry::SmartPointer<berry::WorkbenchPartReference>) >>> + 365 >>> 11 liborg_blueberry_ui.dylib 0x000000011613b2a9 >>> berry::WorkbenchPage::PartAdded(berry::SmartPointer<berry::WorkbenchPartReference>) >>> + 137 >>> 12 liborg_blueberry_ui.dylib 0x0000000116040abc >>> berry::EditorAreaHelper::AddEditor(berry::SmartPointer<berry::EditorReference>, >>> std::string const&) + 524 >>> 13 liborg_blueberry_ui.dylib 0x000000011604d669 >>> berry::EditorManager::CreateEditorTab(berry::SmartPointer<berry::EditorReference>, >>> std::string const&) + 57 >>> 14 liborg_blueberry_ui.dylib 0x0000000116051bf2 >>> berry::EditorManager::OpenEditorFromDescriptor(berry::SmartPointer<berry::EditorDescriptor>, >>> berry::SmartPointer<berry::IEditorInput>, >>> berry::SmartPointer<berry::IMemento>) + 594 >>> 15 liborg_blueberry_ui.dylib 0x000000011605201a >>> berry::EditorManager::OpenEditor(std::string const&, >>> berry::SmartPointer<berry::IEditorInput>, bool, >>> berry::SmartPointer<berry::IMemento>) + 298 >>> 16 liborg_blueberry_ui.dylib 0x0000000116138f7d >>> berry::WorkbenchPage::BusyOpenEditorBatched(berry::SmartPointer<berry::IEditorInput>, >>> std::string const&, bool, int, berry::SmartPointer<berry::IMemento>) + 1453 >>> 17 liborg_blueberry_ui.dylib 0x0000000116139bf9 >>> berry::WorkbenchPage::BusyOpenEditor(berry::SmartPointer<berry::IEditorInput>, >>> std::string const&, bool, int, berry::SmartPointer<berry::IMemento>) + 281 >>> 18 liborg_blueberry_ui.dylib 0x0000000116139ea8 >>> berry::WorkbenchPage::OpenEditor(berry::SmartPointer<berry::IEditorInput>, >>> std::string const&, bool, int, berry::SmartPointer<berry::IMemento>) + 200 >>> 19 liborg_blueberry_ui.dylib 0x0000000116139fb5 >>> berry::WorkbenchPage::OpenEditor(berry::SmartPointer<berry::IEditorInput>, >>> std::string const&, bool, int) + 101 >>> 20 liborg_blueberry_ui.dylib 0x000000011611cd45 >>> berry::WorkbenchPage::OpenEditor(berry::SmartPointer<berry::IEditorInput>, >>> std::string const&, bool) + 101 >>> 21 liborg_mitk_gui_common.dylib 0x000000011f5db527 >>> mitk::WorkbenchUtil::OpenEditor(berry::SmartPointer<berry::IWorkbenchPage>, >>> berry::SmartPointer<mitk::DataStorageEditorInput>, bool, bool) + 503 >>> 22 ...rg_mitk_gui_qt_common.dylib 0x00000001224737b6 >>> QmitkAbstractView::GetRenderWindowPart(QFlags<QmitkAbstractView::IRenderWindowPartStrategy>) >>> const + 1382 >>> 23 ...tk_gui_qt_datamanager.dylib 0x000000012322a2a4 >>> QmitkDataManagerView::GlobalReinit(bool) + 36 >>> 24 ...tk_gui_qt_datamanager.dylib 0x000000012322ecc4 >>> QmitkDataManagerView::OnPreferencesChanged(berry::IBerryPreferences const*) >>> + 548 >>> 25 ...rg_mitk_gui_qt_common.dylib 0x0000000122476d48 >>> QmitkAbstractView::AfterCreateQtPartControl() + 1880 >>> 26 ...rg_mitk_gui_qt_common.dylib 0x00000001224774c0 >>> QmitkAbstractView::CreatePartControl(void*) + 288 >>> 27 liborg_blueberry_ui.dylib 0x0000000116111206 >>> berry::ViewReference::CreatePartHelper() + 1446 >>> 28 liborg_blueberry_ui.dylib 0x0000000116111ae5 >>> berry::ViewReference::CreatePart() + 69 >>> 29 liborg_blueberry_ui.dylib 0x000000011615a120 >>> berry::WorkbenchPartReference::GetPart(bool) + 352 >>> 30 liborg_blueberry_ui.dylib 0x00000001160911bb >>> berry::PartPane::SetVisible(bool) + 91 >>> 31 liborg_blueberry_ui_qt.dylib 0x00000001164ebc3b >>> berry::PresentablePartFolder::Select(berry::SmartPointer<berry::IPresentablePart>) >>> + 395 >>> 32 liborg_blueberry_ui_qt.dylib 0x00000001164e8b58 >>> berry::LeftToRightTabOrder::Select(berry::SmartPointer<berry::IPresentablePart>) >>> + 56 >>> 33 liborg_blueberry_ui_qt.dylib 0x00000001164ef825 >>> berry::TabbedStackPresentation::SelectPart(berry::SmartPointer<berry::IPresentablePart>) >>> + 69 >>> 34 liborg_blueberry_ui.dylib 0x00000001160b041f >>> berry::PartStack::RefreshPresentationSelection() + 559 >>> 35 liborg_blueberry_ui.dylib 0x00000001160b1307 >>> berry::PartStack::ShowPart(berry::SmartPointer<berry::StackablePart>, >>> berry::SmartPointer<berry::Object>) + 1063 >>> 36 liborg_blueberry_ui.dylib 0x00000001160b443f >>> berry::PartStack::CreateControl(void*, >>> berry::SmartPointer<berry::StackPresentation>) + 399 >>> 37 liborg_blueberry_ui.dylib 0x00000001160b4cc3 >>> berry::PartStack::CreateControl(void*) + 547 >>> 38 liborg_blueberry_ui.dylib 0x000000011609829e >>> berry::PartSashContainer::CreateControl(void*) + 190 >>> 39 liborg_blueberry_ui.dylib 0x00000001160d74a7 >>> berry::PerspectiveHelper::Activate(void*) + 295 >>> 40 liborg_blueberry_ui.dylib 0x00000001160bd193 >>> berry::Perspective::OnActivate() + 323 >>> 41 liborg_blueberry_ui.dylib 0x0000000116136f2f >>> berry::WorkbenchPage::OnActivate() + 383 >>> 42 liborg_blueberry_ui.dylib 0x000000011617792b >>> berry::WorkbenchWindow::SetActivePage(berry::SmartPointer<berry::IWorkbenchPage>) >>> + 475 >>> 43 liborg_blueberry_ui.dylib 0x0000000116171dac >>> berry::WorkbenchWindow::BusyOpenPage(std::string const&, >>> berry::IAdaptable*) + 332 >>> 44 liborg_blueberry_ui.dylib 0x000000011614aa11 >>> berry::Workbench::BusyOpenWorkbenchWindow(std::string const&, >>> berry::IAdaptable*) + 209 >>> 45 liborg_blueberry_ui.dylib 0x000000011614ae4d >>> berry::Workbench::OpenFirstTimeWindow() + 93 >>> 46 liborg_blueberry_ui.dylib 0x000000011600955d >>> berry::WorkbenchAdvisor::OpenWindows() + 93 >>> 47 liborg_blueberry_ui.dylib 0x00000001161487ed >>> berry::Workbench::Init() + 381 >>> 48 liborg_blueberry_ui.dylib 0x000000011614abd7 >>> berry::Workbench::RunUI() + 39 >>> 49 liborg_blueberry_ui.dylib 0x000000011614f135 >>> berry::Workbench::CreateAndRunWorkbench(berry::Display*, >>> berry::WorkbenchAdvisor*) + 69 >>> 50 ...gui_qt_extapplication.dylib 0x000000012282ac9e >>> QmitkExtApplication::Start() + 62 >>> 51 liborg_blueberry_osgi.dylib 0x0000000100039e75 >>> berry::Starter::Run(int&, char**, Poco::Util::AbstractConfiguration*) + 5445 >>> 52 0x00000001000050b9 main + 953 >>> 53 0x0000000100004cf8 start + 52 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> mitk-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/mitk-users >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
