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

os error 32 when piping a long list to 'less' #687

Closed
2 tasks done
dirkpetersen opened this issue Jan 19, 2024 · 2 comments · Fixed by #699
Closed
2 tasks done

os error 32 when piping a long list to 'less' #687

dirkpetersen opened this issue Jan 19, 2024 · 2 comments · Fixed by #699
Labels
🐞 bug Something isn't working

Comments

@dirkpetersen
Copy link

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

RUST_BACKTRACE=1 pixi --color never search -c bioconda -q -l 25000 '*' | less
thread 'main' panicked at library/std/src/io/stdio.rs:1019:9:
failed printing to stdout: Broken pipe (os error 32)
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Issue description

also RUST_BACKTRACE=1 does not print anything in addition

Expected behavior

no panic

@dirkpetersen dirkpetersen added the 🐞 bug Something isn't working label Jan 19, 2024
@dirkpetersen
Copy link
Author

This was on Amazon Linux 2023 with x86_64

uname -a
Linux aws-eb 6.1.66-93.164.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jan  2 23:50:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

@tdejager
Copy link
Contributor

Might be this issue: rust-lang/rust#46016

It only happens to me when closing less is that the same for you?

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

Successfully merging a pull request may close this issue.

2 participants