Describe the issue
with bridge iOS application would call the following c code
OrtEnv *env;
OrtSession *session;
OrtSessionOptions *session_options;
const OrtApi* g_ort = OrtGetApiBase()->GetApi(ORT_API_VERSION);
g_ort->CreateEnv(ORT_LOGGING_LEVEL_FATAL, "", &env);
g_ort->CreateSessionOptions(&session_options);
while try to run this application on device got the following error:
malloc: *** error for object 0x3293902a: pointer being freed was not allocated
this onnxruntime libs were build by the following steps:
https://onnxruntime.ai/docs/build/ios.html
./build.sh --config MinSizeRel --use_xcode
--ios --apple_sysroot iphoneos --osx_arch arm64 --apple_deploy_target 15.0
device : iPhone pro max 13
any idea to solve such simple problem?
many thanks !
To reproduce
run the following code in any ios application:
OrtEnv *env;
OrtSession *session;
OrtSessionOptions *session_options;
const OrtApi* g_ort = OrtGetApiBase()->GetApi(ORT_API_VERSION);
g_ort->CreateEnv(ORT_LOGGING_LEVEL_FATAL, "", &env);
g_ort->CreateSessionOptions(&session_options);
Urgency
yes this is urgent
Platform
iOS
OS Version
18.1
ONNX Runtime Installation
Built from Source
Compiler Version (if 'Built from Source')
apple clang 16.1
Package Name (if 'Released Package')
None
ONNX Runtime Version or Commit ID
v1.20.2
ONNX Runtime API
C++/C
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Describe the issue
with bridge iOS application would call the following c code
while try to run this application on device got the following error:
malloc: *** error for object 0x3293902a: pointer being freed was not allocated
this onnxruntime libs were build by the following steps:
https://onnxruntime.ai/docs/build/ios.html
./build.sh --config MinSizeRel --use_xcode
--ios --apple_sysroot iphoneos --osx_arch arm64 --apple_deploy_target 15.0
device : iPhone pro max 13
any idea to solve such simple problem?
many thanks !
To reproduce
run the following code in any ios application:
Urgency
yes this is urgent
Platform
iOS
OS Version
18.1
ONNX Runtime Installation
Built from Source
Compiler Version (if 'Built from Source')
apple clang 16.1
Package Name (if 'Released Package')
None
ONNX Runtime Version or Commit ID
v1.20.2
ONNX Runtime API
C++/C
Architecture
ARM64
Execution Provider
Default CPU
Execution Provider Library Version
No response