AI vision root cause analysis
Root Cause Analysis for a Manufacturing AI Vision System
A multi-billion-dollar global manufacturer faced intermittent crashes in a production AI vision system across multiple plant sites. Working entirely through read-only telemetry that never touched the live workload, we analyzed roughly 100 failure events over 30 days, eliminated hardware and network against a controlled baseline, and traced the instability to a subtle memory-and-concurrency fault deep in the process's GPU runtime.
The problem
Across a fleet of production vision hosts at multiple plant sites, a GPU-accelerated classification system was crashing intermittently. Available evidence was incomplete, the failures looked random, and conventional debugging risked disrupting live production lines.
Remote, trusted, zero-impact
A multi-billion-dollar manufacturer trusted us with secure, read-only access to its live production systems across the globe — and the entire investigation ran from our engineering operations center in Gainesville, Florida. We never set foot on a plant floor. A non-intrusive telemetry pipeline pulled crash dumps, configuration, and runtime state directly from the running systems — no agents installed, no service restarts, no operational impact — and was safe to repeat as the analysis progressed.
We correlated that state across every host and ran a hypothesis-driven analysis against a stable control host on identical hardware.
The investigation
Seven suspects. A controlled baseline. One culprit.
Determining root cause
Signature
The crashes weren't random — they were a fingerprint.
Nearly every crash struck the same instruction. That fingerprint eliminated flaky hardware and memory corruption and pointed at one specific code path.
Methodology
Crash dumps and live telemetry — without touching the line.
No agents installed, no workload interrupted. Crash dumps were captured behind the scenes and analyzed offline with low-level debuggers, while real-time telemetry streamed from the running systems — large datasets, millions of events across the fleet. The dumps pinned the exact faulting instruction; the telemetry proved the pattern.
Root cause
Two copies of one runtime, racing inside one process.
The shared runtime was mapped into the address space as two independent images, each with its own process-global state and synchronization primitives. The duplicated locks no longer mutually excluded — concurrent acquisition and inference threads raced, a handle minted under one image was dereferenced under the other, and the resulting cross-image memory aliasing overwrote a guarded stack frame and crashed the process.
Remediation & validation
Low-risk. No code change. Proven before fleet-wide.
Collapse the runtime
One authoritative resident image per process.
Pilot
Highest-impact host first, with success and rollback criteria.
Fleet rollout
Staged across every production site.
7-day window
Monitored against the deterministic signature.
Tools & stack
- WinDbg
- Sysinternals
- Crash-dump analysis
- /GS stack-protector
- Windows internals
- CUDA
- PyTorch
- Python
- Device-context debugging
- Read-only fleet telemetry
- Windows event analysis
- PowerShell
- Ansible
- Deterministic-fault correlation
- Hypothesis elimination
Why it mattered
The stakes
A stopped line is lost production. Intermittent crashes threatened always-on manufacturing, and a conventional investigation would have meant taking lines offline to reproduce and probe the fault.
Why our approach mattered
Completely remote: from our engineering operations center in Gainesville, Florida, we were trusted with secure, read-only access to live production systems across the globe — nothing installed on site, nothing taken offline. The plant kept producing, crashes and all, while we drove to a proven, low-risk fix.
Evidence
What changed in the work.
- Remote, read-only analysis on live, running production systems — zero operational impact (Ansible/WinRM)
- Seven alternative causes eliminated against a stable control host on identical hardware
- Deterministic crash signature proven — 98% repeatable across ~100 events in 30 days
- Root cause isolated to duplicated GPU-runtime state and unsynchronized cross-image access inside the process



WinDbg
Sysinternals