You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like things work, but after the new prompt is drawn fish is unresponsive. The keyboard is ignored as well as ctrl-c etc. With some related reproductions of the bug fish closes immediately when the first keyboard character is typed.
The reproduction is related to cros_sdkdocsource, which is a complex command that enters chroots and does other arcane things. I would like to find a more minimal reproduction if that helps, but could do with some guidance.
I bisected the issue to this commit, which seems very relevant: 2ca66cf
I was able to reproduce and confirmed that fish is receivingSIGTTIN, which means it tries to read from the terminal, but is signaled because it does not own the terminal. This suggests that cros_sdk is transferring away control of the tty (via tcsetpgrp) to some other process group, and not restoring it.
I tested with zsh and it appears to attempt to reclaim the terminal, even though it did not transfer it. This seems reasonable; probably fish can do the same.
I am experiencing a bug with a command substitution:
It looks like things work, but after the new prompt is drawn fish is unresponsive. The keyboard is ignored as well as ctrl-c etc. With some related reproductions of the bug fish closes immediately when the first keyboard character is typed.
The reproduction is related to
cros_sdk
doc source, which is a complex command that enters chroots and does other arcane things. I would like to find a more minimal reproduction if that helps, but could do with some guidance.I bisected the issue to this commit, which seems very relevant: 2ca66cf
Attached a log from:
./fish --debug=event,exec\*,iothread,output-invalid,proc\*,reader\* --debug-output=/tmp/fish.log --no-config
fish.log
cros_sdk bug
The text was updated successfully, but these errors were encountered: