Benjamin Bannier created MESOS-7791:
---------------------------------------
Summary: subprocess' childMain using ABORT when encountering user
errors
Key: MESOS-7791
URL: https://issues.apache.org/jira/browse/MESOS-7791
Project: Mesos
Issue Type: Bug
Components: libprocess
Affects Versions: 1.4.0
Reporter: Benjamin Bannier
In {{process/posix/subprocess.hpp}}'s {{childMain}} we exit with {{ABORT}} when
there was a user error,
{noformat}
ABORT:
(/pkg/src/mesos/3rdparty/libprocess/include/process/posix/subprocess.hpp:195):
Failed to os::execvpe on path '/SOME/PATH': Argument list too long
{noformat}
We here abort instead of simply {{_exit}}'ing and letting the user know that we
couldn't deal with the given arguments.
Abort can potentially dump core, and since this abort is before the
{{execvpe}}, the process image can potentially be large (e.g., >300 MB) which
could quickly fill up a lot of disk space.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)