Open simonwh opened 5 days ago
ONNX Runtime doesn't use opencv AFAIK so not clear where that error is coming from.
OpenCV was until very recently used in onnxruntime-extensions for some custom image processing operators, but your model doesn't use any of those operators. Did you by any chance enable the extensions?
Hi @skottmckay - thanks for the quick reply.
I upgraded to 1.20.0, which should include latest extension, where OpenCV should have been removed from according to change logs(?)
Anyways, I found it was not directly related:
1. nnapi EP ❌
15427-15718 cv::error() ai.mykin.app.dev E OpenCV(4.5.4) Error: Assertion failed (Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup.) in initialize, file /Users/runner/work/1/b/android_aar/intermediates/armeabi-v7a/Release/_deps/opencv-src/modules/core/src/system.cpp, line 663
2024-11-12 16:53:14.800 15427-15718 libc++abi ai.mykin.app.dev E terminating due to uncaught exception of type cv::Exception: OpenCV(4.5.4) /Users/runner/work/1/b/android_aar/intermediates/armeabi-v7a/Release/_deps/opencv-src/modules/core/src/system.cpp:663: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'
2024-11-12 16:53:15.530 15427-15482 TrafficStats ai.mykin.app.dev D tagSocket(115) with statsTag=0xffffffff, statsUid=-1
2024-11-12 16:53:15.647 15427-15718 libc ai.mykin.app.dev A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15718 (mqt_native_modu), pid 15427 (i.mykin.app.dev)
2. nnapi EP (no runtime extensions) ❌
2024-11-12 16:58:40.497 16349-16650 libc ai.mykin.app.dev A Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x920c3fd1 in tid 16650 (mqt_native_modu), pid 16349 (i.mykin.app.dev)
3. cpu EP (default params) ❌
2024-11-12 17:03:30.865 17013-17298 libc ai.mykin.app.dev A Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x92466931 in tid 17298 (mqt_native_modu), pid 17013 (i.mykin.app.dev)
4. cpu EP + graphOptimizationLevel: disabled
✅
5. cpu EP + graphOptimizationLevel: disabled
+ runtime extensions ✅
Something is happening inside onnx-react-nativewhen graphOptimizationLevels are turned on, raising a SIGBUS.
After getting ONNX running, we found another native library also causing a SIGBUS. We worked with the team, and it turns out its caused by unaligned access/reads:
This can create real trouble on some architectures. For example, seems like Cortex-A series of ARM CPU supports unaligned reads but this capability must be enabled explicitly (see https://developer.arm.com/documentation/den0013/d/Porting/Alignment)
For the Cortex-A series of processors, unaligned accesses are supported, although you must enable this by setting the U bit in the CP15:SCTL register, indicating that unaligned accesses are permitted. Source
I believe it could be the same compatibility if onnx relies on unaligned access anywhere in it's internals, specifically in the code related to graph optimizations, but I cannot verify. What do you think @skottmckay ?
If you don't need ORT extensions (AFAICS you do not) it would be simpler to not enable them at all.
We don't rely on unaligned access but it's possible there's a bug on 32-bit ARM.
It would be helpful to know what optimizer is causing the issue. If you set the session log severity to VERBOSE does it provide any hints as to which optimizer is running at the time?
@skottmckay ORT extensions I can disable for sure.
With regards to the graph operations (set to basic), this is where it fails:
2024-11-13 10:28:14.871 22237-22563 OnnxruntimeExtensions ai.mykin.app.dev I ORT Extensions is not enabled in the current configuration. If you want to enable this support, please add "onnxruntimeEnableExtensions": "true" in your project root directory package.json.
2024-11-13 10:28:14.880 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:583 TraceSessionOptions] Session Options { execution_mode:0 execution_order:DEFAULT enable_profiling:0 optimized_model_filepath:"" enable_mem_pattern:1 enable_mem_reuse:1 enable_cpu_mem_arena:1 profile_file_prefix:onnxruntime_profile_ session_logid: session_log_severity_level:0 session_log_verbosity_level:0 max_num_graph_transformation_steps:10 graph_optimization_level:1 intra_op_param:OrtThreadPoolParams { thread_pool_size: 0 auto_set_affinity: 0 allow_spinning: 1 dynamic_block_base_: 0 stack_size: 0 affinity_str: set_denormal_as_zero: 0 } inter_op_param:OrtThreadPoolParams { thread_pool_size: 1 auto_set_affinity: 0 allow_spinning: 1 dynamic_block_base_: 0 stack_size: 0 affinity_str: set_denormal_as_zero: 0 } use_per_session_threads:1 thread_pool_allow_spinning:1 use_deterministic_compute:0 config_options: { } }
2024-11-13 10:28:14.880 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:483 operator()] Flush-to-zero and denormal-as-zero are off
2024-11-13 10:28:14.880 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:491 ConstructorCommon] Creating and using per session threadpools since use_per_session_threads_ is true
2024-11-13 10:28:14.880 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:509 ConstructorCommon] Dynamic block base set to 0
2024-11-13 10:28:14.962 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:1669 Initialize] Initializing session.
2024-11-13 10:28:14.962 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, inference_session.cc:1706 Initialize] Adding default CPU execution provider.
2024-11-13 10:28:14.967 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, graph_partitioner.cc:898 InlineFunctionsAOT] This model does not have any local functions defined. AOT Inlining is not performed
2024-11-13 10:28:14.968 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, graph_transformer.cc:15 Apply] GraphTransformer EnsureUniqueDQForNodeUnit modified: 0 with status: OK
2024-11-13 10:28:14.968 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, graph_transformer.cc:15 Apply] GraphTransformer Level1_RuleBasedTransformer modified: 1 with status: OK
2024-11-13 10:28:14.978 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, graph_transformer.cc:15 Apply] GraphTransformer DoubleQDQPairsRemover modified: 0 with status: OK
2024-11-13 10:28:14.980 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, constant_sharing.cc:248 ApplyImpl] Total shared scalar initializer count: 115
2024-11-13 10:28:14.980 22237-22563 onnxruntime ai.mykin.app.dev I [I:onnxruntime:, graph_transformer.cc:15 Apply] GraphTransformer ConstantSharing modified: 1 with status: OK
-- CRASH --
024-11-13 10:28:15.415 22237-22563 libc ai.mykin.app.dev A Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x94aed2f1 in tid 22563 (mqt_native_modu), pid 22237 (i.mykin.app.dev)
2024-11-13 10:28:15.652 22952-22952 crash_dump32 pid-22952 I obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2024-11-13 10:28:15.653 627-627 tombstoned tombstoned I received crash request for pid 22563
2024-11-13 10:28:15.653 22952-22952 crash_dump32 pid-22952 I performing dump of process 22237 (target tid = 22563)
---------------------------- PROCESS STARTED (22954) for package ai.mykin.app.dev ----------------------------
2024-11-13 10:28:16.184 22952-22952 DEBUG crash_dump32 A *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024-11-13 10:28:16.184 22952-22952 DEBUG crash_dump32 A Build fingerprint: 'samsung/a13venseea/a13ve:14/UP1A.231005.007/A137FXXU6EXG3:user/release-keys'
2024-11-13 10:28:16.184 22952-22952 DEBUG crash_dump32 A Revision: '2'
2024-11-13 10:28:16.184 22952-22952 DEBUG crash_dump32 A ABI: 'arm'
2024-11-13 10:28:16.184 22952-22952 DEBUG crash_dump32 A Processor: '7'
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A Timestamp: 2024-11-13 10:28:15.685588978+0100
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A Process uptime: 271s
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A Cmdline: ai.mykin.app.dev
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A pid: 22237, tid: 22563, name: mqt_native_modu >>> ai.mykin.app.dev <<<
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A uid: 10278
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x94aed2f1
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A r0 94aed2f0 r1 27b04ae7 r2 5bd1e995 r3 00000000
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A r4 94aed2f1 r5 94aed2d5 r6 926fb540 r7 af8dc1d8
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A r8 00000000 r9 00007925 r10 91100308 r11 926fb780
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A ip e1d82549 sp af8dc1b8 lr 6aa40112 pc afdc9c9e
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A 135 total frames
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A backtrace:
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #00 pc 003bac9e /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #01 pc 003b89f3 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #02 pc 0039ea43 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #03 pc 0039ee5f /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #04 pc 002da44d /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #05 pc 002dd4f7 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #06 pc 002bc90b /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #07 pc 002bbce9 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libonnxruntime.so (offset 0x6590000) (BuildId: 180f910a3536e8cc5a1ce19936a409dbd877ecaa)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #08 pc 000094a9 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (offset 0x2f7c000) (Java_ai_onnxruntime_OrtSession_createSession__JJLjava_lang_String_2J+60) (BuildId: 0a4f0eb583edeccc93eb9fe017fdcee5d7bae7ef)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #09 pc 0014b31d /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #10 pc 00143dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #11 pc 001bc1e1 /apex/com.android.art/lib/libart.so (void art::quick_invoke_reg_setup<true>(art::ArtMethod*, unsigned int*, unsigned int, art::Thread*, art::JValue*, char const*) (.__uniq.192663596067446536341070919852553954320.llvm.17112358095869631794)+112) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #12 pc 001bbd3f /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+134) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #13 pc 00183523 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+86) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.185 22952-22952 DEBUG crash_dump32 A #14 pc 00254eb9 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1420) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #15 pc 002c104f /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+12758) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #16 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #17 pc 0017b2a0 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.OrtSession.<init>+0)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #18 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #19 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #20 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #21 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #22 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #23 pc 00178710 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.OrtEnvironment.createSession+0)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #24 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #25 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #26 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #27 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #28 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #29 pc 00178738 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.OrtEnvironment.createSession+0)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #30 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #31 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #32 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #33 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #34 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #35 pc 0008e404 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.reactnative.OnnxruntimeModule.loadModelImpl+0)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #36 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #37 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #38 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #39 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #40 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #41 pc 0008e3e8 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.reactnative.OnnxruntimeModule.loadModel+0)
2024-11-13 10:28:16.186 22952-22952 DEBUG crash_dump32 A #42 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #43 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #44 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #45 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #46 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #47 pc 0008ead8 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (ai.onnxruntime.reactnative.OnnxruntimeModule.loadModel+0)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #48 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #49 pc 003cf11d /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #50 pc 0019280f /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+550) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #51 pc 0014b3d3 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+34) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #52 pc 00143dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #53 pc 001bbe8b /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #54 pc 0029e8f1 /apex/com.android.art/lib/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)4>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1100) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #55 pc 004c433f /apex/com.android.art/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+22) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #56 pc 0014b31d /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #57 pc 02028d09 /memfd:jit-cache (deleted) (offset 0x2000000) (com.facebook.react.bridge.JavaMethodWrapper.invoke+1928)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #58 pc 0203198f /memfd:jit-cache (deleted) (offset 0x2000000) (com.facebook.react.bridge.JavaModuleWrapper.invoke+342)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #59 pc 00143dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #60 pc 001bbe8b /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #61 pc 001d8963 /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+478) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #62 pc 0045587b /apex/com.android.art/lib/libart.so (art::JNI<true>::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+498) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #63 pc 001ebaa7 /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType) (.__uniq.99033978352804627313491551960229047428)+774) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #64 pc 003f5d75 /apex/com.android.art/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list) (.__uniq.99033978352804627313491551960229047428.llvm.11760892773454311708)+44) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #65 pc 0016ba7b /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (_JNIEnv::CallVoidMethod(_jobject*, _jmethodID*, ...)+50) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #66 pc 001926a5 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (facebook::jni::JMethod<void (int, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::ReadableNativeArray, facebook::react::NativeArray>::JavaPart, facebook::jni::HybridClass<facebook::react::NativeArray, facebook::jni::detail::BaseHybridClass>::JavaPart, void>::_javaobject*)>::operator()(facebook::jni::alias_ref<_jobject*>, int, facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::react::ReadableNativeArray, facebook::react::NativeArray>::JavaPart, facebook::jni::HybridClass<facebook::react::NativeArray, facebook::jni::detail::BaseHybridClass>::JavaPart, void>::_javaobject*) const+104) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #67 pc 00192587 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #68 pc 001924dd /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #69 pc 001924b9 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #70 pc 001924a7 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.187 22952-22952 DEBUG crash_dump32 A #71 pc 00191bd1 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #72 pc 00163ea9 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #73 pc 00163e83 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (std::__ndk1::function<void ()>::operator()() const+10) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #74 pc 0018325d /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #75 pc 00183221 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #76 pc 001831fd /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #77 pc 001831eb /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #78 pc 00182941 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libreactnativejni.so (offset 0x56ec000) (BuildId: 48a6ed92dd3f95ec)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #79 pc 0001184b /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libfbjni.so (offset 0x2f04000) (facebook::jni::detail::MethodWrapper<void (facebook::jni::JNativeRunnable::*)(), &(facebook::jni::JNativeRunnable::run()), facebook::jni::JNativeRunnable, void>::dispatch(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>)+58) (BuildId: fd0bd16cd9a2a75be30faefad2c816af2f5505d1)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #80 pc 000117c9 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk!libfbjni.so (offset 0x2f04000) (facebook::jni::detail::FunctionWrapper<void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>), facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*, void>::call(_JNIEnv*, _jobject*, void (*)(facebook::jni::alias_ref<facebook::jni::detail::JTypeFor<facebook::jni::HybridClass<facebook::jni::JNativeRunnable, facebook::jni::JRunnable>::JavaPart, facebook::jni::JRunnable, void>::_javaobject*>))+32) (BuildId: fd0bd16cd9a2a75be30faefad2c816af2f5505d1)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #81 pc 0014b31d /apex/com.android.art/lib/libart.so (art_quick_generic_jni_trampoline+44) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #82 pc 00143dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #83 pc 001bbe8b /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #84 pc 00183523 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+86) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #85 pc 00254893 /apex/com.android.art/lib/libart.so (art::PerformCall(art::Thread*, art::CodeItemDataAccessor const&, art::ArtMethod*, unsigned int, art::ShadowFrame*, art::JValue*, bool)+74) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #86 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #87 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #88 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #89 pc 002044b0 /system/framework/framework.jar (android.os.Handler.handleCallback+0)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #90 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #91 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #92 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #93 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #94 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #95 pc 002042f8 /system/framework/framework.jar (android.os.Handler.dispatchMessage+0)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #96 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #97 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #98 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #99 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.188 22952-22952 DEBUG crash_dump32 A #100 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #101 pc 00430e28 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage+0)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #102 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #103 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #104 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #105 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #106 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #107 pc 00238658 /system/framework/framework.jar (android.os.Looper.loopOnce+0)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #108 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #109 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #110 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #111 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #112 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #113 pc 00238e94 /system/framework/framework.jar (android.os.Looper.loop+0)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #114 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #115 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #116 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #117 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #118 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #119 pc 00430f54 /data/app/~~WysbYd12p1drZY0tzOF3kQ==/ai.mykin.app.dev-q8PbQm43FjYnHYv2D04m1A==/base.apk (com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run+0)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #120 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #121 pc 003cf189 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #122 pc 00254317 /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+322) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #123 pc 002c223d /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+17348) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #124 pc 0014be75 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #125 pc 0000308c [anon:dalvik-/apex/com.android.art/javalib/core-oj.jar-transformed] (java.lang.Thread.run+0)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #126 pc 003ca41d /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.15341656921349247410)+476) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #127 pc 003cf11d /apex/com.android.art/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+76) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #128 pc 0019280f /apex/com.android.art/lib/libart.so (artQuickToInterpreterBridge+550) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #129 pc 0014b3d3 /apex/com.android.art/lib/libart.so (art_quick_to_interpreter_bridge+34) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.189 22952-22952 DEBUG crash_dump32 A #130 pc 00143dd5 /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.190 22952-22952 DEBUG crash_dump32 A #131 pc 001bbe8b /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+466) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.190 22952-22952 DEBUG crash_dump32 A #132 pc 00235aff /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+2070) (BuildId: d963fb24d06855807a6574ea74a2cf53)
2024-11-13 10:28:16.190 22952-22952 DEBUG crash_dump32 A #133 pc 000ad29f /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40) (BuildId: ac29b057fca6aa7ac9a9161d7c6d401f)
2024-11-13 10:28:16.190 22952-22952 DEBUG crash_dump32 A #134 pc 00063d1b /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30) (BuildId: ac29b057fca6aa7ac9a9161d7c6d401f)
Thanks for the output. I don't think the ConstantSharing optimizer is to blame - no suspicious casts there and it's pointing multiple usages of the same initializer values to a single location so the data alignment should be unchanged.
I believe the following optimizer is the issue.
There are a few places where the CommonSubexpressionElimination optimizer reinterpret_casts
's the onnx::TensorProto raw_data().data()
pointer. Unfortunately TensorProto::raw_data
is a std::string so data() is char* aligned.
and
The latter appears to be the issue with your model.
This has been seen before in the ONNX shape inferencing, so I think we need the same fix here of calling onnx::ParseData instead of casting.
Describe the issue
Issue Description
When attempting to initialize an ONNX Runtime inference session on a Samsung A13 (SM-A137F) with MediaTek MT6833 Dimensity 700 processor (ARM32 - armeabi-v7a), the app crashes with an OpenCV assertion error regarding missing CPU baseline features. This happens in even when using minimal CPU-only configuration options or any other set of options.
Error Message
Expected Behavior
The inference session should initialize successfully with fallback to basic CPU features when advanced CPU features are not available.
Additional Context
To reproduce
We are using the embedding model
jina-embeddings-v2-small-en-quantized
(available on HF)Urgency
No response
Platform
Android
OS Version
14
ONNX Runtime Installation
Released Package
Compiler Version (if 'Built from Source')
No response
Package Name (if 'Released Package')
onnxruntime-react-native
ONNX Runtime Version or Commit ID
1.17.0
ONNX Runtime API
Java/Kotlin
Architecture
ARM32
Execution Provider
Default CPU
Execution Provider Library Version
No response