https://bugs.winehq.org/show_bug.cgi?id=49921
Bug ID: 49921 Summary: Yousician needs support for SYSTEM_PROCESS_ID_INFORMATION in NtQuerySystemInformation Product: Wine Version: 5.18 Hardware: x86-64 URL: https://public.yousician.com/Builds/YousicianSetup.exe OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Depends on: 49334 Distribution: ---
Created attachment 68298 --> https://bugs.winehq.org/attachment.cgi?id=68298 Dumb hack
As the title says.
Console output below; If you just dumb hack return success in NtQuerySystemInformation the program starts fine into the loginscreen.
I think error comes from this source: https://chromium.googlesource.com/external/github.com/giampaolo/psutil/+/ref...
status = NtQuerySystemInformation( SystemProcessIdInformation, &processIdInfo, sizeof(SYSTEM_PROCESS_ID_INFORMATION),
. . if (! NT_SUCCESS(status)) { FREE(buffer); if (psutil_pid_is_running(pid) == 0) NoSuchProcess("NtQuerySystemInformation"); else psutil_SetFromNTStatusErr(status, "NtQuerySystemInformation"); return NULL; }
Note: To see this bug one first has to get around bug #49334; One way is to run wine as root; Do not shoot for me this......
Error in console:
0124:fixme:ntdll:NtQuerySystemInformation (0x00000058,0x2c0f140,0x0000000c,(nil)) stub ERROR:root: Traceback (most recent call last): File "psutil_common.py", line 449, in wrapper AttributeError: _cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "launcher\appBase.py", line 43, in wrapped File "launcher\appBase.py", line 87, in run File "launcher\utils.py", line 32, in app_running File "psutil__init__.py", line 634, in name File "psutil_pswindows.py", line 750, in name File "psutil_pswindows.py", line 681, in wrapper File "psutil_pswindows.py", line 671, in convert_oserror File "psutil_pswindows.py", line 679, in wrapper File "psutil_common.py", line 452, in wrapper File "psutil_pswindows.py", line 766, in exe OSError: [WinError 87] Invalid parameter: '(originated from NtQuerySystemInformation)'