[Bug 58891] New: Mono's ProcessTest:Start1_FileName_Whitespace test fails
http://bugs.winehq.org/show_bug.cgi?id=58891 Bug ID: 58891 Summary: Mono's ProcessTest:Start1_FileName_Whitespace test fails Product: Wine Version: 10.17 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: madewokherd(a)gmail.com Distribution: --- To reproduce, download https://dl.winehq.org/wine/wine-mono/10.3.0/wine-mono-10.3.0-tests.zip and run: wine run-tests.exe MonoTests.System.Diagnostics.ProcessTest:Start1_FileName_Whitespace This test, and Start2_FileName_Whitespace, recently started failing. Here is the source code for the test: https://gitlab.winehq.org/mono/mono/-/blob/main/mcs/class/System/Test/System... The failing line is: Assert.IsTrue (ex.NativeErrorCode == 2 || ex.NativeErrorCode == 5 || ex.NativeErrorCode == 87, "#6"); It seems it calls a CreateProcess function (I don't remember which) with whitespace and expects to get one of a few specific error codes. There's a comment indicating Mono is doing this wrong somehow, but since the test passes in Mono on Windows (according to the comment returns error code of 5, which doesn't match .NET Framework but is accepted by the test), that still implies a difference between Wine and Windows somewhere outside of Mono. Bisect result: 0fcc187de4117901e1c7c45b17e5f101d8bc6fe6 is the first bad commit commit 0fcc187de4117901e1c7c45b17e5f101d8bc6fe6 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 28 17:28:16 2025 +0100 kernelbase: Fix error returned for paths with a trailing backslash. Based on MR !6759 by Fabian Maurer. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57376 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58891 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://dl.winehq.org/wine/ | |wine-mono/10.3.0/wine-mono- | |10.3.0-tests.zip Keywords| |download, regression, | |source, testcase CC| |madewokherd(a)gmail.com Regression SHA1| |0fcc187de4117901e1c7c45b17e | |5f101d8bc6fe6 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58891 --- Comment #1 from Esme Povirk <madewokherd(a)gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/9324 fixes this -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58891 Esme Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |4ba2cd2475a4fe83e7477dae563 | |679966798febb Resolution|--- |FIXED --- Comment #2 from Esme Povirk <madewokherd(a)gmail.com> --- MR was merged. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58891 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.19. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla