Rviz2 crash on loading a configuration on mac M1

asked 2021-06-02 07:49:28 -0500

Nico_luos gravatar image

updated 2022-03-25 17:35:26 -0500

lucasw gravatar image

I'm trying to open a working ros2 example on my mac M1 and I get an exception :

$rviz2 --display-config ~/Documents/ros2_ws/install/luos_bike_alarm_example/share/ament_index/resource_index/packages/bike.rviz

[INFO] [1622636964.836365372] [rviz2]: Stereo is NOT SUPPORTED

[INFO] [1622636964.836506916] [rviz2]: OpenGl version: 2.1 (GLSL 1.2)

[INFO] [1622636964.891558393] [rviz2]: Stereo is NOT SUPPORTED

libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

Abort trap: 6

here is the Rviz configuration file : https://github.com/aubrune/luos_bike_...

edit retag flag offensive close merge delete

Comments

You might run rvi2 into gdb in order to better target the issue maybe.

I assume that you need to clone rviz2 sources in your ROS workspace, then run colcon with debug symbols, and use the gdb prefix:

screen33 gravatar image screen33  ( 2021-06-07 06:55:48 -0500 )edit