https://bugs.winehq.org/show_bug.cgi?id=48542
Bug ID: 48542 Summary: Mono (and probably .NET) needs CreateThreadpoolIo Product: Wine Version: 5.0 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Found testing LiveSplit 1.7.7 on Wine Mono from the master branch.
Mono's implementation of System.Threading.ThreadPoolBoundHandle depends on CreateThreadpoolIo. Wine's stub of this function returns 0 and doesn't set last error, resulting in the confusing message "System.IO.IOException: Success".
This can be more easily reproduced by running 'make test' in Wine Mono and running tests/run-tests.exe MonoTests.System.IO.Pipes.PipeSecurityTest:NamedPipePermissionsActuallyWorkAsync
https://bugs.winehq.org/show_bug.cgi?id=48542
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=48542
--- Comment #1 from Vincent Povirk madewokherd@gmail.com --- Looking at the source code, it also uses StartThreadpoolIo and CancelThreadpoolIo. The handle is private to the ThreadPoolBoundHandle class, so it shouldn't be used with anything else.
https://bugs.winehq.org/show_bug.cgi?id=48542
--- Comment #2 from Vincent Povirk madewokherd@gmail.com --- I guess CloseThreadpoolIo is needed as well for cleanup, that call is abstracted into SafeThreadPoolIOHandle.
https://bugs.winehq.org/show_bug.cgi?id=48542
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- It would probably be reasonable to merge this and bug 46633 into a general "implement threadpool I/O".
https://bugs.winehq.org/show_bug.cgi?id=48542
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- mariadb mysqld.exe requires CreateThreadpoolIo to be implemented before connections can be made to the running server.
mysql.exe --console --port 3307 --datadir=<path>
path was created with a prior by mysql_install_db.exe --datadir=<path>
https://bugs.winehq.org/show_bug.cgi?id=48542
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- THere's more information in bug 46633, so resolving duplicate.
*** This bug has been marked as a duplicate of bug 46633 ***
https://bugs.winehq.org/show_bug.cgi?id=48542
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de Status|RESOLVED |CLOSED
--- Comment #6 from André H. nerv@dawncrow.de --- closing duplicate
https://bugs.winehq.org/show_bug.cgi?id=48542
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32