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

Segmentation Fault when calling render() #206

Open
almajo opened this issue Sep 30, 2019 · 0 comments
Open

Segmentation Fault when calling render() #206

almajo opened this issue Sep 30, 2019 · 0 comments

Comments

@almajo
Copy link

almajo commented Sep 30, 2019

I spent some time looking for a fix for a segmentation fault when calling env.render() for any roboschool environment.

Source of the fault was the missing apt-get install libgl1-mesa-dev as stated in the installation section.

However, there it says it is only necessary on a headless machine, while I am running a classic Ubuntu 18.04 computer.

The fault is thrown when accessing scene.cpp_world in gym_mujoco_xml_env.py

It would be nice to 1.) have the installation prerequisite saying that libgl1-mesa could also be needed in a normal machine. 2.) validating that the needed cpp code is accessible because a segmentation fault is not the nicest stacktrace

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

No branches or pull requests

1 participant