https://bugs.winehq.org/show_bug.cgi?id=44814
Bug ID: 44814 Summary: Some Cygwin applications need a better ntdll.NtQueryEaFile stub Product: Wine Version: 3.4 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track https://github.com/wine-staging/wine-staging/tree/master/patches/ntdll-NtQue...
Unfortunately there is little information/details, I just found this:
https://wine-staging.com/news/2015-06-14-release-1.7.45.html
--- quote --- Improve stub for NtQueryEaFile (Wine Staging Bug #353) --- quote ---
Sadly no applications are mentioned. My guess would be it was Cygwin or MSYS2 related.
https://github.com/openunix/cygwin/blob/master/winsup/cygwin/ntea.cc
https://github.com/openunix/cygwin/search?utf8=%E2%9C%93&q=NtQueryEaFile
Further info:
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/ntifs/...
$ wine --version wine-3.4
Regards
https://bugs.winehq.org/show_bug.cgi?id=44814
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/ntdll-NtQueryEaF | |ile URL| |https://cygwin.com/install. | |html Status|NEW |STAGED Keywords| |download, patch, source
https://bugs.winehq.org/show_bug.cgi?id=44814
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Some Cygwin applications |Some Cygwin/MSYS2 |need a better |applications need a better |ntdll.NtQueryEaFile stub |ntdll.NtQueryEaFile stub
https://bugs.winehq.org/show_bug.cgi?id=44814
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Some Cygwin/MSYS2 |cygwin's bsdtar.exe needs a |applications need a better |better ntdll.NtQueryEaFile |ntdll.NtQueryEaFile stub |stub CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- I believe the program in question is bsdtar. I managed to find this by searching the #wine-staging IRC logs... but unfortunately the website in question is no longer available.
https://bugs.winehq.org/show_bug.cgi?id=44814
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44814
Andrey andrey.gursky@e-mail.ua changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.gursky@e-mail.ua
https://bugs.winehq.org/show_bug.cgi?id=44814
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
https://bugs.winehq.org/show_bug.cgi?id=44814
--- Comment #2 from Joel Holdsworth joel@airwebreathe.org.uk --- Steps to reproduce with msys2:
----------------------------------------- $ echo foo > foo $ wine 'c:\msys64\usr\bin\bsdtar.exe -czvf foo.tar.gz foo 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0024:fixme:ntdll:NtSetInformationToken unimplemented class 4 0024:fixme:security:GetWindowsAccountDomainSid (00000000FFFFC190 000000000033BD98 00000000FFFFC18C): semi-stub 0024:fixme:netapi32:DsEnumerateDomainTrustsW ((null), 0x0023, 00000000FFFFC368, 00000000FFFFC354): stub 00d8:fixme:wldap32:ldap_set_optionA Unsupported option: 0x95 00d8:fixme:wldap32:ldap_set_optionA Unsupported option: 0x96 0024:fixme:netapi32:NetUserGetInfo Only implemented for local computer, but remote serverL"\\@" was requested. Cygwin WARNING: Couldn't compute FAST_CWD pointer. This typically occurs if you're using an older Cygwin version on a newer Windows. Please update to the latest available Cygwin version from https://cygwin.com/. If the problem persists, please see https://cygwin.com/problems.html
0024:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Administrators" 1 00000000FFFFC3E0) semi-stub! 0024:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Users" 1 00000000FFFFC3E0) semi-stub! 0024:fixme:file:NtQueryEaFile (0x160,0xffffc1f0,0x800018090,65536,1,(nil),0,(nil),1) stub 0024:fixme:file:NtQueryEaFile (0x164,0xffffc1f0,0x800018090,65536,1,(nil),0,(nil),1) stub bsdtar: Couldn't list extended attributes: Permission denied a foo -----------------------------------------
With the patch applied, bsdtar works as expected:
----------------------------------------- 0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0024:fixme:ntdll:NtSetInformationToken unimplemented class 4 0024:fixme:security:GetWindowsAccountDomainSid (00000000FFFFC190 000000000033BD98 00000000FFFFC18C): semi-stub 0024:fixme:netapi32:DsEnumerateDomainTrustsW ((null), 0x0023, 00000000FFFFC368, 00000000FFFFC354): stub 00dc:fixme:wldap32:ldap_set_optionA Unsupported option: 0x95 00dc:fixme:wldap32:ldap_set_optionA Unsupported option: 0x96 0024:fixme:netapi32:NetUserGetInfo Only implemented for local computer, but remote serverL"\\@" was requested. Cygwin WARNING: Couldn't compute FAST_CWD pointer. This typically occurs if you're using an older Cygwin version on a newer Windows. Please update to the latest available Cygwin version from https://cygwin.com/. If the problem persists, please see https://cygwin.com/problems.html
0024:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Administrators" 1 00000000FFFFC3E0) semi-stub! 0024:fixme:netapi32:NetLocalGroupGetInfo ((null) L"Users" 1 00000000FFFFC3E0) semi-stub! 0024:fixme:file:NtQueryEaFile (0x160,0xffffc1f0,0x800018090,65536,1,(nil),0,(nil),1) semi-stub a foo -----------------------------------------
https://bugs.winehq.org/show_bug.cgi?id=44814
--- Comment #3 from Joel Holdsworth joel@airwebreathe.org.uk --- Submitted the patch in a merge request: https://gitlab.winehq.org/wine/wine/-/merge_requests/745
https://bugs.winehq.org/show_bug.cgi?id=44814
--- Comment #4 from Joel Holdsworth joel@airwebreathe.org.uk --- Fixed: https://gitlab.winehq.org/wine/wine/-/commit/3c4cdfa7049eb3063c9b77efbbf3c90...
https://bugs.winehq.org/show_bug.cgi?id=44814
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3c4cdfa7049eb3063c9b77efbbf | |3c90e5334bd28
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- Marking fixed, thanks for upstreaming!
https://bugs.winehq.org/show_bug.cgi?id=44814
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.20.
https://bugs.winehq.org/show_bug.cgi?id=44814
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |7.0.x
https://bugs.winehq.org/show_bug.cgi?id=44814
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|7.0.x |---
--- Comment #7 from Michael Stefaniuc mstefani@winehq.org --- Removing the 7.0.x milestone from bug fixes included in 7.0.2.