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

sysimage precompile generation fails under wine-master #43490

Closed
Keno opened this issue Dec 20, 2021 · 2 comments
Closed

sysimage precompile generation fails under wine-master #43490

Keno opened this issue Dec 20, 2021 · 2 comments
Labels
kind:upstream The issue is with an upstream dependency, e.g. LLVM system:windows Affects only Windows system:wine Building Julia under Wine

Comments

@Keno
Copy link
Member

Keno commented Dec 20, 2021

libuv complains:

Assertion failed: r || GetLastError() == ERROR_NOT_FOUND, file src/win/pipe.c, line 899
@Keno Keno added system:windows Affects only Windows system:wine Building Julia under Wine labels Dec 20, 2021
@Keno
Copy link
Member Author

Keno commented Dec 22, 2021

This is a wine bug. Patch submitted upstream at https://www.winehq.org/pipermail/wine-devel/2021-December/203646.html.

@Keno Keno added the kind:upstream The issue is with an upstream dependency, e.g. LLVM label Dec 22, 2021
@Keno
Copy link
Member Author

Keno commented Dec 24, 2021

Fixed in wine-mirror/wine@d96975d

@Keno Keno closed this as completed Dec 24, 2021
Keno added a commit to JuliaComputing/wine-staging that referenced this issue Dec 27, 2021
In commit 27ecc6b ("ntdll: Fix iosb handling in NtCancelIoFile()"),
NtCancelIoFile(Ex) was updated to return its status rather than
unconditionally setting it in io_status->u.Status (though the write
was retained in the success case). As a result, in the error case,
the kernelbase wrappers now interpret unitialized memory as an error
code, since io_status->u.Status is never written. Fix that by using
the return status instead and add an appropriate test that covers
this case.

Issue Reference: JuliaLang/julia#43490

Signed-Off-By: Keno Fischer <keno@juliacomputing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:upstream The issue is with an upstream dependency, e.g. LLVM system:windows Affects only Windows system:wine Building Julia under Wine
Projects
None yet
Development

No branches or pull requests

1 participant