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

Assertion failure in negotiation #89

Closed
lucaswerkmeister opened this issue Aug 11, 2017 · 4 comments
Closed

Assertion failure in negotiation #89

lucaswerkmeister opened this issue Aug 11, 2017 · 4 comments
Assignees

Comments

@lucaswerkmeister
Copy link
Contributor

cat | {{ cat & }}

dgsh-tee: negotiate.c:923: calculate_conc_fds: Assertion `c->input_fds == c->output_fds' failed.
1271 dgsh: timeout for negotiation. Exit.

This is with a recent build (74af9f5, including the fix for #88).

mfragkoulis added a commit that referenced this issue Aug 11, 2017
that include one process.
Make test using std cat portable
Fix issues #89, #90
@mfragkoulis
Copy link
Collaborator

Although it does not make sense as a use case, it is a valid script syntactically speaking.
It runs fine on Debian Jessie.
I just added a test for this.
Hopefully, the Travis build on Ubuntu Linux will verify this.

Now, we must figure out why it does not run normally on your end.
Can you please run it with DGSH_DEBUG_LEVEL=4 and share the log output?

@mfragkoulis mfragkoulis self-assigned this Aug 11, 2017
@lucaswerkmeister
Copy link
Contributor Author

Sure: https://gist.github.com/lucaswerkmeister/c4a53bbf115ec9cb511a79a70939f851 (DGSH_DEBUG_LEVEL=4 dgsh -c 'cat | {{ cat & }}' 2>&1 | xclip)

mfragkoulis added a commit that referenced this issue Aug 12, 2017
Do not restore the origin of a message block
in a multipipe block containing only one command

Fix issue #89
@mfragkoulis
Copy link
Collaborator

Does it work now?

@lucaswerkmeister
Copy link
Contributor Author

Yes, thanks!

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