https://bugs.winehq.org/show_bug.cgi?id=44812
Bug ID: 44812 Summary: MSYS2 applications need NtQueryInformationProcess 'ProcessQuotaLimits' class support 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-Proce...
Unfortunately there is little information/details, I just found this:
https://wine-staging.com/news/2015-11-01-release-1.7.54.html
--- quote --- Implement stub for ProcessQuotaLimits info class (MSYS2, Wine Staging Bug #570) --- quote ---
Source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/process.c#l196
--- snip --- 174 /****************************************************************************** 175 * NtQueryInformationProcess [NTDLL.@] 176 * ZwQueryInformationProcess [NTDLL.@] 177 * 178 */ 179 NTSTATUS WINAPI NtQueryInformationProcess( 180 IN HANDLE ProcessHandle, 181 IN PROCESSINFOCLASS ProcessInformationClass, 182 OUT PVOID ProcessInformation, 183 IN ULONG ProcessInformationLength, 184 OUT PULONG ReturnLength) 185 { 186 NTSTATUS ret = STATUS_SUCCESS; 187 ULONG len = 0; 188 189 TRACE("(%p,0x%08x,%p,0x%08x,%p)\n", 190 ProcessHandle,ProcessInformationClass, 191 ProcessInformation,ProcessInformationLength, 192 ReturnLength); 193 194 switch (ProcessInformationClass) 195 { 196 UNIMPLEMENTED_INFO_CLASS(ProcessQuotaLimits); ... --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=44812
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch, source URL| |http://sourceforge.net/proj | |ects/msys2/files/Base/i686/ | |msys2-base-i686-20140205.ta | |r.xz Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/ntdll-ProcessQuo | |taLimits Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=44812
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://sourceforge.net/proj |https://github.com/processh |ects/msys2/files/Base/i686/ |acker/processhacker/release |msys2-base-i686-20140205.ta |s/download/v2.39/processhac |r.xz |ker-2.39-bin.zip Summary|MSYS2 applications need |Multiple applications need |NtQueryInformationProcess |NtQueryInformationProcess |'ProcessQuotaLimits' class |'ProcessQuotaLimits' class |support |support (MSYS2, | |ProcessHacker 2.x)
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
I found an app to reproduce the issue: 'ProcessHacker'. The original report related to MSYS2 didn't have much useful information, see my first comment.
Start 'ProcessHacker.exe' -> right mouse click on column header -> 'choose columns' -> select 'Minimum working set' and/or 'Maximum working set'.
The console now yields the following messages:
--- snip --- ... 0105:fixme:process:NtQueryInformationProcess (process=0x114) Unimplemented information class: ProcessQuotaLimits 0105:fixme:process:NtQueryInformationProcess (process=0x108) Unimplemented information class: ProcessQuotaLimits ... --- snip ---
$ sha1sum processhacker-2.39-bin.zip 8e8f8423d163d922242b8b7d85427664f77edc97 processhacker-2.39-bin.zip
$ du -sh processhacker-2.39-bin.zip 3.3M processhacker-2.39-bin.zip
$ wine --version wine-5.0-rc6
Regards
https://bugs.winehq.org/show_bug.cgi?id=44812
dmex04@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmex04@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=44812
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
https://bugs.winehq.org/show_bug.cgi?id=44812
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/processh |https://web.archive.org/web |acker/processhacker/release |/20180217163852/https://git |s/download/v2.39/processhac |hub.com/processhacker/proce |ker-2.39-bin.zip |sshacker/releases/download/ | |v2.39/processhacker-2.39-bi | |n.zip
https://bugs.winehq.org/show_bug.cgi?id=44812
Joel Holdsworth joel@airwebreathe.org.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joel@airwebreathe.org.uk
https://bugs.winehq.org/show_bug.cgi?id=44812
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |ea4ba2f7de2d761f4f2e30f4ef1 | |46731d0b8d08c Resolution|--- |FIXED
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- Patchset was upstreamed as:
https://gitlab.winehq.org/wine/wine/-/commit/ea4ba2f7de2d761f4f2e30f4ef14673... https://gitlab.winehq.org/wine/wine/-/commit/04b829e81b3da1e98964dee4df0be4c...
It now correctly shows some stub values for 'Minimum working set' and 'Maximum working set'.
https://bugs.winehq.org/show_bug.cgi?id=44812
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.7.