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

gazebo doesn't stop on sigint, needs sigkill #988

Closed
fjulian opened this issue Aug 30, 2019 · 3 comments
Closed

gazebo doesn't stop on sigint, needs sigkill #988

fjulian opened this issue Aug 30, 2019 · 3 comments

Comments

@fjulian
Copy link

fjulian commented Aug 30, 2019

ROS melodic
Ubuntu 18.04

When launching gazebo using the command roslaunch gazebo_ros empty_world.launch, everything works as expected. However, when trying to stop gazebo using Ctrl-C in the same terminal, the following output occurs:

^C[gazebo_gui-2] killing on exit
[gazebo-1] killing on exit
[gazebo_gui-2] escalating to SIGTERM
shutting down processing monitor...
... shutting down processing monitor complete
done

Unfortunately, before escalating to SIGTERM, roslaunch waits for 10 seconds. A workaround would be to change that timeout (see for example here), however this doesn't seem like a clean solution.
Does anyone know why this is happening and how the node could be modified to respect SIGINT?

@musamarcusso
Copy link

It has been an issue for a while now #751

@j-rivero
Copy link
Contributor

j-rivero commented Sep 5, 2019

Musa is right, lets follow in #751

@j-rivero j-rivero closed this as completed Sep 5, 2019
@pr-db
Copy link

pr-db commented Nov 23, 2020

Hello, I am quite new to Gazebo, and I ran into something like this ([gazebo_gui-3] escalating to SIGTERM) today. I don't know why I got this, can you guide me to a solution?

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

4 participants