Hard crash when looking at connection properties

Hard crash when looking at connection properties

avatar

If I have 6 or more sessions open and I try to look at the properties for a connection (open or not) the program crashes. The more sessions that are open, the more prone it is to crashing. I've experienced this with 32 and 64 bit versions of the software. This is what I find in the event logs:
Faulting application name: RemoteDesktopManager64.exe, version: 10.1.9.0, time stamp: 0x54d3c14b
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xc000041d
Fault offset: 0x0000000000008b9c
Faulting process id: 0xcb4
Faulting application start time: 0x01d05e8dd34e10a5
Faulting application path: C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: a8e208e3-cb1f-11e4-80bb-0024e87541bf
Faulting package full name:
Faulting package-relative application ID:

All Comments (10)

avatar

David Hervieux

avatar

It takes longer for it to crash than it did before, but it still crashes.


Faulting application name: RemoteDesktopManager64.exe, version: 10.5.0.0, time stamp: 0x5519e4cf
Faulting module name: mscorlib.ni.dll, version: 4.0.30319.34209, time stamp: 0x53489fcf
Exception code: 0xc0000005
Fault offset: 0x00000000004ae294
Faulting process id: 0x2768
Faulting application start time: 0x01d06d0d49db667c
Faulting application path: C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\fc9860df7e7c03efd26ad5311301dfcb\mscorlib.ni.dll
Report Id: 50f8a4c6-d90d-11e4-8145-60a44c5226b2
Faulting package full name:
Faulting package-relative application ID:


AND:


Application: RemoteDesktopManager64.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at System.String.wcslen(Char*)
at System.String.CtorCharPtr(Char*)
at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr)
at Devolutions.RemoteDesktopManager.Managers.WindowsCredentialManager.GetTarget(System.String)
at Devolutions.RemoteDesktopManager.Managers.WindowsCredentialManager.TargetNameExists(System.String)
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreRemoteDesktopConnectionSettings.c561d8b199603e13e89e94afdba14a2c1()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreRemoteDesktopConnectionSettings.SetControlStates()
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(System.EventArgs)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32)
at Devolutions.RemoteDesktopManager.Business.ComboBoxEnumHelper.SetValue[[Devolutions.RemoteDesktopManager.ScreenSize, RemoteDesktopManager.Business, Version=10.5.0.0, Culture=neutral, PublicKeyToken=null]](System.Windows.Forms.ComboBox, Devolutions.RemoteDesktopManager.ScreenSize)
at Devolutions.RemoteDesktopManager.Business.ComboBoxEnumHelper.Load[[Devolutions.RemoteDesktopManager.ScreenSize, RemoteDesktopManager.Business, Version=10.5.0.0, Culture=neutral, PublicKeyToken=null]](System.Windows.Forms.ComboBox, Devolutions.RemoteDesktopManager.ScreenSize, Devolutions.RemoteDesktopManager.ScreenSize[])
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreRemoteDesktopConnectionSettings.c0b11b8d406681aa28c93a8b42b9945f1()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreRemoteDesktopConnectionSettings.DoInitializeComponent()
at Devolutions.RemoteDesktopManager.Frames.FreBase.c86d934d755ca13d69271faed35eef974()
at Devolutions.RemoteDesktopManager.Frames.ConnectionSettings.FreBaseConnectionSettings..ctor(Devolutions.RemoteDesktopManager.ConnectionEditMode, Devolutions.RemoteDesktopManager.Business.ConnectionTypeDescriptor)
at Devolutions.RemoteDesktopManager.Business.RDPConnectionTypeDescriptor.CreateFrameConnectionSettings(Devolutions.RemoteDesktopManager.ConnectionEditMode)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.c7e9911698d4a5e79a26cd09891d405d0(Devolutions.RemoteDesktopManager.ConnectionType, System.String, Devolutions.RemoteDesktopManager.Frames.FreConnectionTypeSelection)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.LoadConnectionInControls(Devolutions.RemoteDesktopManager.Business.Connection)
at Devolutions.RemoteDesktopManager.Forms.FrmConnection.cd010602130da8ffa095e72f712cf3d19(System.Object, System.EventArgs)
at System.Windows.Forms.Form.OnLoad(System.EventArgs)
at Devolutions.RemoteDesktopManager.Forms.FrmBase.OnLoad(System.EventArgs)
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
at System.Windows.Forms.SafeNativeMethods.ShowWindow(System.Runtime.InteropServices.HandleRef, Int32)
at System.Windows.Forms.Control.SetVisibleCore(Boolean)
at System.Windows.Forms.Form.SetVisibleCore(Boolean)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at Devolutions.RemoteDesktopManager.Managers.ActionManager.EditConnection(Devolutions.RemoteDesktopManager.IConnectionSource)
at Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.cd94813672b0ecea85dc17deccf3b307e(System.Object, System.EventArgs)
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.MouseEventArgs)
at System.Windows.Forms.ToolStrip.OnMouseUp(System.Windows.Forms.MouseEventArgs)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(System.Windows.Forms.MouseEventArgs)
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.ToolStrip.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ToolStripDropDown.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at Devolutions.RemoteDesktopManager.Program.Main(System.String[])
edited by neal@global411.com on 4/2/2015

avatar

Hi,
I have not explanation why this Windows API call fails but I've made an internal fix as workaround. This should be in the next version.

Regards

David Hervieux

avatar

I'm expiring the exact same problem. Is there a solution available for this problem?

Faulting application name: RemoteDesktopManager64.exe, version: 10.5.4.0, time stamp: 0x55287162
Faulting module name: mscorlib.ni.dll, version: 4.0.30319.34209, time stamp: 0x53489fcf
Exception code: 0xc0000005
Fault offset: 0x00000000004ae294
Faulting process id: 0x3478
Faulting application start time: 0x01d092be78869385
Faulting application path: C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager64.exe
Faulting module path: C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\fc9860df7e7c03efd26ad5311301dfcb\mscorlib.ni.dll
Report Id: 7b6e4d80-0076-11e5-80d6-00155d0aee00
Faulting package full name:
Faulting package-relative application ID:

Regards
Kent Ås

avatar

Could you give a try to RDM beta to see if it still happen?

http://remotedesktopmanager.com/Home/Download#beta

David Hervieux

avatar

Hi again,
I think that I've found a workaround this avoid this issue. This will be in the next beta release.

David Hervieux

avatar

What was the workaround, as I am also getting this issue? My WPF application is crashing and spitting out same.

avatar

@Shahzad

What is your issue exactly?

What version of RDM are you running?

What type of data source are you using?

Best regards,

Jeff Dagenais

avatar

@Jean, thanks for asking.

1. My WPF application crash right after some minutes of activity, and it spit out same in event log. This only happen, when I connect to a remote machine using RDM (windows remote desktop, or Terminal). It is totally random; doesn't have any relation with memory, or processing, or overloading machine. Adding unhandled exception block, I am getting exception inside that but is only on remote desktop & asked this question here to avoid hit-n-try for tracing of exception.

2. I am using standard Remote desktop software of windows 7, and Terminal 3.6.1.

3. ADO.Net

avatar

@Shahzad,

ADO.Net is not a data source that you can use in our product.

Do you have Remote Desktop Manager installed on your computer (http://remotedesktopmanager.com/)?

Please post a print screen of your Help -> About window.

Best regards,

Jeff Dagenais