[Bug 47875] New: kernel32:file: FindFirstFile("foo\nul\bar") succeeds on AMD graphics!
https://bugs.winehq.org/show_bug.cgi?id=47875 Bug ID: 47875 Summary: kernel32:file: FindFirstFile("foo\nul\bar") succeeds on AMD graphics! Product: Wine Version: 4.17 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com On some machines kernel32:file systematically gets the following two failures: file.c:2709: Test failed: FindFirstFile on C:\foo\bar\nul should fail file.c:2710: Test failed: Bad Error number -559038801 -559038801 is 0xdeadbeaf which is the value LastError is set to before the test: SetLastError( 0xdeadbeaf ); strcpy(buffer2, buffer); strcat(buffer2, "foo\\bar\\nul"); handle = FindFirstFileA(buffer2, &data); ok ( handle == INVALID_HANDLE_VALUE, "FindFirstFile on %s should fail\n", buffer2 ); ok ( err == ERROR_PATH_NOT_FOUND, "Bad Error number %d\n", err ); This suggests that FindFirstFile() succeeds in finding "foo\bar\nul". Furthermore this only happens on two Windows 8.1 machines, cw-rx460 and dr-RS740, both in the 32 and 64 bit tests. They share the same build number (9600) but so does cw2-gtx560 which does not have these failures. The other common point is that they both have an AMD graphics card and, presumably, the corresponding driver. But why would a graphics driver change the behavior of FindFirstFile()? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47875 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47875 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1431702f5a0085fabdb8e22651d | |ce18defd07148 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- These failures got fixed by the commit below which essentially considers the C:\foo\bar\nul case to be broken on all Windows 8 machines. commit 1431702f5a0085fabdb8e22651dce18defd07148 Author: Alexandre Julliard <julliard(a)winehq.org> AuthorDate: Thu Dec 16 17:04:46 2021 +0100 kernel32/tests: Fix some test failures on Windows. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47875 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc3. -- 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