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

InexactError on failed spawn #12176

Closed
vtjnash opened this issue Jul 16, 2015 · 1 comment · Fixed by #12739
Closed

InexactError on failed spawn #12176

vtjnash opened this issue Jul 16, 2015 · 1 comment · Fixed by #12739
Labels
io Involving the I/O subsystem: libuv, read, write, etc. system:windows Affects only Windows

Comments

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2015

backtrace:

ERROR: InexactError()
 in uv_return_spawn at process.jl:242
@vtjnash vtjnash added the system:windows Affects only Windows label Jul 16, 2015
@tkelman
Copy link
Contributor

tkelman commented Jul 16, 2015

I was meaning to file exactly this issue, sorry I didn't get around to it yet - one of these is STATUS_DLL_NOT_FOUND if you for example rename Git/bin/libiconv-2.dll then try to do run(iconv --version). I tried changing that line to proc.exitcode = exit_status % Int32 but that resulted in assertion failures in libuv, arguably worse since it exits Julia. Don't think even latest libuv has the greatest handling of these. The exit status in libuv is a 64-bit integer though, so maybe the exitcode field of our Process type should be too?

@JeffBezanson JeffBezanson added the io Involving the I/O subsystem: libuv, read, write, etc. label Jul 16, 2015
vtjnash added a commit that referenced this issue Aug 21, 2015
…2):typemax(UInt32) that may be returned by spawn on windows (fixes #12176)
vtjnash added a commit that referenced this issue Aug 21, 2015
…2):typemax(UInt32) that may be returned by spawn on windows (fixes #12176)
vtjnash added a commit that referenced this issue Aug 22, 2015
…2):typemax(UInt32) that may be returned by spawn on windows (fixes #12176)
vtjnash added a commit that referenced this issue Aug 22, 2015
…2):typemax(UInt32) that may be returned by spawn on windows (fixes #12176)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
io Involving the I/O subsystem: libuv, read, write, etc. system:windows Affects only Windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants