Captured a full memory dump (WER LocalDumps, DumpType 2) from the latest crash and ran !clrstack, kb, and !analyze -v against it. All three point to the same thing.
Exception: STATUS_STACK_OVERFLOW (0xC00000FD) in UiPath.Executor.exe, on CoreCLR 10.0.9.
Call chain: TelemetryClient.Implementations.Operations.Operation.Dispose() → Newtonsoft.Json.JsonConvert.SerializeObjectInternal → thousands of repeating JsonSerializerInternalWriter.SerializeObject / SerializeDictionary frames, each against a distinct object instance (confirmed via differing addresses in kb, so this isn’t simple self-reference, it’s a genuinely deep, real object graph). The exact frame where the stack finally gives out varies by run (GC internals one night, StringBuilder.AppendWithExpansion the next), same underlying recursion both times, just caught at whatever ordinary call happens to be running at that instant.
Reproduction: happens on long (8+ hour), high-iteration executions, consistently many hours and dozens of iterations in, never early. Confirmed on multiple runs.
Ruled out:
- Studio’s debugger: reproduced via a published package run through Assistant, no debugger attached.
- UiPath.UIAutomation.Activities version: reproduced on both 26.1.0-preview and stable 26.10.3.
- My own workflow: the entire call chain is inside UiPath’s shipped assemblies (TelemetryClient, UiPath.Core.Activities), not user code.
Environment
- UiPath Studio 2026.0.201 (STS channel). Run on recent upgrade showed the same symptoms
- Robot/Executor build 26.0.200-cloud.24638 (please confirm current build matches before triaging, may have moved since capture)
- CoreCLR 10.0.9 (.NET 10)
- UiPath.UIAutomation.Activities: reproduced on both 26.1.0-preview and stable 26.10.3
- Windows 10 (build 19041 per dump), attended execution via UiPath Assistant, no Studio debugger attached
clrstack-trimmed.txt (11.9 KB)
kb.txt (50.1 KB)
analyze.txt (71.2 KB)
Why such long runs? The automation takes it’s time between iteration events deliberately. Allowing back-office systems to do their work before proceeding.
Suspected cause: something the Operation telemetry wrapper holds or chains grows across the life of a long execution rather than resetting, and gets serialized in full at Dispose(). The Newtonsoft.Json call doesn’t appear to have a MaxDepth set, so an unusually deep object graph causes an uncatchable stack overflow (kills the whole process) instead of a handled exception.
Dump analysis attached (kb.txt, analyze.txt, clrstack-trimmed.txt, full !clrstack output was ~5000 lines, so I trimmed the repeating middle section). Happy to provide the full 3GB dump privately if that helps, would rather not post a raw memory dump publicly.