Segmentation fault during inference #21069
Labels
core runtime
issues related to core runtime
stale
issues that have not been addressed in a while; categorized by a bot
Describe the issue
Hello,
I am getting a segmentation fault (SIGSEGV) after calling Ort::detail::SessionImpl::Run with two different programs and two different stack traces. The API calls are made in a wrapper, so the code is identical for the 2 programs.
Backtrace for the first program (the largest):
Backtrace for the second program
I have checked the model. My wrapper works when I use it in a smaller program.
Thank you for your help.
To reproduce
Here is the code for my wrapper, containing the API calls.
OnnxModelWrapper.txt
I manage to make it work with a smaller program, I can't seem to reproduce it in a simple example.
Urgency
No response
Platform
Linux
OS Version
Debian 10.13
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
v1.18.0
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: