https://bugs.winehq.org/show_bug.cgi?id=50789
Bug ID: 50789 Summary: Affinity Photo 1.9.1 installer crashes Product: Wine Version: 6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: game.jaegers@mailbox.org Distribution: ---
Created attachment 69595 --> https://bugs.winehq.org/attachment.cgi?id=69595 terminal output
wine --version
wine-6.2 (Staging)
Get the trial installer here: https://affinity.serif.com/de/90-day-affinity-trial/ Maybe someone can get an archive.org link?
sha1sum affinity-photo-1.9.1.exe
f68d5fcd52e58a1501ab1ff7b4eb35ac8422f863 affinity-photo-1.9.1.exe
I only used these commands: export WINEPREFIX=~/.wineprefixes/photo wine wineboot -i wine '/home/estebanium/Downloads/affinity-photo-1.9.1.exe'
I know from older testing, that the installer needs at least dotnet45. Since Wine 5.12 installing dotnet45 via winetricks is a pain. If you achieved to install dotnet45 via winetricks, affinity installer want to install the update to dotnet472.
https://bugs.winehq.org/show_bug.cgi?id=50789
game.jaegers@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
https://bugs.winehq.org/show_bug.cgi?id=50789
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com --- Not crtical.
https://bugs.winehq.org/show_bug.cgi?id=50789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mscoree Status|UNCONFIRMED |NEW CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20210310074014/https://sec | |uredl.cdn.chip.de/downloads | |/54314858/affinity-photo-1. | |9.1.exe?cid=103235188&platf | |orm=chip&1615361687-1615369 | |187-f826d3-B-e27fe858a03d1f | |69658a56632e9672e0.exe= Ever confirmed|0 |1 Summary|Affinity Photo 1.9.1 |Multiple .NET applications |installer crashes |crash with unimplemented | |'System.Security.Principal. | |WindowsIdentity.get_Owner' | |using Wine-Mono (Affinity | |Photo 1.9.1)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
The managed backtrace from Wine 6.3 matches yours from Wine-Staging:
--- snip --- Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at System.Security.Principal.WindowsIdentity.get_Owner () [0x00000] in <3d7a9349295c42b6abb3487b4473a6b8>:0 at SetupUI.App.OnStartup (System.Windows.StartupEventArgs e) [0x0000f] in <d5a13fa7ac63422e98d49b7ef571a683>:0 at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <448e66291df6403d9c976e81bc01fa3f>:0 at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <bc6a8e4ae05c4436a373d86253e7438b>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <3d7a9349295c42b6abb3487b4473a6b8>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, ... at System.Windows.Application.Run () [0x00009] in <448e66291df6403d9c976e81bc01fa3f>:0 at SetupUI.App.Main () [0x0000e] in <d5a13fa7ac63422e98d49b7ef571a683>:0 --- snip ---
Similar to bug 25167 ("Multiple .NET applications crash with unimplemented System.Security.Principal.WindowsIdentity.get_User (Eraser 6.0, Chocolatey package manager, WinAuth 3.6.x) when using Wine-Mono") which is about 'System.Security.Principal.WindowsIdentity.User' property.
Refining summary in anticipation of more dupes.
Mono sources:
https://github.com/mono/mono/blob/5e70c0b65b43f233799f3639c22a76f407240428/m...
--- snip --- [MonoTODO ("not implemented")] [ComVisible (false)] public SecurityIdentifier Owner { get { throw new NotImplementedException (); } } --- snip ---
NOTE: With native .NET Framework 4.7 installed the installer works but it needs a patch from bug 45868 ("Multiple .NET 4.x applications crash due to shell32.SHGetStockIconInfo lacking support for SHGSI_ICON flag (Windower 5 beta/FF XI tool, Affinity Designer 1.x)").
'SetupUI.log':
--- snip --- ... +ProductVersion: 1.9.1 +InstallType: Normal +Initialising main window... +Unhandled exception: + Message: Value cannot be null. Parameter name: icon + StackTrace: at System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon(IntPtr icon, Int32Rect sourceRect, BitmapSizeOptions sizeOptions) at SetupUI.Util.GetShieldIcon() at SetupUI.MainWindow..ctor() at SetupUI.App.OnStartup(StartupEventArgs e) at System.Windows.Application.<.ctor>b__0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at SetupUI.App.Main() --- snip ---
$sha1sum affinity-photo-1.9.1.exe f68d5fcd52e58a1501ab1ff7b4eb35ac8422f863 affinity-photo-1.9.1.exe
$ du -sh affinity-photo-1.9.1.exe 527M affinity-photo-1.9.1.exe
$ wine --version wine-6.3
Regards
https://bugs.winehq.org/show_bug.cgi?id=50789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://web.archive.org/web |https://web.archive.org/web |/20210310074014/https://sec |/20210310115832/https://sec |uredl.cdn.chip.de/downloads |uredl.cdn.chip.de/downloads |/54314858/affinity-photo-1. |/54314858/affinity-photo-1. |9.1.exe?cid=103235188&platf |9.1.exe |orm=chip&1615361687-1615369 | |187-f826d3-B-e27fe858a03d1f | |69658a56632e9672e0.exe= |
https://bugs.winehq.org/show_bug.cgi?id=50789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |and3md@gmail.com
--- Comment #3 from Anastasius Focht focht@gmx.net --- *** Bug 50835 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple .NET applications |Multiple .NET applications |crash with unimplemented |crash with unimplemented |'System.Security.Principal. |'System.Security.Principal. |WindowsIdentity.get_Owner' |WindowsIdentity.get_Owner' |using Wine-Mono (Affinity |using Wine-Mono (Affinity |Photo 1.9.1) |Photo 1.9.1, Pivot Animator | |4.2)
https://bugs.winehq.org/show_bug.cgi?id=50789
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |451a54bc7a77b8b816f28ad1c61 | |5745e650586ae
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commit/451a54bc7a77b8b816f28ad1c61574... ("mscoree: Update Wine Mono to 6.3.0."). Part of Wine 6.14 release.
Thanks Esme.
Wine-Mono 6.3.0 | wine-6.14
--- snip --- [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null. Parameter name: icon at System.Windows.Interop.Imaging.CreateBitmapSourceFromHIcon (System.IntPtr icon, System.Windows.Int32Rect sourceRect, System.Windows.Media.Imaging.BitmapSizeOptions sizeOptions) [0x00011] in <400af3b4c18e4bd486fafde2c27948b7>:0 at SetupUI.Util.GetShieldIcon () [0x00044] in <d5a13fa7ac63422e98d49b7ef571a683>:0 at SetupUI.MainWindow..ctor () [0x000dc] in <d5a13fa7ac63422e98d49b7ef571a683>:0 at SetupUI.App.OnStartup (System.Windows.StartupEventArgs e) [0x00282] in <d5a13fa7ac63422e98d49b7ef571a683>:0 at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <86cb770284754e778dca573709108a09>:0 --- snip ---
= different issue.
Wine-Mono 6.2.0 | wine-6.10
--- snip --- Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at System.Security.Principal.WindowsIdentity.get_Owner () [0x00000] in <db04fe9e4bca4610adf3414d35e3c1a4>:0 at SetupUI.App.OnStartup (System.Windows.StartupEventArgs e) [0x0000f] in <d5a13fa7ac63422e98d49b7ef571a683>:0 at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00014] in <f00957a6e4874da69b95b38df22f98be>:0 --- snip ---
From Wine-Mono 6.3 changelog:
https://github.com/madewokherd/wine-mono/releases/tag/wine-mono-6.3.0
--- quote --- Imported System.Security.Principal types from corefx. (Fixes https://bugs.winehq.org/show_bug.cgi?id=51213 and https://bugs.winehq.org/show_bug.cgi?id=25167) --- quote ---
Apparently this related ticket was missed in scope of the import.
$ wine --version wine-9.9
Regards
https://bugs.winehq.org/show_bug.cgi?id=50789
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.10.