Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Make master process explicitly 'required' for parent launch - #1228

Merged
dirk-thomas merged 1 commit into
ros:lunar-develfrom
paulbovbel:required-master
Feb 1, 2018
Merged

dirk-thomas merged 1 commit into
ros:lunar-develfrom
paulbovbel:required-master

Conversation

@paulbovbel

@paulbovbel paulbovbel commented Nov 9, 2017 •

Copy link
Copy Markdown
Contributor

In the existing implementation, if rosmaster dies, the parent launch will continue running unaffected.

This is particularly unpleasant when the launch is a standalone roscore. Adding the required argument here causes any roslaunch process manager that brings up rosmaster to also come down if rosmaster dies unexpectedly.

@paulbovbel

Copy link
Copy Markdown
Contributor Author

Maintainers, any thoughts on this change? This seems like sensible default behaviour, but if it's not I'm happy to put it behind a command line arg.

@dirk-thomas

Copy link
Copy Markdown
Member

I am travelling for the next couple weeks so it might be a while before I can take a look at this.

@mikepurvis

Copy link
Copy Markdown
Member

I can't think of any scenario where this wouldn't be desirable behaviour— I guess with the one caveat that the master isn't actually required once the system is up and running if there are no new topics coming up after initial setup. But a system in that state is pretty minimally usable, since you won't be able to inspect much of anything.

That said, I'm curious what's crashing your rosmaster. Do you have core dumps from that that are shareable, or a MWE? In parallel to this change, it would be great to figure out the underlying cause of the crash in what should be a relatively simple, stable component.

In any case, 👍 from me.

@paulbovbel

paulbovbel commented Nov 21, 2017 •

Copy link
Copy Markdown
Contributor Author

Sadly the errors were transient, so we don't have an MWE. Hopefully with the patched behaviour, it'll be easier to spot a downed roscore and collect artifacts for reproduction.

@paulbovbel

Copy link
Copy Markdown
Contributor Author

Hello maintainers, any further thoughts on this patch?

@paulbovbel

Copy link
Copy Markdown
Contributor Author

Ping for review

@dirk-thomas

Copy link
Copy Markdown
Member

Thank you the patch. It sounds reasonable to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants