https://bugs.winehq.org/show_bug.cgi?id=42828
Bug ID: 42828 Summary: SystemHandleInformation needs to return ObjectPointer Product: Wine Version: 2.6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: ray@rh-software.com Distribution: ---
Created attachment 57906 --> https://bugs.winehq.org/attachment.cgi?id=57906 Test version of SIV
NtQuerySystemInformation( SystemHandleInformation ) always returns NULL as the ObjectPointer and this causes SIV to think all the handles for all locks.
There is /* FIXME: Fill out ObjectType, HandleFlags, ObjectPointer */ in the code that mentions this need fixing.
A wine service also seem to often crash shortly after SIV has started.
The same issues exit when SIV is run as other then root, but the information reported when doing this is less.
I have attached a SIV that recreates the issue on Wine 2.6.
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #1 from ray@rh-software.com --- Created attachment 57907 --> https://bugs.winehq.org/attachment.cgi?id=57907 Screen shot of [Lock Handle]
Do Menu->Help->Lock Handles to get to this panel.
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #2 from ray@rh-software.com --- Created attachment 57908 --> https://bugs.winehq.org/attachment.cgi?id=57908 Wine service crash
I know it's not SIVDriver as it's still running.
Menu->Windows->Services->WIN32 Display
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #3 from ray@rh-software.com --- Please can support ne added for NtQueryMutant( MutantOwnerInformation ) ?
typedef enum _MUTANT_INFORMATION_CLASS // { // MutantBasicInformation, // MutantOwnerInformation // } MUTANT_INFORMATION_CLASS, *PMUTANT_INFORMATION_CLASS; //
typedef struct _MUTANT_OWNER_INFORMATION // { // CLIENT_ID ClientId; // } MUTANT_OWNER_INFORMATION, *PMUTANT_OWNER_INFORMATION; //
https://bugs.winehq.org/show_bug.cgi?id=42828
ray@rh-software.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57908|0 |1 is obsolete| |
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #4 from ray@rh-software.com --- Created attachment 57909 --> https://bugs.winehq.org/attachment.cgi?id=57909 Wine service crash
Wine service crash
I know it's not SIVDriver as it's still running.
Menu->Windows->Services->WIN32 Display
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #5 from ray@rh-software.com --- Comment on attachment 57908 --> https://bugs.winehq.org/attachment.cgi?id=57908 Wine service crash
Image removed
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Why would it matter if you run it as root or not? And what is crashing exactly?
https://bugs.winehq.org/show_bug.cgi?id=42828
ray@rh-software.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #57909|0 |1 is obsolete| |
--- Comment #7 from ray@rh-software.com --- Created attachment 57913 --> https://bugs.winehq.org/attachment.cgi?id=57913 Wine service crash
Wine service crash
I know it's not SIVDriver as it's still running.
Do Menu->Windows->Services->WIN32 Display to see the panel
https://bugs.winehq.org/show_bug.cgi?id=42828
--- Comment #8 from ray@rh-software.com --- (In reply to Nikolay Sivov from comment #6)
Why would it matter if you run it as root or not? And what is crashing exactly?
It doesn't, but I recall some don't feel Wine should be run from root and felt I should confirm the issue can be recreated without using root.
I don't know, but it's part of Wine as all the SIV threads and SIV Driver service were still active.
It should be quite easy for a Wine developer to run SIV and figure it out. Given it's trying to read location 0x000000c I expect a pointer is NULL.