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 importing env_configurations #174

Closed
fanshi14 opened this issue Jun 12, 2022 · 4 comments
Closed

Segmentation fault when importing env_configurations #174

fanshi14 opened this issue Jun 12, 2022 · 4 comments

Comments

@fanshi14
Copy link

Dear colleagues,

Thanks for your great contribution!

I found one problem when:
$ import rl_games.common.env_configurations
My PC will output: Segmentation fault (core dumped)
I tried many different virtual environment but the same problem occurs.

Finally, I solved the problem by move import rl_games.envs.test into line 1 in env_configurations.py.

I do not know the exact reason why it could work after moving line 3 to the beginning.
Just let you know in case it is a potential bug.

PC environment: python 3.7, ubuntu 18.04, AMD 3990x cpu, NV RTX 3080.

@Denys88
Copy link
Owner

Denys88 commented Jun 12, 2022

It is something new :) I have very similar configuration but python v 3.9 and it doesn't crash.
did you use rl-games 1.1.4 or current master?

@fanshi14
Copy link
Author

fanshi14 commented Jun 13, 2022

Thanks for replying! @Denys88
I tried rl-games 1.4.0 installed with OmniIsaacGymEnvs, but it failed.
Then I tried to install from your source, and tried the modification with both 1.4.0 and current master.

@Denys88
Copy link
Owner

Denys88 commented Jun 13, 2022

Thanks @fanshi14 I think Ill just add your update but still not sure why it happens. if you can try it with python 3.9 it could help.

@fanshi14
Copy link
Author

Thanks @Denys88 , I tried conda with python3.9.12, but same problem occurs on my pc.

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

2 participants