https://bugs.winehq.org/show_bug.cgi?id=43878
Bug ID: 43878 Summary: KERNEL32.dll.GetQueuedCompletionStatusEx not implemented Product: Wine Version: 2.18 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: _vi@list.ru Distribution: ---
Created attachment 59488 --> https://bugs.winehq.org/attachment.cgi?id=59488 full error message
Unhandled exception: unimplemented function KERNEL32.dll.GetQueuedCompletionStatusEx called in 32-bit code (0x7bc79259).
This prevents testing Linux->Windows-cross-compiled programs in Rust that use Mio/Tokio.
The program works a bit, but when it's waiting time, there is the crash.
https://bugs.winehq.org/show_bug.cgi?id=43878
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #1 from Austin English austinenglish@gmail.com --- Do you have a publicly available program/demo showing this?
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #2 from _vi@list.ru --- For example, this example: https://github.com/tokio-rs/tokio-core/blob/master/examples/echo.rs
Pre-built (for 32-bit): https://vi-server.org/pub/tokioecho.exe
SHA256 (tokioecho.exe) = 1cf267bface366cb34c71d193c3fadc66120b1d1b9531b65bff0993755753e4f
Not tested on actual Windows.
https://bugs.winehq.org/show_bug.cgi?id=43878
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=43878
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #3 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 60667 --> https://bugs.winehq.org/attachment.cgi?id=60667 windbg message on wine-3.3
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- Confirming, KERNEL32.dll.GetQueuedCompletionStatusEx is a stub.
$ ./wine --version wine-3.3-88-g813ab925ab
See if I can implement this with KERNEL32.dll.GetQueuedCompletionStatus
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #5 from _vi@list.ru --- Running tokioecho.exe with wine-3.3 produce a bit different stub reports:
0009:fixme:thread:SetThreadStackGuarantee (0x64fda0): stub 0009:fixme:file:SetFileCompletionNotificationModes 0x4c 3 - stub
After that it panics:
Error { repr: Os { code: 120, message: "Call not implemented." } }
https://bugs.winehq.org/show_bug.cgi?id=43878
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 URL| |https://vi-server.org/pub/t | |okioecho.exe CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming and confirmed + filled some fields.
Use Staging to trigger this bug, otherwise in plain wine ends in fixme: SetFileCompletionNotificationModes,
https://bugs.winehq.org/show_bug.cgi?id=43878
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37726
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #7 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 62388 --> https://bugs.winehq.org/attachment.cgi?id=62388 stub
Star Control: Origins crashes on this function as well. Attached patch fixes the problem for that game.
https://bugs.winehq.org/show_bug.cgi?id=43878
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal Summary|KERNEL32.dll.GetQueuedCompl |Multiple apps/games crash |etionStatusEx not |on unimplemented function |implemented |kernel32.dll.GetQueuedCompl | |etionStatusEx (Tokio Rust | |samples, Star Control: | |Origins)
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- FYI: https://c.1password.com/dist/1P/win6/1PasswordSetup-7.2.576.exe needs this too
I
https://bugs.winehq.org/show_bug.cgi?id=43878
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #9 from Gijs Vermeulen gijsvrm@gmail.com --- Star Control: Origins now works as of f1be5c7861a43a363b202857014eb49dc5e53acc. The Rust example still doesn't work, so it seems that needs a proper implementation (I tried faking success as well).
Louis, could you test if the stub helped for 1Password as well?
https://bugs.winehq.org/show_bug.cgi?id=43878
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Assignee|wine-bugs@winehq.org |z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #10 from Gijs Vermeulen gijsvrm@gmail.com --- The stub was reverted in e850369dd8cf2d95b42c22ba6a50ffe9d6344a2a because it broke Steam. You can still use the attached patch for Star Control: Origins if you want.
https://bugs.winehq.org/show_bug.cgi?id=43878
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b79fd400c05547457bb10e74776 | |b8f312bacae8c Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- Both the rust sample and Star Control: Origins are now fixed by b79fd400c05547457bb10e74776b8f312bacae8c.
https://bugs.winehq.org/show_bug.cgi?id=43878
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple apps/games crash |Multiple apps/games crash |on unimplemented function |on unimplemented function |kernel32.dll.GetQueuedCompl |kernel32.dll.GetQueuedCompl |etionStatusEx (Tokio Rust |etionStatusEx (Tokio Rust |samples, Star Control: |samples, Star Control: |Origins) |Origins, 1Password-7.2.*)
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Gijs Vermeulen from comment #11)
Both the rust sample and Star Control: Origins are now fixed by b79fd400c05547457bb10e74776b8f312bacae8c.
And also 1password is fixed (though it crashes later in some netprofm deficiency i guess)
https://bugs.winehq.org/show_bug.cgi?id=43878
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #14 from _vi@list.ru --- Verified that for wine-3.20 (from NixOS) indeed runs tokioecho.exe successfully.
"wine-3.20 (Staging)" (also from NixOS) still fails to run it with the same GetQueuedCompletionStatusEx error.
https://bugs.winehq.org/show_bug.cgi?id=43878
--- Comment #15 from Zebediah Figura z.figura12@gmail.com --- (In reply to _vi from comment #14)
Verified that for wine-3.20 (from NixOS) indeed runs tokioecho.exe successfully.
"wine-3.20 (Staging)" (also from NixOS) still fails to run it with the same GetQueuedCompletionStatusEx error.
You need at least 3.21.
https://bugs.winehq.org/show_bug.cgi?id=43878
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andre@basel.co.nz
--- Comment #16 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 46921 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43878
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jadirlucas@hotmail.com
--- Comment #17 from Austin English austinenglish@gmail.com --- *** Bug 47402 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43878
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |witherking@withertech.com
--- Comment #18 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 48279 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=43878
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ghosT3am@protonmail.com
--- Comment #19 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 55858 has been marked as a duplicate of this bug. ***