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

sver panics when it receives a sigpipe. #69

Open
mitoma opened this issue Nov 12, 2022 · 1 comment
Open

sver panics when it receives a sigpipe. #69

mitoma opened this issue Nov 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@mitoma
Copy link
Owner

mitoma commented Nov 12, 2022

testcase

$ sver list . | echo "SIGPIPE!"
SIGPIPE!
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:1016:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

solution

This bug will be fixed when Rust's unstable feature is stabilized.
https://doc.rust-lang.org/beta/unstable-book/language-features/unix-sigpipe.html

@mitoma mitoma added the bug Something isn't working label Nov 12, 2022
@mitoma
Copy link
Owner Author

mitoma commented Jul 26, 2024

rust-lang/rust#97889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant