AssetStudio
AssetStudio copied to clipboard
Pressing "Export options" button causes fatal error / crash when used in Wine on macOS
When using AssetStudio in Wine on macOS, pressing the "Export options" menu button causes a fatal error.
I don't know the cause of the error or which software (Wine, AssetStudio, ...) it may originate from, though obviously this doesn't occur when using AssetStudio natively in Windows.
The version of Wine used is wine-7.7 (CrossOverFOSS 22.0.1) from homebrew-wine.
Fatal error. Internal CLR error. (0x80131506)
at Interop+UxTheme.GetThemePartSize(IntPtr, HDC, Int32, Int32, RECT*, System.
Windows.Forms.VisualStyles.ThemeSizeType, System.Drawing.Size ByRef)
at Interop+UxTheme.GetThemePartSize(IHandle, HDC, Int32, Int32, RECT*, System
.Windows.Forms.VisualStyles.ThemeSizeType, System.Drawing.Size ByRef)
at System.Windows.Forms.VisualStyles.VisualStyleRenderer.GetPartSize(HDC, Sys
tem.Windows.Forms.VisualStyles.ThemeSizeType, IntPtr)
at System.Windows.Forms.CheckBoxRenderer.GetGlyphSize(HDC, System.Windows.For
ms.VisualStyles.CheckBoxState, IntPtr)
at System.Windows.Forms.ButtonInternal.CheckBoxStandardAdapter.Layout(System.
Windows.Forms.PaintEventArgs)
at System.Windows.Forms.ButtonInternal.CheckBoxStandardAdapter.GetPreferredSi
zeCore(System.Drawing.Size)
at System.Windows.Forms.ButtonBase.GetPreferredSizeCore(System.Drawing.Size)
at System.Windows.Forms.CheckBox.GetPreferredSizeCore(System.Drawing.Size)
at System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size)
at System.Windows.Forms.ButtonBase.GetPreferredSize(System.Drawing.Size)
at System.Windows.Forms.Layout.DefaultLayout.LayoutAutoSizedControls(System.W
indows.Forms.Layout.IArrangedElement)
at System.Windows.Forms.Layout.DefaultLayout.TryCalculatePreferredSize(System
.Windows.Forms.Layout.IArrangedElement, Boolean, System.Drawing.Size ByRef)
at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(System.Windows.Forms.
Layout.IArrangedElement, System.Windows.Forms.LayoutEventArgs)
at System.Windows.Forms.Control.OnLayout(System.Windows.Forms.LayoutEventArgs
)
at System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.LayoutEven
tArgs)
at System.Windows.Forms.Control.PerformLayout()
at AssetStudioGUI.ExportOptions.InitializeComponent()
at AssetStudioGUI.ExportOptions..ctor()
at AssetStudioGUI.AssetStudioGUIForm.showExpOpt_Click(System.Object, System.E
ventArgs)
at System.Windows.Forms.ToolStripMenuItem.OnClick(System.EventArgs)
at System.Windows.Forms.ToolStripItem.HandleClick(System.EventArgs)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(System.Windows.Forms.Mous
eEventArgs)
at System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventAr
gs)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.Mous
eEventArgs)
at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef,
System.Windows.Forms.MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Messag
e ByRef)
at System.Windows.Forms.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Fo
rms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, WM, IntPtr, IntPtr)
at Interop+User32.DispatchMessageW(MSG ByRef)
at Interop+User32.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.Interop.Mso.IMsoComponen
tManager.FPushMessageLoop(UIntPtr, msoloop, Void*)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(msoloop
, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(msoloop, Sys
tem.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
at AssetStudioGUI.Program.Main()
0138:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0138:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x000003ff,0000000000000000,0x0001,0x00000000,0000000000298870,0000000000000000): stub
0138:err:eventlog:ReportEventW L"Application: AssetStudioGUI.exe\nCoreCLR Version: 6.0.1222.56807\n.NET Version: 6.0.12\nDescription: The process was terminated due to an internal error in the .NET Runtime at IP 000000000101EC73 (0000000000F30000) with exit code 80131506.\n"
0138:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub
0138:fixme:seh:RaiseFailFastException (000000000029A330, 0000000000299E40, 0) stub