-
Notifications
You must be signed in to change notification settings - Fork 2
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
ultraman panics if a process is exiting early while processing the stdio of that process #55
Labels
bug
Something isn't working
Comments
thank you |
It wasn't fixed |
I don't know how to fix it, but there was a problem here. Lines 37 to 44 in 3dc86f7
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Simple reproduce (my env is a bit different, and reproduce the panic 100%)
Profile:
Expected behavior
full 100 lines are displayed to the terminal
Actual behavior
only few lines are displayed.
sometimes, a panic happens:
thread '' panicked at 'called
Result::unwrap()
on anErr
value: "SendError(..)"', #44 $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ultraman-0.3.1/src/stream_read.rs:44:38It looks like there is a race-condition between catch of the SIGCHILD, and completion of the stdout/err processing.
System configuration
ultraman version:
0.3.1
Rust version:
The text was updated successfully, but these errors were encountered: