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

Broken pipe error in script/bench.py #1

Open
iydon opened this issue Jul 8, 2022 · 0 comments
Open

Broken pipe error in script/bench.py #1

iydon opened this issue Jul 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@iydon
Copy link
Owner

iydon commented Jul 8, 2022

Julia

ERROR: LoadError: IOError: write: broken pipe (EPIPE)
Stacktrace:
 [1] uv_write(::Base.PipeEndpoint, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:953
 [2] unsafe_write(::Base.PipeEndpoint, ::Ptr{UInt8}, ::UInt64) at ./stream.jl:1007
 [3] unsafe_write at ./io.jl:310 [inlined]
 [4] unsafe_write at ./io.jl:593 [inlined]
 [5] write at ./io.jl:616 [inlined]
 [6] show(::IOContext{Base.PipeEndpoint}, ::Float64, ::Bool, ::Bool) at ./ryu/Ryu.jl:117
 [7] show at ./ryu/Ryu.jl:112 [inlined]
 [8] _show_nonempty(::IOContext{Base.PipeEndpoint}, ::Array{Float64,2}, ::String) at ./arrayshow.jl:388
 [9] show at ./arrayshow.jl:423 [inlined]
 [10] print(::Base.PipeEndpoint, ::Array{Float64,2}) at ./strings/io.jl:35
 [11] print(::Base.PipeEndpoint, ::Array{Float64,2}, ::Char) at ./strings/io.jl:46
 [12] println(::Base.PipeEndpoint, ::Array{Float64,2}) at ./strings/io.jl:73
 [13] println(::Array{Float64,2}) at ./coreio.jl:4
 [14] top-level scope at /root/burger.bench/todo/julia/fdm.jl:34
 [15] include(::Module, ::String) at ./Base.jl:377
 [16] exec_options(::Base.JLOptions) at ./client.jl:288
 [17] _start() at ./client.jl:484
in expression starting at /root/burger.bench/todo/julia/fdm.jl:34

Python

Traceback (most recent call last):
  File "fdm.py", line 34, in <module>
    print(','.join(map(str, un)))
BrokenPipeError: [Errno 32] Broken pipe
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>

Rust

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
@iydon iydon added the bug Something isn't working label Jul 8, 2022
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