DanWBR / dwsim

DWSIM is a Steady-State and Dynamic Sequential Modular Chemical Process Simulator for Windows, Linux and macOS.
https://dwsim.org
GNU General Public License v3.0
296 stars 95 forks source link

DWSIM 8.4.3 crashes when opening a new project (macOS Catalina) #473

Closed syd-doyen closed 1 year ago

syd-doyen commented 1 year ago

Hi Everyone,

I installed DWSIM on my MacPro and it crashes when I start a new modelling process.

I run WSIM.app/Contents/MacOS/Launcher.exec as suggested in another post.

Below is the output.

Thanks for any hints.

Cheers, Aldo

(base) Aldos-MBP-16:Applications aldo$ DWSIM.app/Contents/MacOS/Launcher.exec Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.dll Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.Core.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.Core.dll 2023-05-21 08:00:44.885 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.Xml.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.Xml.dll 2023-05-21 08:00:44.887 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.Numerics.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.Numerics.dll Could not find System.Runtime.Serialization.Formatters.Soap referenced by assembly System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null. Could not find System.Deployment referenced by assembly Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not find System.Configuration.Install referenced by assembly System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not find Microsoft.JScript referenced by assembly System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not find System.Runtime.Remoting referenced by assembly Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. Could not find UIAutomationTypes referenced by assembly PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find System.Windows.Input.Manipulations referenced by assembly PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find UIAutomationProvider referenced by assembly PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find System.Deployment referenced by assembly PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find UIAutomationProvider referenced by assembly PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find System.Deployment referenced by assembly PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find PresentationUI referenced by assembly PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find System.Printing referenced by assembly PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find System.Printing referenced by assembly ReachFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find UIAutomationTypes referenced by assembly PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. 2023-05-21 08:00:44.961 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.Drawing.Common.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.Drawing.Common.dll 2023-05-21 08:00:44.962 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.IO.Compression.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.IO.Compression.dll 2023-05-21 08:00:44.963 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.IO.Compression.FileSystem.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.IO.Compression.FileSystem.dll 2023-05-21 08:00:44.965 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/System.Net.Http.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/System.Net.Http.dll Could not find System.Design referenced by assembly CapeOpen, Version=1.0.0.0, Culture=neutral, PublicKeyToken=90d5303f0e924b64. 2023-05-21 08:00:44.978 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Scripting.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Scripting.dll Could not find System.Numerics.Vectors referenced by assembly System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51. Could not find System.Design referenced by assembly TabStrip, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null. Could not find LibOptimization referenced by assembly DWSIM.MathOps, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. Could not find EPPlus referenced by assembly DWSIM.Thermodynamics, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. 2023-05-21 08:00:45.018 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/IronPython.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/IronPython.dll 2023-05-21 08:00:45.019 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Dynamic.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Dynamic.dll Could not find System.Runtime.Remoting referenced by assembly Microsoft.Dynamic, Version=1.2.3.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1. 2023-05-21 08:00:45.022 Launcher.exec[97547:6216058] warning: Symbol file /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Scripting.Metadata.pdb doesn't match image /Applications/DWSIM.app/Contents/MonoBundle/Microsoft.Scripting.Metadata.dll Could not find AutomaticGraphLayout referenced by assembly DWSIM.Drawing.SkiaSharp, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. Could not find System.Printing referenced by assembly GemBox.Spreadsheet, Version=39.3.30.1037, Culture=neutral, PublicKeyToken=b1b72c69714d4847. Could not find UIAutomationProvider referenced by assembly WindowsFormsIntegration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Could not find Interop.SHDocVw referenced by assembly Eto.WinForms, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null. Could not find System.Printing referenced by assembly Eto.Wpf, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null. Could not find Interop.SHDocVw referenced by assembly Eto.Wpf, Version=2.5.0.0, Culture=neutral, PublicKeyToken=null. Could not find System.Printing referenced by assembly OxyPlot.Wpf, Version=2.0.0.0, Culture=neutral, PublicKeyToken=75e952ba404cdbb0. Could not find System.Web referenced by assembly DWSIM.Thermodynamics.Databases.KDBLink, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. Could not find System.Web.Extensions referenced by assembly DWSIM.Thermodynamics.Databases.ChemeoLink, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. Could not find System.Web referenced by assembly DWSIM.Thermodynamics.Databases.ChemeoLink, Version=8.4.4.0, Culture=neutral, PublicKeyToken=null. 2023-05-21 08:00:46.264 Launcher.exec[97547:6216058] A shared NSFontManager instance <NSFontManager: 0x7fade5ebccd0> already exists. Ignoring +[NSFontManager setFontPanelFactory:]... 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] warning: cant resolve internal call to "System.Net.Sockets.Socket::Socket_icall(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&)" (tested without signature also) 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] Your mono runtime and class libraries are out of sync. 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] The out of sync library is: /Applications/DWSIM.app/Contents/MonoBundle/System.dll 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] When you update one from git you need to update, compile and install the other too. 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] If you see other errors or faults after this message they are probably related 2023-05-21 08:00:46.301 Launcher.exec[97547:6216107] and you need to fix your mono install first. 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] warning: cant resolve internal call to "System.Net.Sockets.Socket::Socket_icall(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&)" (tested without signature also) 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] Your mono runtime and class libraries are out of sync. 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] The out of sync library is: /Applications/DWSIM.app/Contents/MonoBundle/System.dll 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] When you update one from git you need to update, compile and install the other too. 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] If you see other errors or faults after this message they are probably related 2023-05-21 08:00:46.302 Launcher.exec[97547:6216107] and you need to fix your mono install first. Eto.Mac.Forms.EtoWindow System.AggregateException: One or more errors occurred. (One or more errors occurred. (Attempted to access a missing method.)) ---> System.AggregateException: One or more errors occurred. (Attempted to access a missing method.) ---> System.Net.Http.HttpRequestException: Attempted to access a missing method. ---> System.MissingMethodException: Attempted to access a missing method. at (wrapper managed-to-native) System.Net.Sockets.Socket.Socket_icall(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&) at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00040] in :0 at System.Net.Sockets.DualSocketMultipleConnectAsync..ctor (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x0000d] in :0 at System.Net.Sockets.Socket.ConnectAsync (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType, System.Net.Sockets.SocketAsyncEventArgs e) [0x00056] in :0 at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00058] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask1[TResult] creationTask) [0x000a2] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.GetByteArrayAsyncCore (System.Threading.Tasks.Task1[TResult] getTask) [0x00078] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2759 at System.Threading.Tasks.Task.Wait () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2625 at DWSIM.SharedClasses.FOSSEEFlowsheets.GetFOSSEEFlowsheets () [0x00070] in <575d14539a024114b7928d727126848b>:0 at DWSIM.UI.MainForm+<>c.<InitializeComponent>b__12_11 () [0x00000] in <1a91a41dbac34fbc8ac4aa23567fdcbd>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534 at System.Threading.Tasks.Task.Execute () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. (Attempted to access a missing method.) ---> System.Net.Http.HttpRequestException: Attempted to access a missing method. ---> System.MissingMethodException: Attempted to access a missing method. at (wrapper managed-to-native) System.Net.Sockets.Socket.Socket_icall(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&) at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00040] in :0 at System.Net.Sockets.DualSocketMultipleConnectAsync..ctor (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x0000d] in :0 at System.Net.Sockets.Socket.ConnectAsync (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType, System.Net.Sockets.SocketAsyncEventArgs e) [0x00056] in :0 at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00058] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask1[TResult] creationTask) [0x000a2] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.GetByteArrayAsyncCore (System.Threading.Tasks.Task1[TResult] getTask) [0x00078] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2759 at System.Threading.Tasks.Task.Wait () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2625 at DWSIM.SharedClasses.FOSSEEFlowsheets.GetFOSSEEFlowsheets () [0x00070] in <575d14539a024114b7928d727126848b>:0 at DWSIM.UI.MainForm+<>c.<InitializeComponent>b__12_11 () [0x00000] in <1a91a41dbac34fbc8ac4aa23567fdcbd>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534 at System.Threading.Tasks.Task.Execute () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 ---> (Inner Exception #0) System.Net.Http.HttpRequestException: Attempted to access a missing method. ---> System.MissingMethodException: Attempted to access a missing method. at (wrapper managed-to-native) System.Net.Sockets.Socket.Socket_icall(System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType,int&) at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00040] in :0 at System.Net.Sockets.DualSocketMultipleConnectAsync..ctor (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x0000d] in :0 at System.Net.Sockets.Socket.ConnectAsync (System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType, System.Net.Sockets.SocketAsyncEventArgs e) [0x00056] in :0 at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00058] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync (System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x001ac] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.CreateConnectionAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00134] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync (System.Threading.Tasks.ValueTask1[TResult] creationTask) [0x000a2] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpConnectionPool.SendWithRetryAsync (System.Net.Http.HttpRequestMessage request, System.Boolean doRequestAuth, System.Threading.CancellationToken cancellationToken) [0x00089] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.RedirectHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x000ba] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered (System.Threading.Tasks.Task1[TResult] sendTask, System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cts, System.Boolean disposeCts) [0x000b3] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 at System.Net.Http.HttpClient.GetByteArrayAsyncCore (System.Threading.Tasks.Task`1[TResult] getTask) [0x00078] in <966eb0b3e0bf4230bcc7b01ebe5f2a4d>:0 <--- <---

2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] warning: cant resolve internal call to "System.Net.Dns::GetHostByName_icall(string,string&,string[]&,string[]&,int)" (tested without signature also) 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] Your mono runtime and class libraries are out of sync. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] The out of sync library is: /Applications/DWSIM.app/Contents/MonoBundle/System.dll 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] When you update one from git you need to update, compile and install the other too. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] If you see other errors or faults after this message they are probably related 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] and you need to fix your mono install first. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] warning: cant resolve internal call to "System.Net.Dns::GetHostByName_icall(string,string&,string[]&,string[]&,int)" (tested without signature also) 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] Your mono runtime and class libraries are out of sync. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] The out of sync library is: /Applications/DWSIM.app/Contents/MonoBundle/System.dll 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] When you update one from git you need to update, compile and install the other too. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] Do not report this as a bug unless you're sure you have updated correctly: you probably have a broken mono install. 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] If you see other errors or faults after this message they are probably related 2023-05-21 08:01:23.468 Launcher.exec[97547:6216108] and you need to fix your mono install first. Error checking latest version: System.Net.WebException: Error: NameResolutionFailure at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00044] in :0 at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in :0 at System.Net.WebOperation.Run () [0x0009a] in :0 at System.Net.WebCompletionSource1[T].WaitForCompletion () [0x00094] in <f71825d3bf22422daaedeccb5a6d0a20>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in :0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in :0 at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in :0 at System.Net.WebClient.DownloadBits (System.Net.WebRequest request, System.IO.Stream writeStream) [0x000e6] in :0 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00061] in :0 at System.Net.WebClient.DownloadString (System.Uri address) [0x00011] in :0 at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString(System.Uri) at DWSIM.SharedClasses.UpdateCheck.CheckForUpdates () [0x00019] in <575d14539a024114b7928d727126848b>:0

APP CRASH!!!

System.AggregateException: One or more errors occurred. (The type initializer for 'CoolPropPINVOKE' threw an exception.) ---> System.TypeInitializationException: The type initializer for 'CoolPropPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: CoolProp at (wrapper managed-to-native) CoolPropPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_CoolProp(CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate) at CoolPropPINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in :0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.icall_wrapper_mono_generic_class_init(intptr) at CoolPropPINVOKE..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at CoolProp.get_global_param_string (System.String ParamName) [0x00000] in :0 at DWSIM.Thermodynamics.PropertyPackages.CoolPropPropertyPackage.GetListOfSupportedCompounds () [0x00001] in :0 at DWSIM.Thermodynamics.PropertyPackages.CoolPropPropertyPackage..ctor () [0x0001a] in :0 at DWSIM.FlowsheetBase.FlowsheetBase+_Closure$__176-0._Lambda$0 () [0x00000] in :0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2476 at System.Threading.Tasks.Task.Execute () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x001c9] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:4639 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:4450 at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:4373 at DWSIM.FlowsheetBase.FlowsheetBase.AddPropPacks () [0x00116] in :0 at DWSIM.FlowsheetBase.FlowsheetBase.Initialize () [0x00096] in :0 at DWSIM.UI.Forms.Flowsheet.InitializeComponent () [0x000ee] in <1a91a41dbac34fbc8ac4aa23567fdcbd>:0 at DWSIM.UI.Forms.Flowsheet..ctor () [0x00058] in <1a91a41dbac34fbc8ac4aa23567fdcbd>:0 at DWSIM.UI.MainForm+<>cDisplayClass12_0.b2 (System.Object sender, System.EventArgs e) [0x00000] in <1a91a41dbac34fbc8ac4aa23567fdcbd>:0 at Eto.PropertyStore.TriggerEvent[T] (System.Object key, System.Object sender, T args) [0x0000e] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Forms.LinkButton.OnClick (System.EventArgs e) [0x00006] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Forms.LinkButton+Callback.OnClick (Eto.Forms.LinkButton widget, System.EventArgs e) [0x0000c] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Mac.Forms.Controls.LinkButtonHandler.b21_0 (System.Object sender, Eto.Forms.MouseEventArgs e) [0x0001d] in <5970afe3335542568b2416b8242cdff2>:0 at Eto.PropertyStore.TriggerEvent[T] (System.Object key, System.Object sender, T args) [0x0000e] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Forms.Control.OnMouseDown (Eto.Forms.MouseEventArgs e) [0x00006] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Forms.Control+Callback.OnMouseDown (Eto.Forms.Control widget, Eto.Forms.MouseEventArgs e) [0x0000c] in <23bf6400f02d49eba883a8238fbdb959>:0 at Eto.Mac.Forms.MacView3[TControl,TWidget,TCallback].TriggerMouseDown (System.IntPtr sender, System.IntPtr sel, System.IntPtr e) [0x0005f] in <5970afe3335542568b2416b8242cdff2>:0 at (wrapper native-to-managed) Eto.Mac.Forms.MacView3[Eto.Mac.Forms.Controls.LinkButtonHandler+EtoLinkLabel,Eto.Forms.LinkButton,Eto.Forms.LinkButton+ICallback].TriggerMouseDown(intptr,intptr,intptr) at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[]) at AppKit.NSApplication.Main (System.String[] args) [0x00040] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/AppKit/NSApplication.cs:100 at Eto.Mac.Forms.ApplicationHandler.Run () [0x00047] in <5970afe3335542568b2416b8242cdff2>:0 at Eto.Forms.Application.Run (Eto.Forms.Form mainForm) [0x0002c] in <23bf6400f02d49eba883a8238fbdb959>:0 at DWSIM.UI.Desktop.Program.MainApp (System.String[] args) [0x00863] in <22d0aa4498484009b1b4d8253f5c14fc>:0 ---> (Inner Exception #0) System.TypeInitializationException: The type initializer for 'CoolPropPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: CoolProp at (wrapper managed-to-native) CoolPropPINVOKE+SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_CoolProp(CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate,CoolPropPINVOKE/SWIGExceptionHelper/ExceptionDelegate) at CoolPropPINVOKE+SWIGExceptionHelper..cctor () [0x000ee] in :0 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at CoolPropPINVOKE..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at CoolProp.get_global_param_string (System.String ParamName) [0x00000] in :0 at DWSIM.Thermodynamics.PropertyPackages.CoolPropPropertyPackage.GetListOfSupportedCompounds () [0x00001] in :0 at DWSIM.Thermodynamics.PropertyPackages.CoolPropPropertyPackage..ctor () [0x0001a] in :0 at DWSIM.FlowsheetBase.FlowsheetBase+_Closure$176-0._Lambda$__0 () [0x00000] in :0 at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2476 at System.Threading.Tasks.Task.Execute () [0x00000] in /Library/Frameworks/Xamarin.Mac.framework/Versions/5.14.0.110/src/Xamarin.Mac/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 <---

Segmentation fault: 11

DanWBR commented 1 year ago

@syd-doyen how about v8.4.4?

syd-doyen commented 1 year ago

Hi Dan, It also crashes with the same error.

I tried installing the latest version of mono on my Mac just to see if that could help or at least remove the error regarding mono. I'm not sure if I have to change any env variables so that the new libraries are used.

Does one need to have Visual Studio installed on the Mac for DWSIM to work?

Cheers, Aldo

DanWBR commented 1 year ago

@syd-doyen the macOS version doesn't need any extra software to work, it is a standalone app. What is your macbook model and macOS version?

syd-doyen commented 1 year ago

Hi Dan,

Details below:

MacOS: Mac OS X 10.15.7

Model: MacBookPro16,1, BootROM 1731.140.2.0.0 (iBridge: 19.16.16067.0.0,0), 8 processors, 8-Core Intel Core i9, 2.4 GHz, 32 GB, SMC Graphics: kHW_IntelUHDGraphics630Item, Intel UHD Graphics 630, spdisplays_builtin Graphics: kHW_AMDRadeonPro5500MItem, AMD Radeon Pro 5500M, spdisplays_pcie_device, 8 GB Memory Module: BANK 0/ChannelA-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, - Memory Module: BANK 2/ChannelB-DIMM0, 16 GB, DDR4, 2667 MHz, Micron, - AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x7BF), wl0: Oct 28 2020 14:13:29 version 9.30.357.42.32.5.48 FWID 01-767f6cce Bluetooth: Version 7.0.6f8, 3 services, 18 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: Hub USB Device: 3-Port USB 3.1 Hub USB Device: USB 10/100/1000 LAN USB Device: USB 3.1 Bus USB Device: Hub USB Device: Composite Device USB Device: 3-Port USB 2.1 Hub USB Device: Apple T2 Bus USB Device: Composite Device USB Device: Touch Bar Backlight USB Device: Touch Bar Display USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: Ambient Light Sensor USB Device: FaceTime HD Camera (Built-in) USB Device: Apple T2 Controller Thunderbolt Bus: MacBook Pro, Apple Inc., 55.3 Thunderbolt Bus: MacBook Pro, Apple Inc., 55.3

DanWBR commented 1 year ago

@syd-doyen almost the same config as my MB Pro has. The error doesn't make sense, as it is not finding the CoolProp library which should be there in the app bundle. Can you open DWSIM.app and explore its contents? You should find libCoolProp.dylib in the DWSIM.app/Contents/MonoBundle folder.

DanWBR commented 1 year ago

closing due to being unable to reproduce and lack of additional data.