HW platform: Fujitsu S935 - 12GB - 500GBHD
Operating system - Windows 7 x64 Pro
.NET version 4.6.1
mRemoteNG version 1.74.6023.15437
App crashes while VNC connection tab is open, redirected thru SSH connection to KVM virtual host.
SSH connection is in tab aswell.
Very random appearance, unable to reproduce it.
Le informazioni su come richiamare il debug JIT (Just-In-Time) anzich茅 questa finestra
sono riportate in fondo al messaggio.
*** Testo dell'eccezione ***
System.NotImplementedException: RemoteDesktop in unknown State: Disconnecting.
in VncSharp.RemoteDesktop.OnPaint(PaintEventArgs pe)
in System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
in System.Windows.Forms.Control.WmPaint(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in VncSharp.RemoteDesktop.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
*** Assembly caricati ***
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
mRemoteNG
Versione assembly: 1.74.6023.15437
Versione Win32: 1.74.6023.15437
System
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
log4net
Versione assembly: 1.2.15.0
Versione Win32: 1.2.15.0
System.Management
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
WeifenLuo.WinFormsUI.Docking
Versione assembly: 2.9.0.0
Versione Win32: 2.9.0.0
WeifenLuo.WinFormsUI.Docking.ThemeVS2012Light
Versione assembly: 2.9.0.0
Versione Win32: 2.9.0.0
mRemoteNG.resources
Versione assembly: 1.74.6023.15437
Versione Win32: 1.74.6023.15437
System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
MagicLibrary
Versione assembly: 1.7.4.0
Versione Win32: 1.7.4.0
WindowsBase
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.Web
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
System.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.6.1055.0 built by: NETFXREL2
VncSharpNG
Versione assembly: 1.3.4896.25007
Versione Win32: 1.3.4896.25007
AxInterop.MSTSCLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
Interop.MSTSCLib
Versione assembly: 1.0.0.0
Versione Win32: 1.0.0.0
*** Debug JIT ***
Per abilitare il debug JIT, 猫 necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.
Ad esempio:
Quando il debug JIT 猫 abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anzich茅 essere gestite da questa finestra di dialogo.
Please see the troubleshooting and logging page and provide the information (logs and dumps) as noted.
Give this one a whirl...
Code can be viewed here: https://github.com/mRemoteNG/VncSharp/commit/2b94fe6a635e52cd1d6628314b905d146a99756a
VncSharp.zip
@milanraf - any chance to test that binary? Did this resolve the problem?
Downloaded VncSharp.zip
Unzipped VncSharp.dll in C:\Program Files (x86)\mRemoteNG
Renamed VncSharpNG.dll to VncSharpNG_OLD.dll
Renamed VncSharp.dll to VncSharpNG.dll
Assembly does not load:
ERROR- Opening connection failed!
Could not load file or assembly 'VncSharpNG, Version=1.3.4896.25007, Culture=neutral, PublicKeyToken=61974755c7bfea7c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Hope I've done it right....
@milanraf
Sorry... VncSharpNG was replaced with the standard "upstream" VncSharp library - trying to continue to contribute to other used Open Source projects where we can. This was done after the 1.74 release. So you'll need the latest 1.75 Alpha 3 in order to test that binary. They have been quite stable. Maybe try with the portable version so you don't impact your current installation?
@milanraf
Are you able to try to test this in the current beta?
You can test this by running the portable version. Be sure to COPY your current confCons.xml into the extracted beta 1 portable directory, then replace the vncsharp.dll that I previously attached.
If you can validate this, then I can get the fix into beta 2.
Tested with 1.75.6068.25511 with similar results.
I'm now almost able to reproduce the crash.
When VNC server crashes or is terminated, most of times VNC client in mRemote hangs pushing mRemote to crash.
More rarely a VNC server crash/kill just makes connection drop with no immediate effects but mRemote could crash within 1 hour.
Log file is always 0 bytes...
@milanraf Sorry for the delay on this...
Are you able to test this with the latest 1.75 beta 3 and the previously provided vncsharp.dll? If you are still expierening crashes with that combination, could you please provide me with the stack trace from the error/crash/event log message?
Thanks.
This requires further testing and validation. Not included in 1.75. Re-targeting for 1.76.
Sorry, it is not clear whether I should test it with current beta or wait for 1.76.
Fixed in commit d5d4fdefc8f7fa3be84afd3e2956f22f455c6358
Will be included in 1.76