Mstscax.dll on Windows Server 2022

Hello,

I have an issue, I have 4 servers, 2 on Windows Server 2019, 2 on Windows Server 2022.
On the 2022, the OpenRPA.RDService stops working after a restart and doesn’t come back (and the HD Robots neither). I have an Error message in the Event Viewer, it seems to be due to a mstscax.dll (version 10.0.20348.2400).
I don’t have the same issue with the 2019 (mstscax.dll, version 10.0.17763.5696).

Does anyone have a workaround, or a solution?

Regards

Eric

Can you send the full error message?

Yes:

“Nom de l’application défaillante OpenRPA.RDService.exe, version : 1.0.18.0, horodatage : 0xcf314879
Nom du module défaillant : mstscax.dll, version : 10.0.20348.2400, horodatage : 0xf67d9b1a
Code d’exception : 0xc0000409
Décalage d’erreur : 0x0000000000003b0a
ID du processus défaillant : 0x7498
Heure de début de l’application défaillante : 0x01daa5d61abbccbb
Chemin d’accès de l’application défaillante : C:\Program Files\OpenRPA\OpenRPA.RDService.exe
Chemin d’accès du module défaillant: C:\Windows\system32\mstscax.dll
ID de rapport : 6fdd141e-5998-4902-bc23-8b16629576a9
Nom complet du package défaillant :
ID de l’application relative au package défaillant :
XML de l’événement :



1000
0
2
100
0
0x80000000000000

25633


Application
XXXXX



OpenRPA.RDService.exe
1.0.18.0
cf314879
mstscax.dll
10.0.20348.2400
f67d9b1a
c0000409
0000000000003b0a
7498
01daa5d61abbccbb
C:\Program Files\OpenRPA\OpenRPA.RDService.exe
C:\Windows\system32\mstscax.dll
6fdd141e-5998-4902-bc23-8b16629576a9





Could you please check if there is an event right before or right after, that contains a stack trace ?
this error is a generic dr watson message that is not useful for me

and if not, then please follow the guide here, on how to create a memory dump

The issue is not with the OpenRpa but with the OpenRPA.RDService

I have this Report.wer:
Version=1
EventType=BEX64
EventTime=133601478456202402
ReportType=2
Consent=1
UploadTime=133601478482512431
ReportStatus=268435456
ReportIdentifier=3d71944f-f8fe-4555-8260-376615fcc5ce
IntegratorReportIdentifier=1802f1b9-cac7-4868-8421-7bac22c85aed
Wow64Host=34404
NsAppName=OpenRPA.RDService.exe
OriginalFilename=OpenRPA.RDService.exe
AppSessionGuid=00006620-0000-000c-812e-ec34d6a5da01
TargetAppId=W:00003605a7fd139961590fa1f9ef9781e25000000904!0000f1ad68de1e04f607cea5c58f73f2042369d4a763!OpenRPA.RDService.exe
TargetAppVer=2080//02//25:19:05:29!0!OpenRPA.RDService.exe
BootId=4294967295
ServiceSplit=1485640384
TargetAsId=1584
IsFatal=1
EtwNonCollectReason=1
Response.BucketId=ec19e79779112b46c5623a6703d0902c
Response.BucketTable=5
Response.LegacyBucketId=1540858236634173484
Response.type=4
Sig[0].Name=Nom de l’application
Sig[0].Value=OpenRPA.RDService.exe
Sig[1].Name=Version de l’application
Sig[1].Value=1.0.18.0
Sig[2].Name=Horodatage de l’application
Sig[2].Value=cf314879
Sig[3].Name=Nom du module défaillant
Sig[3].Value=mstscax.dll
Sig[4].Name=Version du module défaillant
Sig[4].Value=10.0.20348.2400
Sig[5].Name=Horodateur du module défaillant
Sig[5].Value=f67d9b1a
Sig[6].Name=Décalage de l’exception
Sig[6].Value=0000000000003b0a
Sig[7].Name=Code de l’exception
Sig[7].Value=c0000409
Sig[8].Name=Données d’exception
Sig[8].Value=0000000000000005
DynamicSig[1].Name=Version du système
DynamicSig[1].Value=10.0.20348.2.0.0.144.8
DynamicSig[2].Name=Identificateur de paramètres régionaux
DynamicSig[2].Value=1036
DynamicSig[22].Name=Information supplémentaire n° 1
DynamicSig[22].Value=fb31
DynamicSig[23].Name=Information supplémentaire n° 2
DynamicSig[23].Value=fb314b0224e895b0caec3170212245a2
DynamicSig[24].Name=Information supplémentaire n° 3
DynamicSig[24].Value=2d31
DynamicSig[25].Name=Information supplémentaire n° 4
DynamicSig[25].Value=2d3147bb513179f67ae0de9cabd4ad07
UI[2]=C:\Program Files\OpenRPA\OpenRPA.RDService.exe
UI[5]=Fermer
UI[8]=OpenRPA.RDService a cessé de fonctionner et a été arrêté
UI[9]=Un problème est à l’origine du dysfonctionnement de cette application. Windows vous préviendra si une solution est disponible.
UI[10]=&Fermer
State[0].Key=Transport.DoneStage1
State[0].Value=1
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=20348
OsInfo[3].Key=ubr
OsInfo[3].Value=2402
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=1036
OsInfo[7].Key=geoid
OsInfo[7].Value=84
OsInfo[8].Key=sku
OsInfo[8].Value=8
OsInfo[9].Key=domain
OsInfo[9].Value=1
OsInfo[10].Key=prodsuite
OsInfo[10].Value=144
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=3
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=222666273
OsInfo[15].Key=osinsty
OsInfo[15].Value=2
OsInfo[16].Key=iever
OsInfo[16].Value=11.1.20348.0-11.0.1000
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=65536
OsInfo[19].Key=svolsz
OsInfo[19].Value=119
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=210507
OsInfo[22].Key=bldtm
OsInfo[22].Value=1500
OsInfo[23].Key=bldbrch
OsInfo[23].Value=fe_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.20348.2402.amd64fre.fe_release.210507-1500
OsInfo[30].Key=buildflightid
OsInfo[31].Key=edition
OsInfo[31].Value=ServerDatacenter
OsInfo[32].Key=ring
OsInfo[32].Value=Retail
OsInfo[33].Key=expid
OsInfo[34].Key=fconid
OsInfo[34].Value=19193644,0,2,0;35681102,0,1,0
OsInfo[35].Key=containerid
OsInfo[36].Key=containertype
OsInfo[37].Key=edu
OsInfo[37].Value=0
OsInfo[38].Key=servicinginprogress
OsInfo[38].Value=0
FriendlyEventName=Fonctionnement arrêté
ConsentKey=BEX64
AppName=OpenRPA.RDService
AppPath=C:\Program Files\OpenRPA\OpenRPA.RDService.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=90A1A7791F9D3856C6EDA5DB79AA1E89
MetadataHash=363281168

please read the link i posted, it explain what to look for in the event log, and if not found, how to enable memory dumps in windows.

Hello,

I’ve done the dump and I have this in the dmp file:

************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true

EnableRedirectToV8JsProvider : false

– Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true

Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.109 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 41

Microsoft (R) Windows Debugger Version 10.0.27553.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Users\eric.dupouy\Documents\Wisebotv2\Issue mstscax.dll\Dumps\OpenRPA.RDService.exe.11664.dmp]
User Mini Dump File with Full Memory: Only application data is available

Symbol search path is: srv*
Executable search path is:
Windows 10 Version 20348 MP (24 procs) Free x64
Product: Server, suite: TerminalServer DataCenter
Edition build lab: 20348.1.amd64fre.fe_release.210507-1500
Debug session time: Tue May 14 12:03:31.000 2024 (UTC + 2:00)
System Uptime: 0 days 0:11:32.179
Process Uptime: 0 days 0:00:13.000



Loading unloaded module list

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(2d90.4780): Security check failure or stack buffer overrun - code c0000409 (first/second chance not available)
Subcode: 0x5 FAST_FAIL_INVALID_ARG
For analysis of this file, run !analyze -v
mstscax!TraceLoggingRegisterEx_EventRegister_EventSetInformation+0x3e:
00007ffe`5a1d3b0a cd29 int 29h
0:047> !analyze -v


  •                                                                         *
    
  •                    Exception Analysis                                   *
    
  •                                                                         *
    

*** WARNING: Check Image - Checksum mismatch - Dump: 0x8acc2a, File: 0x8ac5ec - C:\ProgramData\Dbg\sym\mstscax.dll\F67D9B1A8ab000\mstscax.dll
*** WARNING: Unable to verify checksum for System.Windows.Forms.ni.dll

KEY_VALUES_STRING: 1

Key  : Analysis.CPU.mSec
Value: 5374

Key  : Analysis.Elapsed.mSec
Value: 82199

Key  : Analysis.IO.Other.Mb
Value: 34

Key  : Analysis.IO.Read.Mb
Value: 4

Key  : Analysis.IO.Write.Mb
Value: 183

Key  : Analysis.Init.CPU.mSec
Value: 593

Key  : Analysis.Init.Elapsed.mSec
Value: 38025

Key  : Analysis.Memory.CommitPeak.Mb
Value: 291

Key  : CLR.BuiltBy
Value: NET48REL1LAST_B

Key  : CLR.Engine
Value: CLR

Key  : CLR.Version
Value: 4.8.4718.0

Key  : FailFast.Name
Value: INVALID_ARG

Key  : FailFast.Type
Value: 5

Key  : Failure.Bucket
Value: FAIL_FAST_INVALID_ARG_c0000409_mstscax.dll!TraceLoggingRegisterEx_EventRegister_EventSetInformation

Key  : Failure.Hash
Value: {f5a0b92b-d407-538e-0348-91a9e8813296}

Key  : Timeline.OS.Boot.DeltaSec
Value: 692

Key  : Timeline.Process.Start.DeltaSec
Value: 13

Key  : WER.OS.Branch
Value: fe_release

Key  : WER.OS.Version
Value: 10.0.20348.1

Key  : WER.Process.Version
Value: 1.0.18.0

FILE_IN_CAB: OpenRPA.RDService.exe.11664.dmp

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

CONTEXT: (.ecxr)
rax=00007ffe5a9e5b0d rbx=000000b31b47c6f2 rcx=0000000000000005
rdx=0000000000000000 rsi=00007ffe5aa0daf0 rdi=00007ffe5aa0dad0
rip=00007ffe5a1d3b0a rsp=000000b31b47c630 rbp=00000269fa6058c0
r8=0000000000000000 r9=0000000000000000 r10=0000000000000000
r11=000000b31b47c70c r12=00007ffe5aa0c808 r13=00007ffe5a883210
r14=00000269fa6065f0 r15=0000000000000000
iopl=0 nv up ei pl nz na pe nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000202
mstscax!TraceLoggingRegisterEx_EventRegister_EventSetInformation+0x3e:
00007ffe`5a1d3b0a cd29 int 29h
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ffe5a1d3b0a (mstscax!TraceLoggingRegisterEx_EventRegister_EventSetInformation+0x000000000000003e)
ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
ExceptionFlags: 00000001
NumberParameters: 1
Parameter[0]: 0000000000000005
Subcode: 0x5 FAST_FAIL_INVALID_ARG

PROCESS_NAME: OpenRPA.RDService.exe

ERROR_CODE: (NTSTATUS) 0xc0000409 - Le syst me a d tect la saturation de la m moire tampon dans cette application. Cette saturation pourrait permettre un utilisateur mal intentionn de prendre le contr le de cette application.

EXCEPTION_CODE_STR: c0000409

EXCEPTION_PARAMETER1: 0000000000000005

FAULTING_THREAD: 00004780

STACK_TEXT:
000000b31b47c630 00007ffe5a542f97 : 00000269fafd3000 000000b31b47c6f2 0000000000000000 00000269e0761700 : mstscax!TraceLoggingRegisterEx_EventRegister_EventSetInformation+0x3e
000000b31b47c680 00007ffe5a51ea4e : 00000269fafd3000 00000269fb3555a0 00000269fa589b00 00000269fb3555a0 : mstscax!MSTSCAXTelemetry::LogMSTSCAXLoaded+0x73
000000b31b47c8f0 00007ffe5a50e81a : 0000000000000000 00000269f9d53488 00000269fa605f10 000000b31b47d790 : mstscax!CMsTscAx::FinalConstruct+0x6ae
000000b31b47c950 00007ffe5a50ed36 : 000000b31b47d790 000000b31b47cab0 0000000000000000 00000269fa5f73d0 : mstscax!ATL::CComCreator<ATL::CComObject >::CreateInstance+0x8a
000000b31b47c980 00007ffea96a4f4d : 00000269fa4b3a20 00000269fa4b3a20 000000b31b47d238 0000000000000000 : mstscax!ATL::CComClassFactory::CreateInstance+0x56
000000b31b47c9b0 00007ffea965809f : 000000b31b47d238 000000b31b47cc50 00000269e071ff30 000000b31b47d000 : combase!CServerContextActivator::CreateInstance+0x1fd
000000b31b47cb30 00007ffea96a570c : 00007ffea98ce2a8 0000000000000000 00007ffea993d0b0 000000b31b47d238 : combase!ActivationPropertiesIn::DelegateCreateInstance+0x8f
000000b31b47cbc0 00007ffea96fbd78 : 0000000000000000 000000b31b47d000 0000000000000000 0000000000000067 : combase!CApartmentActivator::CreateInstance+0xcc
000000b31b47cc70 00007ffea97029bc : 0000000000000000 0000000000000000 0000000000000000 00007ffea7a137bb : combase!CProcessActivator::CCICallback+0x68
000000b31b47ccc0 00007ffea96f8d7e : 000000b31b47d238 000000b31b47db80 0000000000000000 0000000000000000 : combase!CProcessActivator::AttemptActivation+0x4c
000000b31b47cd10 00007ffea96fc044 : 000000b31b47d238 000000b3a98ce238 0000000000000000 00007ffe00000001 : combase!CProcessActivator::ActivateByContext+0x9e
000000b31b47cda0 00007ffea965809f : 000000b31b47d238 000000b31b47ce50 000000b31b47d000 0000000000000000 : combase!CProcessActivator::CreateInstance+0x94
000000b31b47cdf0 00007ffea96b4428 : 0000026900000001 00007ffe00000000 000000b31b47ceb0 00007ffea96b433a : combase!ActivationPropertiesIn::DelegateCreateInstance+0x8f
000000b31b47ce80 00007ffea965809f : 000000b31b47d238 0000000000000000 ffffff4ce4b83000 0000000000000000 : combase!CClientContextActivator::CreateInstance+0x188
000000b31b47cf20 00007ffea965ba6a : 0000000000000000 000000b31b47da70 0000000000000001 0000000000000001 : combase!ActivationPropertiesIn::DelegateCreateInstance+0x8f
000000b31b47cfb0 00007ffea965b02e : 00000269e067c7b8 00000269fa574380 fffffffffffffffe 00000269e067c7b8 : combase!ICoCreateInstanceEx+0x89a
000000b31b47dc60 00007ffea965ad8c : 00007ffe933a8660 00000269e1addb40 000000b31b47de10 00007ffe93498d66 : combase!CComActivator::DoCreateInstance+0x23e
000000b31b47dda0 00007ffe6b3be192 : 0000000000000000 0000000000000000 000000b31b47df40 0000026900000010 : combase!CoCreateInstance+0x10c
000000b31b47de40 00007ffe6baedf38 : fffffffffffffffe 00007ffe6bf31750 000068276932c758 00007ffe93ad59d8 : System_Windows_Forms_ni+0x33e192
000000b31b47df50 00007ffe6baee0b8 : 00000269e1969eb8 00000269f9d10f40 000000b31b47dfe8 0000000000000001 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.CreateWithLicense+0xf8
000000b31b47dfc0 00007ffe6baedfd4 : 00006894727f54b3 0000000000000000 00007ffe34196750 00000269e1add978 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.CreateInstanceCore+0x38
000000b31b47e020 00007ffe6baef9cb : 00000269e1969eb8 00007ffe8a601167 00000269e1aed398 000000b31b47e250 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.CreateInstance+0x54
000000b31b47e080 00007ffe6baebc98 : 00007ffe933fdca0 000068276932c758 00007ffe93ad4320 000000b31b47e118 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.GetOcxCreate+0x1b
000000b31b47e0b0 00007ffe6baeac40 : 00000269e1969eb8 00007ffe6b335a88 00007ffe93acf510 00007ffe6b32f851 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.TransitionUpTo+0xd8
000000b31b47e160 00007ffe6b33079a : 000000b31b47e270 000000000000007f 00000269e1adde08 00007ffe6b330309 : System_Windows_Forms_ni!System.Windows.Forms.AxHost.CreateHandle+0x30
000000b31b47e1b0 00007ffe6b33066b : 00000269e1969eb8 0000000000000000 0000000000000000 00007ffe6b32f851 : System_Windows_Forms_ni!System.Windows.Forms.Control.CreateControl+0xaa
000000b31b47e220 00007ffe6b33cf61 : 0000000000000000 0000000000000000 00000269e1ad8470 000000b31b47e300 : System_Windows_Forms_ni!System.Windows.Forms.Control.CreateControl+0x2b
000000b31b47e270 00007ffe6b33ccec : 0000026900000001 00007ffe00000000 0000000000000000 0000000000000000 : System_Windows_Forms_ni!System.Windows.Forms.Control.ControlCollection.Add+0x391
000000b31b47e2c0 00007ffe6b33cbaa : 00000269e196a3c0 00000269e1969eb8 0000000000000000 00000269f17f80a8 : System_Windows_Forms_ni!System.Windows.Forms.Control.ControlCollection.Add+0x11c
000000b31b47e310 00007ffe340aa605 : 00007ffe34199790 00000269e1ad8470 00000269e1a61dd0 00007ffe6b112a98 : System_Windows_Forms_ni!System.Windows.Forms.Form.ControlCollection.Add+0x4a
000000b31b47e350 00007ffe6b342a0c : 00000269e1946098 00000269e1966940 00000269e17dbc98 00000269e1add7a2 : OpenRPA_RDService!OpenRPA.RDService.Client.b__21_0+0xa5
000000b31b47e4a0 00007ffe6b34240e : 00000269e1966940 0000000000070001 0000000000000000 0000000000000000 : System_Windows_Forms_ni!System.Windows.Forms.Form.OnLoad+0x20c
000000b31b47e500 00007ffe6b3308a2 : 00007ffe6b113208 00007ff442890018 000000b31b47e4f0 00007ffe6b33351d : System_Windows_Forms_ni!System.Windows.Forms.Form.OnCreateControl+0x6e
000000b31b47e530 00007ffe6b33066b : 00000269e1ad82e8 000000b31b47e798 0000000000000000 00007ffe6b32fa36 : System_Windows_Forms_ni!System.Windows.Forms.Control.CreateControl+0x1b2
000000b31b47e5a0 00007ffe6b340fc8 : 000000b31b47e620 000000b31b47e6a0 00000269e1ad84f0 000000b31b47e6a0 : System_Windows_Forms_ni!System.Windows.Forms.Control.CreateControl+0x2b
000000b31b47e5f0 00007ffe6b332a9c : 00000269e1966940 000000b31b47e680 0000000000080236 00007ffe93372dea : System_Windows_Forms_ni!System.Windows.Forms.Control.WmShowWindow+0xa8
000000b31b47e640 00007ffe6b340ee3 : 00000269e1ad8470 0000000000140001 00000269e1ad84f0 000000b31b47e7c0 : System_Windows_Forms_ni!System.Windows.Forms.Control.WndProc+0x23c
000000b31b47e700 00007ffe6b332092 : 0000000000000001 00000269e1ad84f0 000068276932c758 00007ffe93ad59d8 : System_Windows_Forms_ni!System.Windows.Forms.Form.WmShowWindow+0x63
000000b31b47e740 00007ffe6ba697a2 : 00000269e1966b48 00007ffea725c459 0000000000000018 00007ffeaa0a7263 : System_Windows_Forms_ni!System.Windows.Forms.NativeWindow.Callback+0xc2
000000b31b47e7e0 00007ffe932f222e : 0000000000000578 00007ffea725c459 00007ffea74f1a48 00007ffeaa0d2100 : System_Windows_Forms_ni+0x9e97a2
000000b31b47e850 00007ffea8770089 : 000000b31b47eac8 000000b31b47eaf8 0000000000000000 0000000000000000 : clr!UMThunkStub+0x6e
000000b31b47e8e0 00007ffea876fbfc : 0000000000070241 00000269f9ce540c 0000000000080236 00007ffe00000018 : user32!UserCallWinProcCheckWow+0x319
000000b31b47ea70 00007ffea87861cd : 0000000000000000 0000000000000000 0000000000000001 000000b31b47ea00 : user32!DispatchClientMessage+0x9c
000000b31b47ead0 00007ffeaa123354 : 0000000000000001 0000000000000001 000000b31b47ebc0 00007ffe6b34016b : user32!_fnDWORD+0x3d
000000b31b47eb30 00007ffea7881b24 : 00007ffea72bd0f7 000000b31b47ec10 00007ffea725dac4 00000269e1ad8470 : ntdll!KiUserCallbackDispatcherContinue
000000b31b47ebb8 00007ffea72bd0f7 : 000000b31b47ec10 00007ffea725dac4 00000269e1ad8470 00000269e1ad82e8 : win32u!NtUserShowWindow+0x14
000000b31b47ebc0 00007ffea72bd178 : 000000b31b47edd8 000000b31b47ec90 00007ffe00004780 00007ffe6b33a601 : InProcessClient64+0xcd0f7
000000b31b47ec20 00007ffea72bd063 : 000000b31b47ec80 000000010000003d 0000000000000005 00000269f17f80a8 : InProcessClient64+0xcd178
000000b31b47ec50 00007ffe6b3baaf5 : 0000000000080236 0000000000000005 000000010000003d 0000000000000000 : InProcessClient64+0xcd063
000000b31b47ecd0 00007ffe6b32f395 : 00000269e1ad8470 00000269e1ad84d0 000000b300000216 00007ffe0000000c : System_Windows_Forms_ni+0x33aaf5
000000b31b47ed80 00007ffe6b33e4d2 : 00000269e1966940 0000000000000001 000000b31b47ee40 00007ffe6b3381f1 : System_Windows_Forms_ni!System.Windows.Forms.Control.SetVisibleCore+0x115
000000b31b47ee50 00007ffe6b372ad7 : 00000269e1966940 000000b300000001 00000269e1a61dd0 000000b31b47f000 : System_Windows_Forms_ni!System.Windows.Forms.Form.SetVisibleCore+0xb2
000000b31b47eec0 00007ffe340a62cd : 00007ffe6b085020 0000021600000296 00000269e1a61dd0 0000002100000023 : System_Windows_Forms_ni!System.Windows.Forms.Control.Show+0x17
000000b31b47eef0 00007ffe8a5f00b2 : 00000269e1946098 00000269e1ab6db0 000000b31b47f050 0000000000000000 : OpenRPA_RDService!OpenRPA.RDService.Client.ProcessTaskThread+0x37d
000000b31b47f020 00007ffe8a5eff35 : 0000000000000330 000000b31b47f128 0000000000000000 0000000000000000 : mscorlib_ni!System.Threading.ExecutionContext.RunInternal+0x172
000000b31b47f0f0 00007ffe8a5eff05 : 00000269e1ab6e50 0000000000000000 0000000000000000 0000000000000000 : mscorlib_ni!System.Threading.ExecutionContext.Run+0x15
000000b31b47f120 00007ffe8a696025 : 000000b31b47f2c8 000000b31b47f468 00007ffe8a051000 00007ffe932f71ad : mscorlib_ni!System.Threading.ExecutionContext.Run+0x55
000000b31b47f170 00007ffe932f6893 : 00000269e1ab6e78 00007ffe8a0f4430 00007ffe8a23ffc8 0000000000000000 : mscorlib_ni!System.Threading.ThreadHelper.ThreadStart+0x55
000000b31b47f1b0 00007ffe932f6780 : 000000b31b47f488 00007ffe932f7338 0000000000000000 00007ffe932f7286 : clr!CallDescrWorkerInternal+0x83
000000b31b47f1f0 00007ffe932f7050 : 0000000000000001 000000b31b47f590 000000b31b47f3c0 000000b31b47f488 : clr!CallDescrWorkerWithHandler+0x4e
000000b31b47f230 00007ffe9346d7af : 000000b31b47f820 0000000000000001 00007ffe8a0f4430 0000000000000001 : clr!MethodDescCallSite::CallTargetWorker+0xfa
000000b31b47f330 00007ffe932f7c38 : 00000269e1ab6e78 00007ffe9346e780 000000b31b47f760 00007ffe932fbbd7 : clr!ThreadNative::KickOffThread_Worker+0xfffffffffffff02f 000000b31b47f590 00007ffe932f7ba3 : 000000b31b47f760 00000269f9d10f40 0000000000000000 00007ffe932f53f1 : clr!ManagedThreadBase_DispatchInner+0x40 000000b31b47f5d0 00007ffe932f7ae2 : 000000b31b47f760 0000000000000000 0000000000000000 0000000000000000 : clr!ManagedThreadBase_DispatchMiddle+0x6c 000000b31b47f6d0 00007ffe932f7cd3 : ffffffffffffffff 00000269f9d10f40 000000b31b47f720 00000269e067c580 : clr!ManagedThreadBase_DispatchOuter+0x4c 000000b31b47f740 00007ffe9346d699 : 00000269f9d10f40 000000b300000001 0000000000000001 0000000000000004 : clr!ManagedThreadBase_FullTransitionWithAD+0x2f 000000b31b47f7a0 00007ffe932fbd15 : 00000269fa540a60 0000000000000001 00000269f9d10f40 000000b31b47f7f8 : clr!ThreadNative::KickOffThread+0xe6 000000b31b47f880 00007ffea83c4cb0 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : clr!Thread::intermediateThreadProc+0x8b 000000b31b47f940 00007ffeaa0fe8ab : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x10 000000b31b47f970 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2b

SYMBOL_NAME: mstscax!TraceLoggingRegisterEx_EventRegister_EventSetInformation+3e

MODULE_NAME: mstscax

IMAGE_NAME: mstscax.dll

STACK_COMMAND: ~47s ; .cxr ; kb

FAILURE_BUCKET_ID: FAIL_FAST_INVALID_ARG_c0000409_mstscax.dll!TraceLoggingRegisterEx_EventRegister_EventSetInformation

OS_VERSION: 10.0.20348.1

BUILDLAB_STR: fe_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 10.0.20348.2400

FAILURE_ID_HASH: {f5a0b92b-d407-538e-0348-91a9e8813296}

Followup: MachineOwner

Hello Allan,

Thanks for the feedback, could you provide me your mstscax.dll version? to compare it with mine?

Thanks

Eric

damn, somehow i must have hit “edit” instead of reply … Strange.
Sorry about that, anyway, I’ll re-port in my own name here.

It would help a lot if you used details for big chunks of text.

So i asked for the file, but fine you know how to run analyze in windbg, but if you don’t load sos clr is still lacking all the information i need.
But it did reveal this error is a buffer overflow in mstscax and not an error in OpenRPA, so might be better to post this on a windows forum or create a support ticket with microsoft if you have software assurance.

I just spun up a fresh 2022 server, ran windows update and installed hd service.
It works without any issues in my test, both from console and as a service


I’m uploading the dump file, to send it as it is…(takes some times…)

Here is the link to the file:

https://www.swisstransfer.com/d/fb7928e2-81fb-48d0-bb56-df9020c348b3

Thanks, but not needed, since we now know, this is local to your install and is not an openrpa issue.

Thanks, i did not know about that service, the .dll files from my test rig is here
https://www.swisstransfer.com/d/a2cd4427-5074-407d-ba40-6ca204b453fd

Hi Allan,

I’ve made a few tests, it seems that when I have too many HDRobots (above 12) the service seems to have some issues to start the RDP sessions and to simply start by the way…
When I only enable 10 HDRobots, the service seems to be working better…

What if you start them delayed ? like one at the time …
Is it a “boot storm” issue ?

It works better… Unfortunately, I can’t afford doing so, If I have a server reboot, the service won’t start, I have to manage with max 10-12 HDRobots…

I can add a bigger delay between each startup, so it’s not trying multiple at the same time.
But if your on a virtual machines, it might be better to “spread out the load” anyway ( unless you are restricted by license costs )

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.