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

Process exited with code -15 #107

Closed
gosuto-inzasheru opened this issue Nov 10, 2020 · 2 comments
Closed

Process exited with code -15 #107

gosuto-inzasheru opened this issue Nov 10, 2020 · 2 comments

Comments

@gosuto-inzasheru
Copy link

gosuto-inzasheru commented Nov 10, 2020

Followed all the installation tutorials for macOS. gzserver and gazebo launch without a problem, GUI is functional too.

However, when trying to run ./revolve.py it ends abruptly with

Process exited with code -15

My full output:

./revolve.py          
STARTING
[2020-11-10 12:06:14,805     gazebo] INFO     Created Supervisor with:
	- simulator command: gzserver ['--verbose']
	- world file: worlds/plane.world
	- GAZEBO_PLUGIN_PATH: /Users/jorijnsmit/Documents/uva/thesis/revolve/build/lib
	- GAZEBO_MODEL_PATH: /Users/jorijnsmit/Documents/uva/thesis/revolve/models
[2020-11-10 12:06:14,805     gazebo] INFO     Launching the simulator...
[2020-11-10 12:06:15,603     gazebo] INFO     [starting] [Msg] Waiting for master.
[2020-11-10 12:06:15,603     gazebo] INFO     [Msg] Connected to gazebo master @ http://127.0.0.1:11345
[2020-11-10 12:06:15,604     gazebo] INFO     [Msg] Publicized address: 192.168.178.44
[2020-11-10 12:06:15,604     gazebo] INFO     World plugin loaded.
[2020-11-10 12:06:15,604     gazebo] ERROR    Gazebo multi-robot simulator, version 9.15.0
[2020-11-10 12:06:15,604     gazebo] ERROR    Copyright (C) 2012 Open Source Robotics Foundation.
[2020-11-10 12:06:15,604     gazebo] ERROR    Released under the Apache 2 License.
[2020-11-10 12:06:15,604     gazebo] ERROR    http://gazebosim.org
[2020-11-10 12:06:15,604     gazebo] ERROR    
[2020-11-10 12:06:20,642     gazebo] INFO     Setting robot state update frequency to 5.
Traceback (most recent call last):
<...>
[2020-11-10 12:06:21,663     gazebo] ERROR    
[2020-11-10 12:06:21,663     gazebo] INFO     
[2020-11-10 12:06:21,663     gazebo] INFO     Process exited with code -15

The full traceback is pygazebo and asyncio disconnecting by throwing exceptions.

What is code -15? I can't find much about it.

@portaloffreedom
Copy link
Member

-15 is just the return code of the gzserver process, it's not really important or significant. Can you check your full Traceback? It's full of disconnect errors but it's possible that there is also the real error inside there, before all of the disconnections.
Otherwise the problem is a silent crash in gzserver.

@gosuto-inzasheru
Copy link
Author

gosuto-inzasheru commented Nov 10, 2020

Although not clear from the error, the problem was my python version (3.9). Forcing the .venv's python version to 3.7 as described in the wiki solves the problem (or, in my case, pipenv install --python 3.7).

Thanks @DaanZ for the help!

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