Skip to content

add test for: Windows output redirection trouble #11727

@tkelman

Description

@tkelman

Steps to reproduce (this is in Cygwin cross-compile, I'll also check in MSYS2 to see if it's any different there):

$ git clone git://git.kitenet.net/moreutils
$ make clean && make testall1 | moreutils/ts -s

Full output is at https://gist.github.com/tkelman/4d9717ae288c637a6432 - note the jl_uv_writecb() ERROR: invalid argument EINVAL during the later bootstrap stages which seems to be non-fatal, but when running the tests it is fatal. ts is a perl script, but we have similar messages on the Windows buildbots where I think python is driving the process and logging: http://buildbot.e.ip.saba.us:8010/builders/package_win8.1-x64/builds/864/steps/make/logs/stdio

This has been happening for quite a while, I think @staticfloat and I hit this error the last time we tried to enable running the tests on the Windows buildbots so this is probably a blocker to doing that.

versioninfo:

Julia Version 0.4.0-dev+5413
Commit fecadcb* (2015-06-16 17:23 UTC)
Platform Info:
  System: Windows (i686-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
  WORD_SIZE: 32
  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Nehalem)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

edit: minimal reproduction:

$ (usr/bin/julia -e "println('a')" && usr/bin/julia -e "println('b')") | cat
a
bERROR: write: invalid argument (EINVAL)
 in uv_write at stream.jl:1024
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedIndicates that a maintainer wants help on an issue or pull requestioInvolving the I/O subsystem: libuv, read, write, etc.needs testsUnit tests are required for this changesystem:windowsAffects only WindowsupstreamThe issue is with an upstream dependency, e.g. LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions