On Wed Dec 24 06:28:15 2025 +0000, Ralf Habacker wrote:
Using combined synchronized strace and wine trace messages as shown at https://gitlab.winehq.org/wine/wine/-/merge_requests/7650#problems-with-sync... returns ``` WINE 08:26:07.797561 0024:trace:winsock:bind successfully bound to address { family AF_UNIX, path test_afunix.sock } WINE 08:26:07.797576 0024:trace:file:GetFileAttributesW L"test_afunix.sock" WINE 08:26:07.797591 0024:trace:file:RtlDosPathNameToNtPathName_U_WithStatus (L"test_afunix.sock",0073FB88,00000000,00000000) WINE 08:26:07.797606 0024:trace:file:RtlGetFullPathName_U (L"test_afunix.sock" 520 0073F940 00000000) WINE 08:26:07.797629 0024:trace:file:RtlGetFullPathName_UEx (L"test_afunix.sock" 520 0073F940 00000000 00000000) 28089 08:26:07.797638 statx(AT_FDCWD, "/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFSOCK|0755, stx_size=0, ...}) = 0 WINE 08:26:07.797667 0024:trace:file:get_nt_and_unix_names L"\\??\\Z:\\home\\user\\src\\wine-build\\test_afunix.sock" -> ret 0 nt L"\\??\\Z:\\home\\user\\src\\wine-build\\test_afunix.sock" unix "/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock" 28089 08:26:07.797673 statx(AT_FDCWD, "/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFSOCK|0755, stx_size=0, ...}) = 0 28089 08:26:07.797690 getxattr("/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", "user.WINEREPARSE", 0x21b9e0, 16384) = -1 ENODATA (Keine Daten verfügbar) 28089 08:26:07.797712 getxattr("/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", "user.DOSATTRIB", 0x21b873, 64) = -1 ENODATA (Keine Daten verfügbar) WINE 08:26:07.815242 current directory: 'Z:\home\user\src\wine-build' WINE 08:26:07.815249 sock.c:14624: Test failed: test_afunix.sock: wrong attr ffffffff ``` This line indicates that the socket file is present ``` 28089 08:26:07.797673 statx(AT_FDCWD, "/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", AT_STATX_SYNC_AS_STAT|AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFSOCK|0755, stx_size=0, ...}) = 0 ``` This line may indicate a problem: ``` 28089 08:26:07.797690 getxattr("/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", "user.WINEREPARSE", 0x21b9e0, 16384) = -1 ENODATA (Keine Daten verfügbar) ``` and this too : ``` 28089 08:26:07.797712 getxattr("/home/user/.wine/dosdevices/z:/home/user/src/wine-build/test_afunix.sock", "user.DOSATTRIB", 0x21b873, 64) = -1 ENODATA (Keine Daten verfügbar) ``` Something is missing in the Windows-related file object (`struct file`). More specifically, in the functions contained in `const struct fd_ops file_fd_ops`, e.g., `default_fd_get_file_info()`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7650#note_126126