https://bugs.winehq.org/show_bug.cgi?id=53904
Bug ID: 53904 Summary: NTFS Error 'Propogation Flags' Product: Wine Version: 7.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: drew.ridley03@gmail.com Distribution: ---
When running a program to install addons into my Flight Simulator 2020 wine prefix, I get the following error on installation.
'Error Propogation flags need inheritance flags' 'Parameter name: propogationFlags trying to create package folder'
I have reason to believe this is an error related to some component of wine's NTFS emulation. Perhaps someone could shed some light on the issue?
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #1 from Austin English austinenglish@gmail.com --- What program are you trying? Please attach the terminal output.
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #2 from Drew Ridley drew.ridley03@gmail.com --- I am trying to run the FSDT installer from FSDreamTeam. I am running it under the same wine prefix as microsoft flight simulator to install an addon.
Unfortunately, reproduction might be difficult as the issue only occurs after installing Microsoft Flight Simulator, inserting a valid license key and hitting install. It unfortunately hangs on this error and does not continue the installation. That being said, I do have more information after running the program with 'PROTON_LOG=1'.
Downloading from http://update.virtualisoftware.com/setup [0000049c:] EXCEPTION handling: System.ArgumentException: Propagation flags need inheritance flags. Parameter name: propagationFlags Error Propagation flags need inheritance flags. Parameter name: propagationFlags trying to create package folder [0000049c:] EXCEPTION handling: System.ArgumentException: Propagation flags need inheritance flags. Parameter name: propagationFlags [0000049c:] EXCEPTION handling: System.ArgumentException: Propagation flags need inheritance flags. Parameter name: propagationFlags [0000049c:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid. [0000049c:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid.
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #3 from Austin English austinenglish@gmail.com --- If you're running proton, this should be reported to them.. while there may still be a bug in upstream wine, proton is a different codebase and not supported here.
Do you see the same issue in upstream wine?
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #4 from Drew Ridley drew.ridley03@gmail.com --- Sorry I should have clarified;
I see the exact same issue regardless of whether I use wine or proton. Using upstream wine results in the same exception.
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #5 from Drew Ridley drew.ridley03@gmail.com --- I am not really sure if this is a Wine issue, but I did find a similar exception from another program running on wine.
I found the relevant source code that throws this exception from mono:
'
AceFlags GetAceFlags (InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags auditFlags) { if (InheritanceFlags.None != inheritanceFlags && !IsContainer) throw new ArgumentException ("Flags only work with containers.", "inheritanceFlags");
if (InheritanceFlags.None == inheritanceFlags && PropagationFlags.None != propagationFlags) throw new ArgumentException ("Propagation flags need inheritance flags.", "propagationFlags");
'
As you can see here, something is causing mono to throw this exception here. Not really sure about the particulars of ACL or NTFS with windows or wine, so I am not sure how much help I can be.
https://bugs.winehq.org/show_bug.cgi?id=53904
Drew Ridley drew.ridley03@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree
https://bugs.winehq.org/show_bug.cgi?id=53904
Drew Ridley drew.ridley03@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet
https://bugs.winehq.org/show_bug.cgi?id=53904
Drew Ridley drew.ridley03@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=53904
Drew Ridley drew.ridley03@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|NTFS Error 'Propogation |Mono ACL Error 'Propogation |Flags' |Flags'
https://bugs.winehq.org/show_bug.cgi?id=53904
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #6 from Esme Povirk madewokherd@gmail.com --- Running with WINE_MONO_TRACE=E:System.ArgumentException should give more information about those exceptions.
https://bugs.winehq.org/show_bug.cgi?id=53904
--- Comment #7 from Drew Ridley drew.ridley03@gmail.com --- Thank you for recommending that environment variable. I received a more detailed trace, and the issue is with ACL as I expected.
[00000a08:] EXCEPTION handling: System.ArgumentException: Propagation flags need inheritance flags. Parameter name: propagationFlags
"<unnamed thread>" tid=00000a08 this=07960120 , thread handle : 02d398f0, state : not waiting at System.Security.AccessControl.CommonAcl.GetAceFlags (System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags) [0x00021] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at System.Security.AccessControl.CommonAcl.AddAceGetQualifiedAce (System.Security.AccessControl.AceQualifier,System.Security.Principal.SecurityIdentifier,int,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at System.Security.AccessControl.CommonAcl.SetAce (System.Security.AccessControl.AceQualifier,System.Security.Principal.SecurityIdentifier,int,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at System.Security.AccessControl.DiscretionaryAcl.SetAccess (System.Security.AccessControl.AccessControlType,System.Security.Principal.SecurityIdentifier,int,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags) [0x00007] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess (System.Security.AccessControl.AccessControlModification,System.Security.AccessControl.AccessRule,bool&) [0x000a0] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at System.Security.AccessControl.ObjectSecurity.ModifyAccessRule (System.Security.AccessControl.AccessControlModification,System.Security.AccessControl.AccessRule,bool&) [0x0002c] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 at Couatl_Updater2.Program.SetFullControlPermissionsToEveryone (string) [0x00025] in <dc66d1257820403aae1266881a1d8a5c>:0 at Couatl_Updater2.Program.DeleteCouatlCache () [0x000ee] in <dc66d1257820403aae1266881a1d8a5c>:0 at Couatl_Updater2.FrmMain.PostUpdateAll (string) [0x00000] in <dc66d1257820403aae1266881a1d8a5c>:0 at Couatl_Updater2.FrmMain.dataGridViewProducts_CellContentClick (object,System.Windows.Forms.DataGridViewCellEventArgs) [0x001cb] in <dc66d1257820403aae1266881a1d8a5c>:0 at System.Windows.Forms.DataGridView.OnCellContentClick (System.Windows.Forms.DataGridViewCellEventArgs) [0x000f1] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.DataGridView.OnCommonCellContentClick (int,int,bool) [0x000a1] in <d22f8be2dd674c49bd49b314423240b8>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.DataGridView.OnCommonCellContentClick (int,int,bool) [0x00034] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.DataGridViewCell.OnMouseUpInternal (System.Windows.Forms.DataGridViewCellMouseEventArgs) [0x000b3] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.DataGridView.OnCellMouseUp (System.Windows.Forms.DataGridViewCellMouseEventArgs) [0x0009f] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.DataGridView.OnMouseUp (System.Windows.Forms.MouseEventArgs) [0x001e4] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Control.WmMouseUp (System.Windows.Forms.Message&,System.Windows.Forms.MouseButtons,int) [0x001c3] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) [0x005a0] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.DataGridView.WndProc (System.Windows.Forms.Message&) [0x000cc] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Control/ControlNativeWindow.OnMessage (System.Windows.Forms.Message&) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x000b3] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message&) [0x00025] in <d22f8be2dd674c49bd49b314423240b8>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message&) [0x00032] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.NativeWindowProc.Callback (intptr,int,intptr,intptr) [0x00037] in <d22f8be2dd674c49bd49b314423240b8>:0 at (wrapper native-to-managed) System.Windows.Forms.NativeWindowProc.Callback (intptr,int,intptr,intptr) <0x00067> at <unknown> <0xffffffff> at (wrapper managed-to-native) System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW (System.Windows.Forms.NativeMethods/MSG&) <0x00012> at System.Windows.Forms.Application/ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (intptr,int,int) [0x001d7] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Application/ThreadContext.RunMessageLoopInner (int,System.Windows.Forms.ApplicationContext) [0x00282] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Application/ThreadContext.RunMessageLoop (int,System.Windows.Forms.ApplicationContext) [0x0001a] in <d22f8be2dd674c49bd49b314423240b8>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application/ThreadContext.RunMessageLoop (int,System.Windows.Forms.ApplicationContext) [0x00033] in <d22f8be2dd674c49bd49b314423240b8>:0 at System.Windows.Forms.Application.Run () [0x0000c] in <d22f8be2dd674c49bd49b314423240b8>:0 at Couatl_Updater2.Program.Main (string[]) [0x01581] in <dc66d1257820403aae1266881a1d8a5c>:0 at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) [0x00027] in <dc66d1257820403aae1266881a1d8a5c>:0 [00000a08:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid. [00000a08:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid. [00000a08:] EXCEPTION handling: System.InvalidCastException: Specified cast is not valid.