Page MenuHomePhabricator

Mac OS: MITK Workbench&Flowbench crashes immediately after start
Closed, ResolvedPublic


Error message when opening via Shell:
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/MitkWorkbench

Error log received from Mac OS:
Application Specific Information:
dyld2 mode
terminating with uncaught exception of type Poco::Util::UnknownOptionException: Unknown option specified
abort() called

Error log received from Max OS when opened from binary MitkWorkbench inside of .app/Contents/MacOS:
Application Specific Information:
terminating with uncaught exception of type mitk::Exception: /Users/jenkins/jenkins-agent/MITK/Nightly/macOSMojave/src/MITK/Modules/Python/autoload/PythonService/mitkPythonService.cpp:68:
Python runtime could not be loaded: dlopen(/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib, 10): image not found
abort() called

Event Timeline

kislinsk triaged this task as Normal priority.Sep 11 2020, 12:25 PM
kislinsk edited projects, added MITK (v2021.02); removed Restricted Project, MITK.

It works when any argument is passed to the workbench via the open command, e.g., open --args --BlueBerry.newInstance. My first guess that the additions in rMITKf54a83e2 cannot handle 0 arguments when the implicit -psn argument is sneaked into argv by macOS.

Deleted branch bugfix/T27717-FixMacOSInstallerOpenApp.