https://bugs.winehq.org/show_bug.cgi?id=55365
Bug ID: 55365 Summary: ntdll:file - test_file_full_size_information() sometimes gets a bad AvailableAllocationUnits value on Windows and Wine Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
ntdll:file - test_file_full_size_information() sometimes gets a bad AvailableAllocationUnits value on Windows and Wine:
file.c:1320: Test failed: [ffsi] CallerAvailableAllocationUnits error fsi:0x12dbfb5, ffsi: 0x12dbfb6
See https://test.winehq.org/data/patterns.html#ntdll:file
This is very rare as there are only 3 known instances: * 2023-03-27 linux_gitlab-debian-32 * 2023-06-23 linux_gitlab-debian-32 * 2023-07-27 win21H2_gitlab-win10-21h2-64
This looks very much like a race condition with some other process allocating or freeing disk space in between the FileFsFullSizeInformation and FileFsSizeInformation calls. So this is something that should be fixable with the tryok() API. https://gitlab.winehq.org/wine/wine/-/merge_requests/3418