You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found a crash in onnxruntime_mlas_test.exe when running on ARM64 Windows. AMD64 was fine.
We tested on Microsoft SP9 5G / Windows Dev Kit 2023 but this also repro'ed on newer QC chipsets.
It looks like the crash is due to a CPUID query with an "unknown ARM CPU part" (even though this chipset is released) and the default logger is not initialized so this crashes.
This could crash other binaries but we only tested onnxruntime_mlas_test.exe
To reproduce
Compile main (I used 9e8ad39) arm64. E.g. .\build.bat --config RelWithDebInfo --build_shared_lib --parallel --cmake_generator "Visual Studio 17 2022" --arm64
Run onnxruntime_mlas_test.exe E.g. C:\src\onnxruntime\build\Windows\RelWithDebInfo\RelWithDebInfo\onnxruntime_mlas_test.exe --help
Crash!
Debugger Stack:
Code crash:
onnxruntime/core/common/cpuid_uarch.cc b/onnxruntime/core/common/cpuid_uarch.cc:140
LOGS_DEFAULT(WARNING) << "unknown ARM CPU part 0x" << std::hex << midr_get_part(midr) << " ignored";
Describe the issue
We found a crash in onnxruntime_mlas_test.exe when running on ARM64 Windows. AMD64 was fine.
We tested on Microsoft SP9 5G / Windows Dev Kit 2023 but this also repro'ed on newer QC chipsets.
It looks like the crash is due to a CPUID query with an "unknown ARM CPU part" (even though this chipset is released) and the default logger is not initialized so this crashes.
This could crash other binaries but we only tested onnxruntime_mlas_test.exe
To reproduce
Debugger Stack:
Code crash:
onnxruntime/core/common/cpuid_uarch.cc b/onnxruntime/core/common/cpuid_uarch.cc:140
LOGS_DEFAULT(WARNING) << "unknown ARM CPU part 0x" << std::hex << midr_get_part(midr) << " ignored";
Urgency
Not urgent. Have workaround commenting out logging code
Platform
Windows
OS Version
Windows 11
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
9e8ad39
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: