Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Can't Run With MONO on Linux #1116

Open
xMunduSCodEx opened this issue Jan 13, 2023 · 10 comments
Open

Can't Run With MONO on Linux #1116

xMunduSCodEx opened this issue Jan 13, 2023 · 10 comments

Comments

@xMunduSCodEx
Copy link

xMunduSCodEx commented Jan 13, 2023

I can't make the Server works on Linux, tried with Kali Linux and Arch Linux, both with full wine and mono installed.
Always crash on the startup (Certificate Wizard) when I push on "CREATE" it freeze for a while then crash


`libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB
System.TypeInitializationException: The type initializer for 'Quasar.Common.Helpers.PlatformHelper' threw an exception. ---> System.NotImplementedException: The method or operation is not implemented.
  at System.Management.ManagementObjectSearcher.Get () [0x00000] in <78a82c7c9d664aec8255221b2e9794bb>:0 
  at (wrapper remoting-invoke-with-check) System.Management.ManagementObjectSearcher.Get()
  at Quasar.Common.Helpers.PlatformHelper..cctor () [0x0011e] in <2c0ab845e2ef456f86858282a45faa7b>:0 
   --- End of inner exception stack trace ---
  at Quasar.Server.Controls.AeroListView.OnHandleCreated (System.EventArgs e) [0x00007] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0021c] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.ListView.WndProc (System.Windows.Forms.Message& m) [0x00048] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <28e46de2d20c496895000ef0abfc2106>:0 
System.PlatformNotSupportedException: Operation is not supported on this platform.
  at Quasar.Server.Helper.CertificateHelper.CreateCertificateAuthority (System.String caName, System.Int32 keyStrength) [0x000e9] in <d9b1a5ca802548669f52c35b71319282>:0 
  at Quasar.Server.Forms.FrmCertificate.btnCreate_Click (System.Object sender, System.EventArgs e) [0x00000] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00011] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.ButtonBase.OnKeyUp (System.Windows.Forms.KeyEventArgs kevent) [0x00017] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00082] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00018] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00244] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00037] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <28e46de2d20c496895000ef0abfc2106>:0 
System.NullReferenceException: Object reference not set to an instance of an object
  at Quasar.Server.Forms.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00006] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.FireClosingEvents (System.Windows.Forms.CloseReason reason, System.Boolean cancel) [0x0001b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.FireClosingEvents(System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Exit () [0x00005] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x0005e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x002ff] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x001b7] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.ShowDialog () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog()
  at Quasar.Server.Forms.FrmMain.InitializeServer () [0x00012] in <d9b1a5ca802548669f52c35b71319282>:0 
  at Quasar.Server.Forms.FrmMain.FrmMain_Load (System.Object sender, System.EventArgs e) [0x00000] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x0001f] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00023] in <28e46de2d20c496895000ef0abfc2106>:0 
System.NullReferenceException: Object reference not set to an instance of an object
  at Quasar.Server.Forms.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00006] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.FireClosingEvents (System.Windows.Forms.CloseReason reason, System.Boolean cancel) [0x0001b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.FireClosingEvents(System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Exit () [0x00005] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x0005e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x0002a] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.OnCreateControl () [0x00024] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00082] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00036] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00214] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00027] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00166] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <28e46de2d20c496895000ef0abfc2106>:0 

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Quasar.Server.Forms.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00006] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.FireClosingEvents (System.Windows.Forms.CloseReason reason, System.Boolean cancel) [0x0001b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.FireClosingEvents(System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Exit () [0x00005] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x0005e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x000d5] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.WindowType windows) [0x0003d] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00521] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00009] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.CreateHandle () [0x00031] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00039] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00057] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00065] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
  at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00059] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00011] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00006] in <28e46de2d20c496895000ef0abfc2106>:0 
  at Quasar.Server.Program.Main () [0x0001a] in <d9b1a5ca802548669f52c35b71319282>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Quasar.Server.Forms.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00006] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00019] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.FireClosingEvents (System.Windows.Forms.CloseReason reason, System.Boolean cancel) [0x0001b] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.FireClosingEvents(System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x0002e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Exit () [0x00005] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x0005e] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x000d5] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, System.Windows.Forms.WindowType windows) [0x0003d] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00521] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00009] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.CreateHandle () [0x00031] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00039] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00057] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00065] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <28e46de2d20c496895000ef0abfc2106>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
  at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00059] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00011] in <28e46de2d20c496895000ef0abfc2106>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00006] in <28e46de2d20c496895000ef0abfc2106>:0 
  at Quasar.Server.Program.Main () [0x0001a] in <d9b1a5ca802548669f52c35b71319282>:0 

@xMunduSCodEx
Copy link
Author

On arch linux running with wine I get followin .NET Framework Unhandlede Exception:


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.PlatformNotSupportedException: Operation is not supported on this platform.
  at Quasar.Server.Helper.CertificateHelper.CreateCertificateAuthority (System.String caName, System.Int32 keyStrength) [0x000e9] in <d9b1a5ca802548669f52c35b71319282>:0 
  at Quasar.Server.Forms.FrmCertificate.btnCreate_Click (System.Object sender, System.EventArgs e) [0x00000] in <d9b1a5ca802548669f52c35b71319282>: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:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nQuasar\n    Assembly Version: 1.4.0.0\n    Win32 Version: 1.4.0\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/Quasar.exe\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/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.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/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:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nQuasar.Common\n    Assembly Version: 1.4.0.0\n    Win32 Version: 1.4.0\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/Quasar.Common.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nI18N\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll\n----------------------------------------\nI18N.West\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll\n----------------------------------------\nSystem.Management\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll\n----------------------------------------\nBouncyCastle.Crypto\n    Assembly Version: 1.8.6.0\n    Win32 Version: 1.8.6.7\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/BouncyCastle.Crypto.dll\n----------------------------------------\nMono.Security\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll\n----------------------------------------\n\n************** JIT Debugging **************\n

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.NullReferenceException: Object reference not set to an instance of an object
  at Quasar.Server.Forms.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) [0x00006] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x0001f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.RaiseFormClosingOnAppExit () [0x000ad] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.RaiseFormClosingOnAppExit()
  at System.Windows.Forms.Application.ExitInternal () [0x0005b] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Application+ThreadContext.OnThreadException (System.Exception t) [0x00087] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00006] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.WndProcException (System.Exception e) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.WndProcException(System.Exception)
  at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException (System.Exception e) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x0003f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.NativeWindow.Callback(System.Windows.Forms.Message&)
  at System.Windows.Forms.NativeWindowProc.Callback (System.IntPtr hWnd, System.Int32 msg, System.IntPtr wparam, System.IntPtr lparam) [0x00037] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper native-to-managed) System.Windows.Forms.NativeWindowProc.Callback(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods/MSG&)
  at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (System.IntPtr dwComponentID, System.Int32 reason, System.Int32 pvLoopData) [0x001d7] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x00282] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Application+ThreadContext.RunMessageLoop (System.Int32 reason, System.Windows.Forms.ApplicationContext context) [0x0001a] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Application+ThreadContext.RunMessageLoop(int,System.Windows.Forms.ApplicationContext)
  at System.Windows.Forms.Application.RunDialog (System.Windows.Forms.Form form) [0x0000d] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x0027b] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.ShowDialog () [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.ShowDialog()
  at Quasar.Server.Forms.FrmMain.InitializeServer () [0x00012] in <d9b1a5ca802548669f52c35b71319282>:0 
  at Quasar.Server.Forms.FrmMain.FrmMain_Load (System.Object sender, System.EventArgs e) [0x00000] in <d9b1a5ca802548669f52c35b71319282>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x000d1] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.OnCreateControl () [0x00031] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x000ed] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00008] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00051] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0071b] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0001a] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.WmShowWindow (System.Windows.Forms.Message& m) [0x00013] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00290] 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:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nQuasar\n    Assembly Version: 1.4.0.0\n    Win32 Version: 1.4.0\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/Quasar.exe\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/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.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/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:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nQuasar.Common\n    Assembly Version: 1.4.0.0\n    Win32 Version: 1.4.0\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/Quasar.Common.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nI18N\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll\n----------------------------------------\nI18N.West\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll\n----------------------------------------\nSystem.Management\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/System.Management/4.0.0.0__b03f5f7f11d50a3a/System.Management.dll\n----------------------------------------\nBouncyCastle.Crypto\n    Assembly Version: 1.8.6.0\n    Win32 Version: 1.8.6.7\n    CodeBase: file:///Z:/home/crashinside/Desktop/crashinside/tools/Quasar%20v1.4.0/BouncyCastle.Crypto.dll\n----------------------------------------\nMono.Security\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///Z:/usr/share/wine/mono/wine-mono-7.4.0/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll\n----------------------------------------\n\n************** JIT Debugging **************\n


@edcdecl
Copy link

edcdecl commented Jan 13, 2023

it literally says that the platform isn't implemented

@xMunduSCodEx
Copy link
Author

Screenshot_31

@edcdecl
Copy link

edcdecl commented Jan 14, 2023

that doesn't help at all. just don't use quasar on linux

@xMunduSCodEx
Copy link
Author

I'm sharing just for information as I tried on 4 different Linux Distro and no one is working, anyway tha'ts fine I will not use on Linux if ever a fix will show up I'll reconsider to use it . thanks to everybody :-)

@edcdecl
Copy link

edcdecl commented Jan 14, 2023

i haven't actually read the source code to quasar but i think .NET can tell if you're using linux, which is why it throws PlatformNotSupportedException or whatever.
also i apologize if i come off as aggressive i don't mean to be.

@xMunduSCodEx
Copy link
Author

Hi Erick, no absolutely I haven't felt any aggresive from you :-)) I appreciate for your time sharing your thoughts if I come up with a solution I'll share it here

@BurntDog
Copy link

BurntDog commented Jan 14, 2023

Never design for Linux and wine is very limited. Plenty of good open source Linux out there.

@MaxXor
Copy link
Contributor

MaxXor commented Feb 11, 2023

I'm not sure about this one, Quasar server used to work on Mono before, the client never did. In the screenshot you posted it seems like BouncyCastle has a problem generating the certificate on Mono.

@MaxXor
Copy link
Contributor

MaxXor commented Feb 11, 2023

I think this might be the reason:

using (var searcher = new ManagementObjectSearcher("SELECT Caption FROM Win32_OperatingSystem"))
{
foreach (ManagementObject os in searcher.Get())
{
Name = os["Caption"].ToString();
break;
}
}

If you remove these lines and compile it, does it work @xMunduSCodEx ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants