https://bugs.winehq.org/show_bug.cgi?id=40476
--- Comment #8 from Mokou mokouthrowaway@gmail.com --- Created attachment 54783 --> https://bugs.winehq.org/attachment.cgi?id=54783 Adds \Sessions\1\BaseNamedObjects NT dir object
(In reply to Dmitry Timoshkov from comment #7)
(In reply to Mokou from comment #6)
Is it possible to reopen the issue? The cause seems to be a Wine defect, namely the NT obj directory structure being different than on Windows.
Please open a separate bug for it, this one is definitely invalid (caused by an explicit Wine check and process termination by vnrhost.dll).
Specify an exact version you are testing with the source (if available).
The process gets terminated because IthInitSystemService() returns FALSE (gui/main.cpp:246). IthInitSystemService() returns FALSE because it can't open the \Sessions$id\BaseNamedObjects NT dir obj (vnr/ithsys/ithsys.cc:828).
Tested both 3.4152.0 (the one in the URL field of this bug report) and 3.5640.1. The issue seems to be the same on both. Could you test 3.4152.0 on Wine with the attached patch applied? It works here.