ParaView 5.7.0 crashes on Startup

Downloaded the latest and tried to launch it on a MacPro 5,1 running macOS 10.14.x with a Radeon 7950 GPU and get the following:

Process:               paraview [24618]
Path:                  /Applications/ParaView-5.7.0.app/Contents/MacOS/paraview
Identifier:            org.paraview.ParaView
Version:               5.7.0 (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           paraview [24618]
User ID:               502

Date/Time:             2019-11-11 13:24:14.334 -0500
OS Version:            Mac OS X 10.14.6 (18G1012)
Report Version:        12
Anonymous UUID:        E0A0F7B1-E039-1745-2FD3-6DD640146535


Time Awake Since Boot: 870000 seconds

System Integrity Protection: enabled

Crashed Thread:        1

Exception Type:        EXC_CRASH (SIGILL)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   paraview [24618]

Application Specific Information:
/Applications/ParaView-5.7.0.app/Contents/MacOS/../Libraries/libembree3.3.dylib

Thread 0:: paraview  Dispatch queue: com.apple.main-thread
0   libembree3.3.dylib            	0x0000000121bebbef _GLOBAL__sub_I_device.cpp + 47
1   dyld                          	0x000000010dcef592 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 506
2   dyld                          	0x000000010dcef798 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                          	0x000000010dceabea ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 362
4   dyld                          	0x000000010dceab80 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 256
5   dyld                          	0x000000010dce9d73 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 133
6   dyld                          	0x000000010dce9e05 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 73
7   dyld                          	0x000000010dcdccb2 dyld::runInitializers(ImageLoader*) + 82
8   dyld                          	0x000000010dce63dc dlopen_internal + 607
9   libdyld.dylib                 	0x00007fff6fc24d43 dlopen + 200
10  libospray_common.0.dylib      	0x0000000113792fdf ospcommon::Library::Library(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 367
11  libospray_common.0.dylib      	0x0000000113793949 ospcommon::LibraryRepository::add(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 57
12  libospray.0.dylib             	0x0000000113750a0e ospray::loadLocalModule(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 110
13  libospray.0.dylib             	0x000000011372e25d ospLoadModule + 205
14  libospray.0.dylib             	0x000000011372d45d ospInit + 5565
15  libvtkRenderingRayTracing-pv5.7.1.dylib	0x00000001136b60bd rtwGetAvailableBackends() + 61
16  libvtkRenderingRayTracing-pv5.7.1.dylib	0x00000001136d3b35 vtkOSPRayPass::IsBackendAvailable(char const*) + 21
17  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x000000010de8cf59 vtkSMRendererDomain::Update(vtkSMProperty*) + 41
18  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x000000010de8cf24 vtkSMRendererDomain::ReadXMLAttributes(vtkSMProperty*, vtkPVXMLElement*) + 36
19  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e2607cc vtkSMProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 3020
20  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e2c6206 vtkSMVectorProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 22
21  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e2bc7cf vtkSMStringVectorProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 31
22  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e26f8bf vtkSMProxy::NewProperty(char const*, vtkPVXMLElement*) + 671
23  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e27081d vtkSMProxy::CreateSubProxiesAndProperties(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 397
24  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e270319 vtkSMProxy::ReadXMLAttributes(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 1225
25  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x000000010deb49e5 vtkSMViewProxy::ReadXMLAttributes(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 21
26  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e297642 vtkSMSessionProxyManager::NewProxy(vtkPVXMLElement*, char const*, char const*, char const*) + 546
27  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e2969a9 vtkSMSessionProxyManager::NewProxy(char const*, char const*, char const*) + 329
28  libpqCore-pv5.7.1.dylib       	0x000000010da1c510 pqObjectBuilder::createView(QString const&, pqServer*) + 256
29  libpqApplicationComponents-pv5.7.1.dylib	0x000000010c29281e pqDefaultViewBehavior::onServerCreation(pqServer*) + 366
30  org.qt-project.QtCore         	0x000000010d1cc5aa QMetaObject::activate(QObject*, int, int, void**) + 2954
31  libpqCore-pv5.7.1.dylib       	0x000000010da7c75f pqServerManagerModel::serverAdded(pqServer*) + 63
32  libpqCore-pv5.7.1.dylib       	0x000000010da582a1 pqServerManagerModel::onConnectionCreated(long long) + 833
33  org.qt-project.QtCore         	0x000000010d1cc5aa QMetaObject::activate(QObject*, int, int, void**) + 2954
34  libpqCore-pv5.7.1.dylib       	0x000000010da7dc4f pqServerManagerObserver::connectionCreated(long long) + 63
35  org.qt-project.QtCore         	0x000000010d1cc5aa QMetaObject::activate(QObject*, int, int, void**) + 2954
36  libvtkGUISupportQt-pv5.7.1.dylib	0x000000010dc9851c vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) + 108
37  libvtkCommonCore-pv5.7.1.dylib	0x00000001122241e1 vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) + 33
38  libvtkCommonCore-pv5.7.1.dylib	0x00000001123f5df5 vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) + 981
39  libvtkPVClientServerCoreCore-pv5.7.1.dylib	0x000000010ec9dc70 vtkProcessModule::RegisterSession(vtkSession*) + 288
40  libvtkPVServerManagerCore-pv5.7.1.dylib	0x000000010e28f6a8 vtkSMSession::ConnectToSelf(int) + 232
41  libpqCore-pv5.7.1.dylib       	0x000000010da1e4f5 pqObjectBuilder::createServer(pqServerResource const&, int) + 1189
42  libpqApplicationComponents-pv5.7.1.dylib	0x000000010c2489d7 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) + 295
43  libpqApplicationComponents-pv5.7.1.dylib	0x000000010c2c5f62 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) + 466
44  org.paraview.ParaView         	0x000000010c14d259 ParaViewMainWindow::ParaViewMainWindow() + 1993
45  org.paraview.ParaView         	0x000000010c15123d pqparaviewInitializer::Initialize(int, char**) + 221
46  org.paraview.ParaView         	0x000000010c150f62 main + 578
47  libdyld.dylib                 	0x00007fff6fc393d5 start + 1

Thoughts

@Dave_DeMarle

Any updates on this?
I have the same problem (same when tried 5.6.1+ versions. It is definitely related to a change from 5.6.0 to 5.6.1):

##########################
Process:               paraview [917]
Path:                  /Applications/ParaView-5.7.0.app/Contents/MacOS/paraview
Identifier:            org.paraview.ParaView
Version:               5.7.0 (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           paraview [917]
User ID:               501

Date/Time:             2020-02-14 14:37:27.704 +1100
OS Version:            Mac OS X 10.12.6 (16G2136)
Report Version:        12
Anonymous UUID:        783EBB98-8FBE-48DC-CDAA-5FF4C76E102A


Time Awake Since Boot: 10000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  paraview  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Application Specific Information:
/Applications/ParaView-5.7.0.app/Contents/MacOS/../Libraries/libembree3.3.dylib

Thread 0 Crashed:: paraview  Dispatch queue: com.apple.main-thread
0   libembree3.3.dylib            	0x000000011befabef _GLOBAL__sub_I_device.cpp + 47
1   dyld                          	0x0000000112827a1b ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 385
2   dyld                          	0x0000000112827c1e ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
3   dyld                          	0x00000001128234aa ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 338
4   dyld                          	0x0000000112823441 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 233
5   dyld                          	0x0000000112822524 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 138
6   dyld                          	0x00000001128225b9 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 75
7   dyld                          	0x00000001128177cd dyld::runInitializers(ImageLoader*) + 87
8   dyld                          	0x000000011281f3ec dlopen + 556
9   libdyld.dylib                 	0x00007fffa756c832 dlopen + 59
10  libospray_common.0.dylib      	0x000000010a2e9fdf ospcommon::Library::Library(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 367
11  libospray_common.0.dylib      	0x000000010a2ea949 ospcommon::LibraryRepository::add(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 57
12  libospray.0.dylib             	0x000000010a2a0a0e ospray::loadLocalModule(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 110
13  libospray.0.dylib             	0x000000010a27e25d ospLoadModule + 205
14  libospray.0.dylib             	0x000000010a27d45d ospInit + 5565
15  libvtkRenderingRayTracing-pv5.7.1.dylib	0x000000010a1fe0bd rtwGetAvailableBackends() + 61
16  libvtkRenderingRayTracing-pv5.7.1.dylib	0x000000010a21bb35 vtkOSPRayPass::IsBackendAvailable(char const*) + 21
17  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x000000010476ff59 vtkSMRendererDomain::Update(vtkSMProperty*) + 41
18  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x000000010476ff24 vtkSMRendererDomain::ReadXMLAttributes(vtkSMProperty*, vtkPVXMLElement*) + 36
19  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b567cc vtkSMProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 3020
20  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104bbc206 vtkSMVectorProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 22
21  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104bb27cf vtkSMStringVectorProperty::ReadXMLAttributes(vtkSMProxy*, vtkPVXMLElement*) + 31
22  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b658bf vtkSMProxy::NewProperty(char const*, vtkPVXMLElement*) + 671
23  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b6681d vtkSMProxy::CreateSubProxiesAndProperties(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 397
24  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b66319 vtkSMProxy::ReadXMLAttributes(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 1225
25  libvtkPVServerManagerRendering-pv5.7.1.dylib	0x00000001047979e5 vtkSMViewProxy::ReadXMLAttributes(vtkSMSessionProxyManager*, vtkPVXMLElement*) + 21
26  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b8d642 vtkSMSessionProxyManager::NewProxy(vtkPVXMLElement*, char const*, char const*, char const*) + 546
27  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b8c9a9 vtkSMSessionProxyManager::NewProxy(char const*, char const*, char const*) + 329
28  libpqCore-pv5.7.1.dylib       	0x00000001043be510 pqObjectBuilder::createView(QString const&, pqServer*) + 256
29  libpqApplicationComponents-pv5.7.1.dylib	0x0000000102c4081e pqDefaultViewBehavior::onServerCreation(pqServer*) + 366
30  org.qt-project.QtCore         	0x0000000103b735aa QMetaObject::activate(QObject*, int, int, void**) + 2954
31  libpqCore-pv5.7.1.dylib       	0x000000010441e75f pqServerManagerModel::serverAdded(pqServer*) + 63
32  libpqCore-pv5.7.1.dylib       	0x00000001043fa2a1 pqServerManagerModel::onConnectionCreated(long long) + 833
33  org.qt-project.QtCore         	0x0000000103b735aa QMetaObject::activate(QObject*, int, int, void**) + 2954
34  libpqCore-pv5.7.1.dylib       	0x000000010441fc4f pqServerManagerObserver::connectionCreated(long long) + 63
35  org.qt-project.QtCore         	0x0000000103b735aa QMetaObject::activate(QObject*, int, int, void**) + 2954
36  libvtkGUISupportQt-pv5.7.1.dylib	0x000000010463b51c vtkQtConnection::EmitExecute(vtkObject*, unsigned long, void*, void*, vtkCommand*) + 108
37  libvtkCommonCore-pv5.7.1.dylib	0x0000000108d4a1e1 vtkCallbackCommand::Execute(vtkObject*, unsigned long, void*) + 33
38  libvtkCommonCore-pv5.7.1.dylib	0x0000000108f1bdf5 vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) + 981
39  libvtkPVClientServerCoreCore-pv5.7.1.dylib	0x00000001055a2c70 vtkProcessModule::RegisterSession(vtkSession*) + 288
40  libvtkPVServerManagerCore-pv5.7.1.dylib	0x0000000104b856a8 vtkSMSession::ConnectToSelf(int) + 232
41  libpqCore-pv5.7.1.dylib       	0x00000001043c04f5 pqObjectBuilder::createServer(pqServerResource const&, int) + 1189
42  libpqApplicationComponents-pv5.7.1.dylib	0x0000000102bf69d7 pqAlwaysConnectedBehavior::pqAlwaysConnectedBehavior(QObject*) + 295
43  libpqApplicationComponents-pv5.7.1.dylib	0x0000000102c73f62 pqParaViewBehaviors::pqParaViewBehaviors(QMainWindow*, QObject*) + 466
44  org.paraview.ParaView         	0x0000000102aff259 ParaViewMainWindow::ParaViewMainWindow() + 1993
45  org.paraview.ParaView         	0x0000000102b0323d pqparaviewInitializer::Initialize(int, char**) + 221
46  org.paraview.ParaView         	0x0000000102b02f62 main + 578
47  libdyld.dylib                 	0x00007fffa756f235 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffa769e44e __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffa7788621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffa778807d start_wqthread + 13

Thread 2:
0   libsystem_pthread.dylib       	0x00007fffa7788070 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	0x00007fffa7788070 start_wqthread + 0
1   ???                           	0x007865646e496d65 0 + 33888479226719589

Thread 4:
0   libsystem_pthread.dylib       	0x00007fffa7788070 start_wqthread + 0
1   ???                           	0x0006000500040003 0 + 1688871335362563

Thread 5:
0   libsystem_pthread.dylib       	0x00007fffa7788070 start_wqthread + 0
1   ???                           	0x0004000000030004 0 + 1125899907039236

5.8 is almost out. Can you try the release candidate on www.paraview.org/download to see if the problem persists there?

Yep I tried 5.8 RC1 RC2 and RC3.
Same problem unfortunately.

So, just to confirm.
No current fix for this, right?

Unfortunately, a fix for this particular issue was not included in 5.8.0.

Could you post a screen shot of the About this Mac dialog? That might give a clue why your hardware doesn’t like the instruction it ran into. Thanks.

Maybe it’s obvious and I should stay quiet, but a few ideas.

  • Looks to me like you are trying to ray trace something. Stop doing that for now.
  • Lets set ParaView to run as default. You do this by opening a terminal window, cd to .config/ and moving ParaView configuration files. Do this as follows:

cd .config
mv ParaView ParaView-store

Now, try ParaView. Does that work?

Alan,

The crash is occurring during initialization of the OSPRay library, which happens regardless of whether ray tracing is being used. I would be REALLY surprised if trashing the settings files would resolve this.

I believe we need to build the embree with some options that avoid using the instruction set that is not available on these Macs. It would be good to know more about the Mac processor being used so we can decide which instructions can be used.

Hi,
Is this the Mac dialog you are referring to?


Is the same error for all versions 5.6.1+ (5.6.1, 5.6.2, … 5.7, 5.8)

Nope. Please click on the Apple menu in the upper left corner and select “About this Mac”. Please post a screenshot of the dialog that appears. Thanks.

Ah got it I missunderstood your first message, sorry.
image
Here it is.
Thanks,

Wow, nice job keeping that mac working for almost 10 years!

Basically your processor doesn’t have the instruction set ParaView (more specifically, the embree library) is built for. Either we need to build without that instruction set, which isn’t likely because it offers faster rendering speed in embree) or we provide a macOS binary without embree/OSPRay (which is not likely because there is a lot of build system overhead to do so).

As a workaround, you can use an older version of ParaView or built the newer versions yourself. Not ideal, I’m afraid, but that’s the reality.