[Bug 52970] New: kernelbase:process breaks lz32:lzexpand_main on Windows 1809+

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 6 16:49:49 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52970

            Bug ID: 52970
           Summary: kernelbase:process breaks lz32:lzexpand_main on
                    Windows 1809+
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

kernelbase:process breaks lz32:lzexpand_main on Windows 1809+:

lzexpand_main.c:148: Test failed: LZOpenFileA returned
'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xxx', but was expected to
return 'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xx_'
lzexpand_main.c:228: Test failed: LZOpenFileA succeeded on nonexistent file
lzexpand_main.c:230: Test failed: GetLastError() returns 0
lzexpand_main.c:232: Test failed: LZOpenFileA set test.cBytes to 136
lzexpand_main.c:234: Test failed: LZOpenFileA set test.nErrCode to 0
lzexpand_main.c:236: Test failed: LZOpenFileA returned
'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xxx', but was expected to
return 'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xx_' or
'¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥C:\Users\winetest\AppData\Local\Temp\wct\testfile.xx_'
lzexpand_main.c:550: Test failed: LZOpenFileW returned
'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xxx', but was expected to
return 'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xx_'
lzexpand_main.c:628: Test failed: LZOpenFileW succeeded on nonexistent file
lzexpand_main.c:630: Test failed: GetLastError() returns 0
lzexpand_main.c:632: Test failed: LZOpenFileW set test.cBytes to 136
lzexpand_main.c:634: Test failed: LZOpenFileW set test.nErrCode to 0
lzexpand_main.c:636: Test failed: LZOpenFileW returned
'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xxx', but was expected to
return 'C:\Users\winetest\AppData\Local\Temp\wct\testfile.xx_' or
'¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥¥'

https://test.winehq.org/data/patterns.html#lz32:lzexpand_main

As mentioned before, lz32:lzexpand_main succeeds on its own. It's only when
kernelbase:process is run before that this test fails. The simplest way to
reproduce the failures is to run:

  winetest.exe -c -o - -t foo kernelbase:process lz32:lzexpand_main

The failure happens because kernelbase:process leaves a "testfile.xxx" file
behind, file which is also used by the lz32:lzexpand_main test unit.


Finally a bisect shows that these failures started with the commit below.

commit 9c40a80100febb9ac23dae1e51605ba4f2f46f6f
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed May 4 14:55:36 2022 +0300

    kernelbase: Implement MapViewOfFile3().

    Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
    Signed-off-by: Alexandre Julliard <julliard at 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.


More information about the wine-bugs mailing list