Describe the issue
Environment:
- ONNX Runtime version: 1.24.2
- Platform: ARM64 (NVIDIA Jetson Orin NX / AGX Orin iGPU), Linux
- Reproduces: 100% on Orin NX, intermittently on AGX Orin, never on x86
Description:
After an ONNX inference session completes successfully, the process crashes with free(): invalid pointer during exit. The crash is always preceded by this warning at session initialization: onnxruntime cpuid_info warning: Unknown CPU vendor. cpuinfo_vendor value: 0
The correlation between the "Unknown CPU vendor" warning and the destructor crash suggests CPUIDInfo may not fully initialize when the vendor is unrecognized, leaving internal state that causes an invalid free during destruction
To reproduce
Run any ONNX inference test on Jetson Orin NX.
Urgency
No response
Platform
Linux
OS Version
Ubuntu 22.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.24.2
ONNX Runtime API
C++
Architecture
ARM64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 12
Describe the issue
Environment:
Description:
After an ONNX inference session completes successfully, the process crashes with free(): invalid pointer during exit. The crash is always preceded by this warning at session initialization:
onnxruntime cpuid_info warning: Unknown CPU vendor. cpuinfo_vendor value: 0The correlation between the "Unknown CPU vendor" warning and the destructor crash suggests CPUIDInfo may not fully initialize when the vendor is unrecognized, leaving internal state that causes an invalid free during destruction
To reproduce
Run any ONNX inference test on Jetson Orin NX.
Urgency
No response
Platform
Linux
OS Version
Ubuntu 22.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.24.2
ONNX Runtime API
C++
Architecture
ARM64
Execution Provider
CUDA
Execution Provider Library Version
CUDA 12