Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on OS X Catalina 10.15.7 #1577

Open
zarathustr opened this issue Jan 18, 2021 · 7 comments
Open

Crash on OS X Catalina 10.15.7 #1577

zarathustr opened this issue Jan 18, 2021 · 7 comments

Comments

@zarathustr
Copy link

zarathustr commented Jan 18, 2021

  • OS Version: OS X Catalina 10.15.7
  • ROS Distro: Noetic
  • RViz, Qt, OGRE, OpenGl version as printed by rviz:
    RViz 1.14.0
    Qt 5.15.2
    OpenGL 2.1 (GLSL 1.2)

The crash report is:

Thread 6 Crashed:: Dispatch queue: OpenGLMT
0   libGPUSupportMercury.dylib    	0x00007fff55507983 gpusLoadCurrentVertexArray + 594
1   com.apple.AMDRadeonX6000GLDriver	0x000000012db3bb18 gldUpdateDispatch + 2662
2   GLEngine                      	0x00007fff3ec93fc3 gleDoDrawDispatchCore + 693
3   GLEngine                      	0x00007fff3ec53d0c glDrawArraysInstanced_STD_Exec + 316
4   GLEngine                      	0x00007fff3ec53bc9 glDrawArrays_UnpackThread + 40
5   GLEngine                      	0x00007fff3ec8faa8 gleCmdProcessor + 77
6   libdispatch.dylib             	0x00007fff6e0b6658 _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff6e0bbc44 _dispatch_lane_serial_drain + 597
8   libdispatch.dylib             	0x00007fff6e0bc5d6 _dispatch_lane_invoke + 363
9   libdispatch.dylib             	0x00007fff6e0c5c09 _dispatch_workloop_worker_thread + 596
10  libsystem_pthread.dylib       	0x00007fff6e310a3d _pthread_wqthread + 290
11  libsystem_pthread.dylib       	0x00007fff6e30fb77 start_wqthread + 15

It seems that the system encounters an error during the preparation step of GPU. Can anyone help with this issue?

@rhaschke
Copy link
Contributor

rhaschke commented Feb 5, 2021

Unfortunately, there is no active maintainer left running on OSX. Help from the community is highly appreciated.

@rhaschke rhaschke added the osx label Feb 6, 2021
@rhaschke
Copy link
Contributor

rhaschke commented Feb 6, 2021

Duplicate of #1381?

@zarathustr
Copy link
Author

I may have obtained the error source. The reason may have been that the OSX system does not have a supported graphics card. This graphics card should be supported via OpenGL, OpenCL and Metal for OSX basic frameworks. Installing virtual-machined OSX reproduces these errors but they disappeared on every real Mac hardwares available.

@rhaschke
Copy link
Contributor

rhaschke commented Feb 6, 2021

Indeed, rviz relies on OpenGL. If this issue can be closed, please do so.

@zarathustr
Copy link
Author

I suggest not to close this issue directly. Because there may be an approach to resolve it. I think this can be fixed by adding some third-party OpenGL libraries, trying now...

@Tobias-Fischer
Copy link
Contributor

Feel free to check out RoboStack where we have rviz binaries for OS X (and many other ROS packages).

@zarathustr
Copy link
Author

I somehow managed to reproduce the errors on macOS Monterey with Macports installed. The conclusion is that there is no problem with Ogre3D. I fixed this by remove the libGL*.dylib files in /opt/local (prefix of Macports) to elsewhere. I suppose the main reason is that the runtime execution did not find the correct OpenGL library in the DYLD_LIBRARY_PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants