https://bugs.winehq.org/show_bug.cgi?id=51213
Bug ID: 51213 Summary: GZDoom Builder 2.3 r2787 fails with IdentityNotMappedException Product: Wine Version: 6.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Tested using Wine 6.9 and Wine Mono 6.2.0.
GZDoom Builder 2.3 r2787 fails to start with an exception:
[00000024:] EXCEPTION handling: System.Security.Principal.IdentityNotMappedException: Unable to map SID: S-1-5-21-0-0-0-1000 at System.Security.Principal.SecurityIdentifier.Translate (System.Type) [0x0004d] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.ObjectSecurity.InternalAccessRuleFactory (System.Security.AccessControl.QualifiedAce,System.Type,System.Security.AccessControl.AccessControlType) [0x00007] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.ObjectSecurity.InternalGetAccessRules (bool,bool,System.Type) [0x00061] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at System.Security.AccessControl.CommonObjectSecurity.GetAccessRules (bool,bool,System.Type) [0x00000] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at CodeImp.DoomBuilder.General.CheckWritePremissions (string) [0x0000e] in <1d2596b690724749a5f28b323fe25637>:0 at CodeImp.DoomBuilder.UpdateChecker.PerformCheck (bool) [0x00028] in <1d2596b690724749a5f28b323fe25637>:0 at CodeImp.DoomBuilder.General.Main (string[]) [0x0060c] in <1d2596b690724749a5f28b323fe25637>:0 at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00027] in <1d2596b690724749a5f28b323fe25637>:0
It seems like Mono's version of the Translate function can only handle well-known SIDs, not a user SID.