After Upgrade Universal Service Failing

Product: PowerShell Universal
Version: 2.9
Installer: MSI

Hi,
After upgrading to 2.9 powershell universal serivce keeps falling over after a day. get the below two events in the eventlog

Thanks,

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.Management.Automation.Runspaces.InvalidPipelineStateException: Cannot invoke pipeline because it has already been invoked.
at System.Management.Automation.Runspaces.PipelineBase.CoreInvoke(IEnumerable input, Boolean syncCall)
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.Runspaces.RunspaceBase.Pulse()
at System.Management.Automation.PSLocalEventManager.PulseEngine()
at System.Management.Automation.PSLocalEventManager.AddAction(EventAction action, Boolean processSynchronously)
at System.Management.Automation.PSLocalEventManager.ProcessNewEventImplementation(PSEventArgs newEvent, Boolean processSynchronously)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Faulting application name: Universal.Server.exe, version: 1.0.0.0, time stamp: 0x60e896d9
Faulting module name: KERNELBASE.dll, version: 10.0.14393.4886, time stamp: 0x61d5224f
Exception code: 0xe0434352
Fault offset: 0x0000000000034f38
Faulting process id: 0x2110
Faulting application start time: 0x01d8338aa46db572
Faulting application path: C:\Program Files (x86)\Universal\Universal.Server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: c8a733b8-4bff-4a0b-96bf-3e310e5788c3
Faulting package full name:
Faulting package-relative application ID:

Also getting this on all scripts since upgrading

[error] The term ‘Out-UAPipeline’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Thanks

We are rolling a 2.9.2 build that includes a fix for the error with Out-UAPipeline. As for the crashing, this one is new to me.

Is there any way you can enable crash dumps for me?

Thanks Adam,

I’ll try 2.9.2 first and see if it resolves both issues, will that be released soon?

Thanks

It’s in the release pipeline and should be out in an hour or so.

Thanks Adam.

2.9.2 fixed the Out-UAPipeline issue but I still have the crashing, looks like some sort of memory leak. I will try and get the crash dumps for you

image

1 Like

Hi, I have the dump file now from the most recent crash, how is best to send it to you?

Thanks!

Please upload it here: Dropbox - Submit files

I have uploaded it. thanks for your help

HI @adam , Have you had chance to look at this? Memory still maxes out and the service crashed after 2 days.

Thanks

I looked at the dump but it wasn’t clear what was happening. Can you please open a support case for this so we can track it? Please email support@ironmansoftware.com