Skip to content

SIGABRT when exiting rviz2 on MacOS M4 Pro #101

@kshitijgoel007

Description

@kshitijgoel007

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

After setting $RMW_IMPLEMENTATION to be rmw_cyclonedds_cpp, I am able to run rviz2, but when I exit I get a SIGABRT exception crash on my M4 Pro:

(ros2_env) ➜  ~ rviz2
[INFO] [1757343632.894415000] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1757343632.894448000] [rviz2]: OpenGl version: 2.1 (GLSL 1.2)
[INFO] [1757343632.919528000] [rviz2]: Stereo is NOT SUPPORTED
libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument
[1]    55869 abort      rviz2

Anyone else running into this? I have a mamba install.

Installed packages

List of packages in environment: "/Users/kshitijgoel/miniforge3"

  Name                     Version       Build               Channel    
──────────────────────────────────────────────────────────────────────────
  archspec                 0.2.5         pyhd8ed1ab_0
  boltons                  25.0.0        pyhd8ed1ab_0
  brotli-python            1.1.0         py312h6b01ec3_4
  bzip2                    1.0.8         h99b78c6_7
  c-ares                   1.34.5        h5505292_0
  ca-certificates          2025.8.3      hbd8a1cb_0
  certifi                  2025.8.3      pyhd8ed1ab_0
  cffi                     1.17.1        py312h429097b_1
  charset-normalizer       3.4.3         pyhd8ed1ab_0
  colorama                 0.4.6         pyhd8ed1ab_1
  conda                    25.7.0        py312h81bd7bf_0
  conda-libmamba-solver    25.4.0        pyhd8ed1ab_0
  conda-package-handling   2.4.0         pyh7900ff3_2
  conda-package-streaming  0.12.0        pyhd8ed1ab_0
  cpp-expected             1.1.0         h177bc72_1
  distro                   1.9.0         pyhd8ed1ab_1
  fmt                      11.2.0        h440487c_0
  frozendict               2.4.6         py312h163523d_1
  h2                       4.3.0         pyhcf101f3_0
  hpack                    4.1.0         pyhd8ed1ab_0
  hyperframe               6.1.0         pyhd8ed1ab_0
  icu                      75.1          hfee45f7_0
  idna                     3.10          pyhd8ed1ab_1
  jsonpatch                1.33          pyhd8ed1ab_1
  jsonpointer              3.0.0         py312h81bd7bf_2
  krb5                     1.21.3        h237132a_0
  libarchive               3.8.1         gpl_h46e8061_100
  libcurl                  8.14.1        h73640d1_0
  libcxx                   21.1.0        hf598326_1
  libedit                  3.1.20250104  pl5321hafb1f1b_0
  libev                    4.33          h93a5062_2
  libexpat                 2.7.1         hec049ff_0
  libffi                   3.4.6         h1da3d7d_1
  libiconv                 1.18          h23cfdf5_2
  liblzma                  5.8.1         h39f12f2_2
  libmamba                 2.3.2         he5fc5d6_0
  libmambapy               2.3.2         py312h80131fd_0
  libnghttp2               1.67.0        hc438710_0
  libsolv                  0.7.35        h5f525b2_0
  libsqlite                3.50.4        h4237e3c_0
  libssh2                  1.11.1        h1590b86_0
  libxml2                  2.13.8        h4a9ca0c_1
  libzlib                  1.3.1         h8359307_2
  lz4-c                    1.10.0        h286801f_1
  lzo                      2.10          h925e9cb_1002
  mamba                    2.3.2         he44f4b9_0
  menuinst                 2.3.1         py312h81bd7bf_1
  ncurses                  6.5           h5e97a16_3
  nlohmann_json            3.11.3        h00cdb27_1
  openssl                  3.5.2         he92f556_0
  packaging                25.0          pyh29332c3_1
  pip                      25.2          pyh8b19718_0
  platformdirs             4.4.0         pyhcf101f3_0
  pluggy                   1.6.0         pyhd8ed1ab_0
  pybind11-abi             4             hd8ed1ab_3
  pycosat                  0.6.6         py312hea69d52_2
  pycparser                2.22          pyh29332c3_1
  pysocks                  1.7.1         pyha55dd90_7
  python                   3.12.11       hc22306f_0_cpython
  python_abi               3.12          8_cp312
  readline                 8.2           h1d1bf99_2
  reproc                   14.2.5.post0  h5505292_0
  reproc-cpp               14.2.5.post0  h286801f_0
  requests                 2.32.5        pyhd8ed1ab_0
  ruamel.yaml              0.18.15       py312h4409184_1
  ruamel.yaml.clib         0.2.12        py312h163523d_1
  setuptools               79.0.1        pyhff2d567_0
  simdjson                 3.13.0        ha393de7_0
  tk                       8.6.13        h892fb3f_2
  tqdm                     4.67.1        pyhd8ed1ab_1
  truststore               0.10.3        pyhe01879c_0
  tzdata                   2025b         h78e105d_0
  urllib3                  2.5.0         pyhd8ed1ab_0
  wheel                    0.45.1        pyhd8ed1ab_1
  yaml-cpp                 0.8.0         ha1acc90_0
  zstandard                0.24.0        py312h26de6b3_1
  zstd                     1.5.7         h6491c7d_2

Environment info

libmamba version : 2.3.2
          mamba version : 2.3.2
           curl version : libcurl/8.14.1 OpenSSL/3.5.2 (SecureTransport) zlib/1.3.1 zstd/1.5.7 libssh2/1.11.1 nghttp2/1.67.0
     libarchive version : libarchive 3.8.1 zlib/1.3.1 liblzma/5.8.1 bz2lib/1.0.8 liblz4/1.10.0 libzstd/1.5.7 liblzo2/2.10 CommonCrypto/system libb2/bundled
       envs directories : /Users/kshitijgoel/miniforge3/envs
          package cache : /Users/kshitijgoel/miniforge3/pkgs
                          /Users/kshitijgoel/.mamba/pkgs
            environment : ros2_env (active)
           env location : /Users/kshitijgoel/miniforge3/envs/ros2_env
      user config files : /Users/kshitijgoel/.mambarc
 populated config files : /Users/kshitijgoel/miniforge3/envs/ros2_env/.condarc
                          /Users/kshitijgoel/miniforge3/.condarc
       virtual packages : __unix=0=0
                          __osx=15.6.1=0
                          __archspec=1=arm64
               channels : https://conda.anaconda.org/robostack-jazzy/noarch
                          https://conda.anaconda.org/robostack-jazzy/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/conda-forge/osx-arm64
       base environment : /Users/kshitijgoel/miniforge3
               platform : osx-arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions