[Bug 49921] New: Yousician needs support for SYSTEM_PROCESS_ID_INFORMATION in NtQuerySystemInformation
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Sep 30 11:59:20 CDT 2020
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 at winehq.org
Reporter: xerox.xerox2000x at 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/+/refs/heads/master/psutil/_psutil_windows.c
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)'
--
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