-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mobile] [urgent] iOS application crash at CreateEnv (pointer being freed was not allocated) #23759
Comments
if you're building from source, you can try building with |
Helllo, #0 0x00000001bb03fbbc in __pthread_kill () specifically it seems onnxrumtime crash here fn(GetOpSchema<ONNX_OPERATOR_SET_SCHEMA_CLASS_NAME(Onnx, 9, MeanVarianceNormalization)>()); anything wrong? |
almost the same stacktrace as this one |
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
The text was updated successfully, but these errors were encountered: