RDM Crashing with c0000005

avatar

I have been running into an issue where RDM will randomly crashing with the following error:

Description:
Faulting application name: RemoteDesktopManager.exe, 
version: 2026.1.23.0, 
time stamp: 0x68270000 
Faulting module name: unknown, 
version: 0.0.0.0, 
time stamp: 0x00000000 
Exception code: 0xc0000005
 Fault offset: 0x00007ff97ae607f5 
Faulting process id: 0xB128 
Faulting application start time: 0x1DCF5AB6AB10794 
Faulting application path: C:\Program Files\Devolutions\Remote Desktop Manager\RemoteDesktopManager.exe 
Faulting module path: unknown Report Id: 64a43909-0b43-4046-9ee0-6d6317cfd08e
Faulting package full name: Faulting package-relative application ID:


I enabled crash dumps for the Remote Desktop Manager process and looking at it in windbg shows the following:

ClrmaManagedAnalysis::GetThread 8a24
ClrmaThread::Initialize 8a24
~ClrmaThread
ClrmaManagedAnalysis::get_ProviderName
ClrmaManagedAnalysis::GetThread ffffffff
ClrmaThread::Initialize 8a24
ClrmaThread::get_CurrentException
~ClrmaException
ClrmaThread::get_NestedExceptionCount
~ClrmaThread
MethodDesc:   00007ff96ec6adf0
Method Name:          System.Runtime.CompilerServices.CastHelpers.ChkCastClassSpecial(Void*, System.Object)
Class:                00007ff96ec6b0b0
MethodTable:          00007ff96ec6b0b0
mdToken:              0000000006008099
Module:               00007ff96eb74000
IsJitted:             yes
Current CodeAddr:     00007ff97ae607e0
Version History:
  ILCodeVersion:      0000000000000000
  ReJIT ID:           0
  IL Addr:            00007ff9c29d4bd0
     CodeAddr:           00007ff97a2c3600  (OptimizedTier1 + Instrumented)
     NativeCodeVersion:  0000020C551DFA30
     CodeAddr:           00007ff97ae607e0  (OptimizedTier1)
     NativeCodeVersion:  0000020C558B2C00
     CodeAddr:           00007ff9c24b6460  (ReadyToRun)
     NativeCodeVersion:  0000000000000000
Source file:  /_/src/runtime/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs @ 369
ClrmaManagedAnalysis::GetThread ffffffff
ClrmaThread::Initialize 8a24
ClrmaThread::get_CurrentException
ClrmaException::Initialize 0000020c6b800190
~ClrmaException
~ClrmaThread

PROCESS_NAME:  RemoteDesktopManager.dll
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.
SYMBOL_NAME:  coreclr!WatsonLastChance+1b6
MODULE_NAME: coreclr
IMAGE_NAME:  coreclr.dll
FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_coreclr.dll!WatsonLastChance
FAILURE_ID_HASH:  {02278b9d-5c98-a887-c517-87862641b6f2}
Followup:     MachineOwner


Running !clrstack shows the following:

OS Thread Id: 0x8a24 (36)
        Child SP               IP Call Site
00000011D8C3C450 00007ffa37390318 [InlinedCallFrame: 00000011d8c3c450] 
00000011D8C3C450 00007ff9c248a416 [InlinedCallFrame: 00000011d8c3c450] 
00000011D8C3C3F0 00007ff9c248a416 System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef) [/_/src/runtime/src/coreclr/nativeaot/Runtime.Base/src/System/Runtime/ExceptionHandling.cs @ 760]
00000011D8C3C660 00007ff9ce8a8933 [FaultingExceptionFrame: 00000011d8c3c660] 
00000011D8C3E988 00007ff97ae607f5 System.Runtime.CompilerServices.CastHelpers.ChkCastClassSpecial(Void*, System.Object) [/_/src/runtime/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs @ 369]
00000011D8C3E990 00007ff9710592c2 MicroCom.Runtime.MicroComVtblBase.AddRef(MicroCom.Runtime.Ccw*)
00000011D8C3F688 00007ffa39e68167 [InlinedCallFrame: 00000011d8c3f688] Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
00000011D8C3F688 00007ff97105bf97 [InlinedCallFrame: 00000011d8c3f688] Avalonia.Win32.Interop.UnmanagedMethods.GetMessage(MSG ByRef, IntPtr, UInt32, UInt32)
00000011D8C3F660 00007ff97105bf97 ILStubClass.IL_STUB_PInvoke(MSG ByRef, IntPtr, UInt32, UInt32)
00000011D8C3F720 0000020c595e7799 Avalonia.Win32.WinRT.Composition.WinUiCompositorConnection.RunLoop()
00000011D8C3F800 0000020c59611a52 Avalonia.Win32.WinRT.Composition.WinUiCompositorConnection+c__DisplayClass7_0.b__0()
00000011D8C3F850 00007ff9c243595b System.Threading.Thread+StartHelper.Callback(System.Object) [/_/src/runtime/src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs @ 44]
00000011D8C3F890 00007ff9c243ce94 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) [/_/src/runtime/src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs @ 179]
00000011D8C3FB10 00007ff9ce8a8933 [DebuggerU2MCatchHandlerFrame: 00000011d8c3fb10] 


Happy to provide the .dmp files if it helps.

All Comments (0)

Ends in 6 days