[Bug 50586] New: [regression] NtQueryInformationFile returning STATUS_INVALID_INFO_CLASS (0xc0000003) on symlinks opened with option FILE_OPEN_REPARSE_POINT (0x00200000)
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Jan 29 17:32:36 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=50586
Bug ID: 50586
Summary: [regression] NtQueryInformationFile returning
STATUS_INVALID_INFO_CLASS (0xc0000003) on symlinks
opened with option FILE_OPEN_REPARSE_POINT
(0x00200000)
Product: Wine-staging
Version: 6.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: mr.dovi at gmail.com
CC: leslie_alistair at hotmail.com, z.figura12 at gmail.com
Distribution: ---
Created attachment 69263
--> https://bugs.winehq.org/attachment.cgi?id=69263
wine_file.c testcase
Possible related issue: https://bugs.winehq.org/show_bug.cgi?id=50036
I'm investigating the cause of a application startup crash happening on
wine-staging 6.0 but not on wine-staging-5.21, wine-5.13 and wine-6.0
While I think I have found a workaround to have it running on staging-6.0, I
realized it may be worth a share since it took me a few hours of searching the
relay logs.
I have attached a test case but basically, calling NtQueryInformationFile on a
symlink opened with the file handle option FILE_OPEN_REPARSE_POINT seem to
cause NtQueryInformationFile to return STATUS_INVALID_INFO_CLASS, even if the
class is correctly set to FileAllInformation
# wine 5.13
# pNtCreateFile -> 0
# NtQueryInformationFile -> 0
# wine 5.13
# pNtCreateFile -> 0
# NtQueryInformationFile -> 0
# wine-staging 5.21
# pNtCreateFile -> 0
# NtQueryInformationFile -> 0
# wine-staging 5.21
# pNtCreateFile -> 0
# NtQueryInformationFile -> 0
# wine-staging 6.0
# pNtCreateFile -> 0
# NtQueryInformationFile -> c0000003
# wine-staging 6.0
# pNtCreateFile -> 0
# NtQueryInformationFile -> 0
My system is Arch Linux
--
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