NVIDIA Xid 32: Corrupted Push Buffer Stream
Troubleshoot NVIDIA Xid 32 invalid or corrupted push buffer stream (PBDMA) errors. Separate host/GPU memory ECC faults from driver or CUDA runtime bugs.
NVIDIA Xid 32 reports that the GPU command processor (PBDMA) received a malformed or corrupted push buffer stream. Because both software bugs and memory or PCIe corruption can mangle command streams, check for concurrent ECC Xids (48, 94, 95) and host PCIe AER errors before blaming the application.
- Symptom
NVRM: Xid (PCI:0000:81:00): 32, pid=44102, name=python3, Channel ID 00000018 intr 00040000- Root cause
- The push buffer command stream read by the GPU was invalid due to memory corruption, PCIe link errors, or a driver/user-space software defect.
- Recommended fix
- Inspect host dmesg for concurrent Xid 48, 94, 95, or PCIe AER errors on the same PCI bus ID to rule out hardware bit corruption first.
- How Denpex helps
- Denpex investigates NVIDIA Xid 32: Corrupted Push Buffer Stream using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
What this failure is
Xid 32 is the NVIDIA driver event INVALID_OR_CORRUPTED_PUSH_BUFFER_STREAM emitted when the PBDMA unit rejects invalid commands fetched from a channel push buffer.
Is this what broke your run? Paste your log.
You're reading about NVIDIA Xid 32: Corrupted Push Buffer Stream. Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
Why it happens (the mechanism)
Command buffers live in host or device memory and cross the PCIe bus to the GPU. Uncorrectable memory errors, PCIe transmission bit flips, or user-mode driver and CUDA library ABI mismatches can all produce invalid opcodes in the stream.
What you'll observe
- The GPU aborts the active compute or graphics channel after encountering an invalid push buffer command.
- Adjacent CUDA kernels fail immediately and distributed peers subsequently stall waiting on collectives.
Common symptoms and what they mean
Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.
| Symptom | Possible explanation |
|---|---|
| NVRM: Xid (PCI:0000:xx:00): 32, pid=..., Invalid or corrupted push buffer stream | The push buffer command stream read by the GPU was invalid due to memory corruption, PCIe link errors, or a driver/user-space software defect. |
| Host dmesg may show accompanying PBDMA error details or concurrent ECC / AER entries | The push buffer command stream read by the GPU was invalid due to memory corruption, PCIe link errors, or a driver/user-space software defect. |
Which systems are affected
- NVIDIA GPUs running CUDA training, inference, or custom kernel extensions
- Multi-GPU nodes with PCIe risers or mixed user-space and kernel driver versions
How to confirm this is the problem
Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.
- ✓Search dmesg -T around the Xid 32 timestamp for ECC, NVLink, or PCIe AER messages.
- ✓Verify nvidia-smi -q -d ECC,ROW_REMAPPER for uncorrected memory counts.
- ✓Reproduce the workload on a second node to see whether Xid 32 follows the job or the host.
Root cause
- The push buffer command stream read by the GPU was invalid due to memory corruption, PCIe link errors, or a driver/user-space software defect.
The fix and how to prevent it
How to fix it
- Inspect host dmesg for concurrent Xid 48, 94, 95, or PCIe AER errors on the same PCI bus ID to rule out hardware bit corruption first.
- Check host system memory (EDAC / MCE logs) and confirm nvidia-smi driver version matches all container user-space CUDA libraries.
- Run Compute Sanitizer memcheck on the isolated kernel if no hardware or driver mismatch is present.
- Drain and escalate the node if Xid 32 repeats alongside ECC or PCIe errors across unrelated workloads.
Step-by-step remediation
- 1Inspect dmesg -T for Xid 48/94/95, host MCE/EDAC memory errors, and PCIe AER warnings.
- 2Compare host NVIDIA driver version with container CUDA compatibility packages.
- 3Test the same workload on a known healthy node to confirm whether the fault is host-specific.
How to prevent it
- Monitor EDAC host RAM errors, GPU ECC counters, and PCIe AER corrected rates together.
- Align container CUDA toolkit and host NVIDIA driver releases across every node.
Save this diagnosis and catch the next crash automatically
All root cause, fix, and prevention steps above are free to read. Create a free account with any email or GitHub to keep your saved diagnosis history across the encyclopedia and run cloud checks, or use a work email below for the 30-day Team evaluation. No card required.
Or start a 30-day free Team trial (work email)
Verified work email unlocks all 14 fleet diagnostic tools, Slack alerts, and team history for 30 days. No card and no automatic charge.
Searchable error signature
NVRM: Xid (PCI:0000:81:00): 32, pid=44102, name=python3, Channel ID 00000018 intr 00040000Use this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.
Diagnose your own log automatically
The root cause and fix steps above stay free. Create a free account to analyze full job logs, attribute the first failed rank, and keep saved incident history.
Sign up free. Analyze your cluster logsNo credit card. Daily allowance follows verified trust tier. Instant access.
Why the recommended fix works
Checking ECC, EDAC, and PCIe AER alongside driver versions prevents misdiagnosing a failing host DIMM or PCIe riser as a PyTorch bug, and vice versa.
Code examples
dmesg -T | grep -iE 'xid|aer|edac|mce'
nvidia-smi -q -d ECC,ROW_REMAPPERThis snippet illustrates the entry-specific check. Verify the installed versions, permissions, target and workload context before using it. A command or API example is not proof of recovery.
Best practices by model family
| Model / Stack | Recommendation | Notes |
|---|---|---|
| Xid 32 with ECC or AER | Treat as memory or bus corruption | Drain node and inspect host DIMMs, GPU HBM ECC, and PCIe slot integrity. |
| Isolated Xid 32 on clean hardware | Check driver/CUDA stack and sanitizer | Compare container CUDA libraries against host driver and run a minimal reproducer. |
With the fix vs without the fix
| Dimension | With the fix | Without the fix |
|---|---|---|
| Diagnostic focus | Correlate Xid 32 with ECC, EDAC, AER, and driver ABI | Assuming Xid 32 is always a bad GPU board |
| Verification | Cross-node control run | Immediate blind job retry on the same node |
Diagnostic note
“Guidance reflects NVIDIA Xid catalog definitions for PBDMA push buffer stream errors. Example log lines illustrate host kernel event format.”
Visual fingerprint
Xid 32 -> check dmesg ECC/AER/EDAC -> hardware errors? -> drain node | clean? -> check driver/CUDA match and run cross-node control
Xid 32 in context
Xid 32 identifies a driver-observed event. Preserve the full message, device identity and surrounding workload and host evidence before distinguishing application, driver and hardware causes. The code alone does not justify replacing a board.
Compare Xid event familiesDiagnose this failure in VS Code
Select the traceback or open the failed terminal, then run Denpex locally to inspect matched failure patterns, supporting evidence and next checks without uploading the log. Verify recommendations against your workload before changing production.
Install the free VS Code extensionFrequently asked questions
Questions engineers and on-call staff commonly ask about this failure.
Is NVIDIA Xid 32 always a hardware failure?
What does PBDMA mean in an Xid 32 message?
Don't just read the fix, diagnose your run
The encyclopedia explains documented failure patterns. Denpex investigates your logs, configuration and stack, shows the supporting evidence, and asks for missing details when needed.
Related Reliability errors
GB200 NVL72 driver hang with Xid 150 and 154 after long uptime is a firmware bug, not a dead GPU
Reliability · high
Sequence Length Imbalance Causing Distributed Training Stragglers
Reliability · high
Silent Data Corruption from GPU Hardware Faults Causing Loss Spikes and Model Divergence
Reliability · critical
NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200
Reliability · critical