Segfault on session creation with custom MockedOrtAllocator
in MlasSgemmCopyPackB
#17867
Labels
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
Hi! I wanted to use custom allocator to better understand where memory allocation is requested, but couldn't even create session with my module. I found that issue happens in matmul operation (maybe some others too).
I tried to change operator new to malloc/free and also log every allocation/deallocation. Allocations were without errors but issue happens.
Here is my debugging log:
bt
:To reproduce
MockedOrtAllocator
fromtest_allocator.h
.2'. I used following session options:
onnxruntime/test/testdata/matmul_1.onnx
Happened both on
1.14.1
and1.15.1
onnxruntime MacOS releasesUrgency
medium priority
Issue connected to my experience with onnxruntime:
#16032
#10270
Platform
Mac
OS Version
12.3.1
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.14.1
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: