contextnerror / ICC-Mac

Unofficial wineskin for Ice Cream Calculator
9 stars 0 forks source link

MAC M1 compatibility #2

Open albertostefanelli opened 1 year ago

albertostefanelli commented 1 year ago

On my Mac M1, the latest versions of Ice Cream Calculator are completely unusable and unstable. Most of the functions in the app make the app crash. Using a native Wine installation does not solve the problem. Nor playing around with the wineskin settings. The latest app that is "fully" functional on M1 is version 2.10.

This is the log of using the "replace" function. Similar execution problems arise using other functions in the Ice Cream Calculator.


See the end of this message for details on invoking \njust-in-time (JIT) debugging instead of this dialog box.\n\n************** Exception Text **************\nSystem.ArgumentException: File format is not valid.
  at System.Windows.Forms.RichTextBox.StreamIn (System.IO.Stream data, System.Int32 flags) [0x000a2] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.RichTextBox.StreamIn (System.String str, System.Int32 flags) [0x000c6] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.RichTextBox.set_Rtf (System.String value) [0x00030] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.RichTextBox.set_Rtf(string)
  at IceCreamCalculator.Form1.RtfToText (System.String rtf) [0x00006] in <8d676d454cbb4ff7bd204f77f5329205>:0 
  at IceCreamCalculator.Form1.R () [0x00000] in <8d676d454cbb4ff7bd204f77f5329205>:0 
  at IceCreamCalculator.Form1.i () [0x00050] in <8d676d454cbb4ff7bd204f77f5329205>:0 
  at IceCreamCalculator.Form1.j (System.Object , System.EventArgs ) [0x000e3] in <8d676d454cbb4ff7bd204f77f5329205>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x0001f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00037] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x0009a] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.WmMouseUp (System.Windows.Forms.Message& m, System.Windows.Forms.MouseButtons button, System.Int32 clicks) [0x001c3] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x005a0] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x0011f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00056] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <d22f8be2dd674c49bd49b314423240b8>:0 

\n************** Loaded Assemblies **************\nmscorlib\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nIceCreamCalculator\n    Assembly Version: 1.0.0.0\n    Win32 Version: 1.0.0.0\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/IceCreamCalculator.exe\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\n----------------------------------------\nAccessibility\n    Assembly Version: 4.0.0.0\n    Win32 Version: \n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nSystem.Windows.Forms.DataVisualization\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Windows.Forms.DataVisualization/4.0.0.0__31bf3856ad364e35/System.Windows.Forms.DataVisualization.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nMySqlConnector\n    Assembly Version: 2.0.0.0\n    Win32 Version: 2.1.12.0\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/MySqlConnector.dll\n----------------------------------------\nSystem.Data\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Data/4.0.0.0__b77a5c561934e089/System.Data.dll\n----------------------------------------\nSystem.Transactions\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Transactions/4.0.0.0__b77a5c561934e089/System.Transactions.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nSystem.Diagnostics.DiagnosticSource\n    Assembly Version: 6.0.0.0\n    Win32 Version: 6.0.21.52210\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Diagnostics.DiagnosticSource.dll\n----------------------------------------\nSystem.Threading.Tasks.Extensions\n    Assembly Version: 4.2.0.1\n    Win32 Version: 4.6.28619.01\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Threading.Tasks.Extensions.dll\n----------------------------------------\nSystem.Runtime.CompilerServices.Unsafe\n    Assembly Version: 6.0.0.0\n    Win32 Version: 6.0.21.52210\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Runtime.CompilerServices.Unsafe.dll\n----------------------------------------\nSystem.Memory\n    Assembly Version: 4.0.1.2\n    Win32 Version: 4.6.31308.01\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Memory.dll\n----------------------------------------\nMono.Security\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll\n----------------------------------------\nSystem.Buffers\n    Assembly Version: 4.0.3.0\n    Win32 Version: 4.6.28619.01\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Buffers.dll\n----------------------------------------\nSystem.Numerics\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll\n----------------------------------------\nSystem.Core\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll\n----------------------------------------\nSystem.IO.Compression\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.IO.Compression/4.0.0.0__b77a5c561934e089/System.IO.Compression.dll\n----------------------------------------\nSystem.IO.Compression.FileSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/Users/serg/Downloads/ICC-3.04%202/IceCreamCalculator.app/Contents/SharedSupport/wine/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.IO.Compression.FileSystem/4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll\n----------------------------------------\nSystem.Data.SQLite\n    Assembly Version: 1.0.116.0\n    Win32 Version: 1.0.116.0\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Data.SQLite.dll\n----------------------------------------\nSystem.Numerics.Vectors\n    Assembly Version: 4.1.4.0\n    Win32 Version: 4.6.26515.06\n    CodeBase: file:///C:/Program%20Files%20(x86)/Ice%20cream%20calculator/System.Numerics.Vectors.dll\n----------------------------------------\nMicrosoft.GeneratedCode\n    Assembly Version: 1.0.0.0\n    Win32 Version: n/a\n    CodeBase: \n----------------------------------------\n\n************** JIT Debugging **************\n

This issue has been open mostly for documentation purposes.

contextnerror commented 1 year ago

Oh dear, that's not good. For curiosity's sake, does the free trial of Crosover work any better?

albertostefanelli commented 1 year ago

Crossover actually works very well on Mac M1. Thanks for the suggestion. Tried both 2.10 and 3.5. I thought crossover was a wrap around wine but it must fix something with the M1 integration layer. I will keep this open but feel free to close the issue if you think it is better.