openai / mujoco-py

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3.
Other
2.87k stars 815 forks source link

Segmentation Fault when quitting simulation examples using ESCAPE key on MjViewer #620

Open silicondosa opened 3 years ago

silicondosa commented 3 years ago

Describe the bug I get a segmentation fault upon quitting any MjViewer with the ESCAPE key. This doesn't break the simulation itself - but I was concerned nevertheless.

To Reproduce On a fresh Ubuntu 20.04 installation with MuJoCo, run the following commands:

Expected behavior The simulator will run with no errors. If you close the simulator using the ESC key, it creates a segmentation fault. However, if you close the simulator without throwing the segmentation fault.

Error Messages

Creating window glfw
Pressed ESC
Quitting.
Segmentation fault (core dumped)

Desktop (please complete the following information):

Environment