Product: PowerShell Universal
Version: 2.8.3
The PowerShell Universal service will randomly crash and enter a stopped state. I have the logs from event viewer listed below. Are there any other logs I can delve into to investigate why the service is crashing? I've seen other posts but not sure if there is an immediate fix or is the resolution is to upgrade to a specific version.
EventID: 1000
Source: Application Error
Faulting application name: Universal.Server.exe, version: 1.0.0.0, time stamp: 0x60e896d9
Faulting module name: KERNELBASE.dll, version 10.0.17763.2452, time stamp: 0xad1c2e55
Exception code: 0xe0434352
Fault offset: 0x0000000000039319
Faulting process id: 0x6ca0
Faulting application start time: 0x01d83eca0d9030ac
Faulting application path: C:\Program Files (x86)\Universal\Universal.Server.exe
Faulting module path: C:\windows\System32\KERNELBASE.dll
Report Id: ece3e620-8dda-4a34-915d-422bb3eeedc1
Faulting package full name:
Faulting package-relative application ID:
EventID: 1026
Source: .NET Runtime
Application: Universal.Server.exe
CoreCLR Version: 5.0.921.35908
.NET Version: 5.0.9
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException: Stack empty.
at System.Collections.Generic.Stack`1.ThrowForEmptyStack()
at System.Collections.Generic.Stack`1.Pop()
at System.Management.Automation.DlrScriptCommandProcessor.OnRestorePreviousScope()
at System.Management.Automation.CommandProcessorBase.DoComplete()
at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRquestingUpstreamCommandsToStop)
at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(ObjectInput)
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()