Skip to content

Segmentation fault: 11 on MacOs #2870

@brickerino

Description

@brickerino

Intro

Hi!

I am a researcher, I use MuJoCo to run simulations for LeRobot.

My setup

I used a fresh conda environment on MacOs 15.6.1 (24G90), Macbook Pro M1.
Basically the following:

conda create env
conda activate env
conda install python
pip install mujoco

Resulting env:

# packages in environment at /Users/brickerino/miniconda3/envs/lerobot4:
#
# Name                    Version                   Build  Channel
absl-py                   2.3.1                    pypi_0    pypi
bzip2                     1.0.8                h80987f9_6
ca-certificates           2025.9.9             hca03da5_0
etils                     1.13.0                   pypi_0    pypi
expat                     2.7.1                h313beb8_0
fsspec                    2025.9.0                 pypi_0    pypi
glfw                      2.10.0                   pypi_0    pypi
importlib-resources       6.5.2                    pypi_0    pypi
libcxx                    20.1.8               h8869778_0
libffi                    3.4.4                hca03da5_1
libmpdec                  4.0.0                h80987f9_0
libzlib                   1.3.1                h5f15de7_0
mujoco                    3.3.6                    pypi_0    pypi
ncurses                   6.5                  hee39554_0
numpy                     2.3.3                    pypi_0    pypi
openssl                   3.0.17               h4ee41c1_0
pip                       25.2               pyhc872135_0
pyopengl                  3.1.10                   pypi_0    pypi
python                    3.13.7          hc28b8d9_100_cp313
python_abi                3.13                    1_cp313
readline                  8.3                  h0b18652_0
setuptools                78.1.1          py313hca03da5_0
sqlite                    3.50.2               h79febb2_1
tk                        8.6.15               hcd8a7d5_0
typing-extensions         4.15.0                   pypi_0    pypi
tzdata                    2025b                h04d1e81_0
wheel                     0.45.1          py313hca03da5_0
xz                        5.6.4                h80987f9_1
zipp                      3.23.0                   pypi_0    pypi
zlib                      1.3.1                h5f15de7_0

What's happening? What did you expect?

I run

(lerobot4) brickerino@akuznetsov-mbp:~/src/lerobot$ mjpython --version
Python 3.13.7
Segmentation fault: 11

and I get a segmentation fault.
Regular python works ok.

(lerobot4) brickerino@akuznetsov-mbp:~/src/lerobot$ python --version
Python 3.13.7

I use mjpython because I need launch_passive on MacOs.

Steps for reproduction

Build the env, run the command.

Minimal model for reproduction

No model required.

Code required for reproduction

mjpython --version

Confirmations

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