Hi,
This is my first post. I come from the Java world and am a Python/pyTorch newbie.
I was able to train the network I want to use in my Android app and produce the .pth file for the network using torchScript (following Model Preparation for Android Recipe — PyTorch Tutorials 2.1.0+cu121 documentation).
I added code to load the network and run it to my Android app.
When I run the app, inference crashes when attempting to load the module.
The error is
libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR)
A debug log is produced (see below).
Here are the pyTorch related code fragments from the app:
//tmpData contains the input dataset
float[] flat = ArrayUtil.flattenFloatArray(tmpData);
final long[] shapeArrDataPytorchFlattened = new long[]{1, flat.length};
arrDataPytorch = Tensor.fromBlob(flat, shapeArrDataPytorchFlattened);
mModule = Module.load(moduleFileAbsoluteFilePath);
final Tensor outputTensor = mModule.forward(IValue.from(arrDataPytorch)).toTensor();
final float[] scores = outputTensor.getDataAsFloatArray();
I searched for
libc: Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR) “pytorch”
it did not yield any results I found helpful to resolve my problem.
mModule = Module.load(moduleFileAbsoluteFilePath);
I admit that I have no clue what the debug log reports. Could someone help me understand what happened?
DEBUG LOG
10-18 12:54:26.629: A/libc(5595): Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x6c28433000 in tid 5622 (Thread-2), pid 5595 (lNetworkService)
10-18 12:54:26.676: I/crash_dump64(7136): obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
10-18 12:54:26.677: I/tombstoned(684): received crash request for pid 5622
10-18 12:54:26.680: I/crash_dump64(7136): performing dump of process 5595 (target tid = 5622)
10-18 12:54:26.688: E/DEBUG(7136): failed to read /proc/uptime: Permission denied
10-18 12:54:26.864: A/DEBUG(7136): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-18 12:54:26.864: A/DEBUG(7136): Build fingerprint: 'Fairphone/FP4eea/FP4:12/SKQ1.220201.001/SP2K:user/release-keys'
10-18 12:54:26.864: A/DEBUG(7136): Revision: '0'
10-18 12:54:26.864: A/DEBUG(7136): ABI: 'arm64'
10-18 12:54:26.864: A/DEBUG(7136): Timestamp: 2023-10-18 12:54:26.687588970+0200
10-18 12:54:26.864: A/DEBUG(7136): Process uptime: 0s
10-18 12:54:26.864: A/DEBUG(7136): Cmdline: com.android.contextq:ContextQNeuralNetworkService
10-18 12:54:26.864: A/DEBUG(7136): pid: 5595, tid: 5622, name: Thread-2 >>> com.android.contextq:ContextQNeuralNetworkService <<<
10-18 12:54:26.864: A/DEBUG(7136): uid: 10207
10-18 12:54:26.864: A/DEBUG(7136): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x6c28433000
10-18 12:54:26.865: A/DEBUG(7136): x0 0000006c2842f6a0 x1 0000006c2842e9b8 x2 0000000000000001 x3 b400006d5c7f29b0
10-18 12:54:26.865: A/DEBUG(7136): x4 0000006c2842f6a0 x5 0000006bf6790be0 x6 fefeff8ca3fc9b0a x7 7f7f7fffffffff7f
10-18 12:54:26.865: A/DEBUG(7136): x8 0000006c28433000 x9 ed61a80466e7daef x10 0000000000004001 x11 0000000000000000
10-18 12:54:26.865: A/DEBUG(7136): x12 0000000000000000 x13 0000000000000001 x14 ffffffffffffffff x15 0000000000000010
10-18 12:54:26.865: A/DEBUG(7136): x16 0000006bf3eb8260 x17 0000006fcd5c6140 x18 0000006bfb534000 x19 0000006c2842e9b8
10-18 12:54:26.865: A/DEBUG(7136): x20 0000006c2842ead8 x21 0000006c28433000 x22 0000000000000002 x23 0000006c2842f6a0
10-18 12:54:26.865: A/DEBUG(7136): x24 0000000000000000 x25 0000006c28430800 x26 0000006c28430670 x27 0000006c28433000
10-18 12:54:26.865: A/DEBUG(7136): x28 0000000000000001 x29 0000006c2842e990
10-18 12:54:26.865: A/DEBUG(7136): lr 0000006bf6794b28 sp 0000006c2842e990 pc 0000006c28433000 pst 0000000000001000
10-18 12:54:26.865: A/DEBUG(7136): backtrace:
10-18 12:54:26.865: A/DEBUG(7136): #00 pc 0000000000104000 [anon:stack_and_tls:5622]
10-18 12:54:26.865: A/DEBUG(7136): #01 pc 00000000000eab24 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libc++_shared.so (BuildId: a59088f9640cd272bc9542d94dc84a0c88afd558)
10-18 12:54:26.865: A/DEBUG(7136): #02 pc 00000000000ea818 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libc++_shared.so (BuildId: a59088f9640cd272bc9542d94dc84a0c88afd558)
10-18 12:54:26.865: A/DEBUG(7136): #03 pc 00000000000e6e30 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libc++_shared.so (BuildId: a59088f9640cd272bc9542d94dc84a0c88afd558)
10-18 12:54:26.865: A/DEBUG(7136): #04 pc 00000000000e6cc0 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libc++_shared.so (__gxx_personality_v0+224) (BuildId: a59088f9640cd272bc9542d94dc84a0c88afd558)
10-18 12:54:26.865: A/DEBUG(7136): #05 pc 0000000003808300 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #06 pc 0000000003808808 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #07 pc 000000000366bcd4 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+172) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #08 pc 00000000029693f0 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (caffe2::serialize::PyTorchStreamReader::valid(char const*, char const*)+156) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #09 pc 000000000296a1a0 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (caffe2::serialize::PyTorchStreamReader::getRecordID(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+124) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #10 pc 0000000002969654 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (caffe2::serialize::PyTorchStreamReader::getRecord(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+148) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #11 pc 000000000312e500 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (torch::jit::readArchiveAndTensors(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, c10::optional<std::__ndk1::function<c10::StrongTypePtr (c10::QualifiedName const&)> >, c10::optional<std::__ndk1::function<c10::intrusive_ptr<c10::ivalue::Object, c10::detail::intrusive_target_default_null_type<c10::ivalue::Object> > (c10::StrongTypePtr const&, c10::IValue)> >, c10::optional<c10::Device>, caffe2::serialize::PyTorchStreamReader&, c10::Type::SingletonOrSharedTypePtr<c10::Type> (*)(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&), std::__ndk1::shared_ptr<torch::jit::DeserializationStorageContext>)+192) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #12 pc 0000000003118bf0 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #13 pc 0000000003110e20 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #14 pc 0000000003113a40 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (torch::jit::import_ir_module(std::__ndk1::shared_ptr<torch::jit::CompilationUnit>, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, c10::optional<c10::Device>, std::__ndk1::unordered_map<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > >, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > >&, bool, bool)+776) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #15 pc 0000000003114e30 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (torch::jit::load(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, c10::optional<c10::Device>, std::__ndk1::unordered_map<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > >, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > >, std::__ndk1::allocator<std::__ndk1::pair<std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > > > >&, bool)+148) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #16 pc 000000000066feb0 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (pytorch_jni::PytorchJni::PytorchJni(facebook::jni::alias_ref<_jstring*>, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >, int)+496) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #17 pc 000000000066faec /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (facebook::jni::basic_strong_ref<facebook::jni::detail::HybridData, facebook::jni::LocalReferenceAllocator> facebook::jni::HybridClass<pytorch_jni::PytorchJni, facebook::jni::detail::BaseHybridClass>::makeCxxInstance<facebook::jni::alias_ref<_jstring*>&, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >&, int&>(facebook::jni::alias_ref<_jstring*>&, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >&, int&)+96) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #18 pc 000000000066f984 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (pytorch_jni::PytorchJni::initHybrid(facebook::jni::alias_ref<_jclass*>, facebook::jni::alias_ref<_jstring*>, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >, int)+56) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #19 pc 000000000066fa14 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/base.apk!libpytorch_jni.so (facebook::jni::detail::FunctionWrapper<facebook::jni::basic_strong_ref<facebook::jni::detail::JTypeFor<facebook::jni::detail::HybridData, facebook::jni::JObject, void>::_javaobject*, facebook::jni::LocalReferenceAllocator> (*)(facebook::jni::alias_ref<_jclass*>, facebook::jni::alias_ref<_jstring*>, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >, int), _jclass*, facebook::jni::basic_strong_ref<facebook::jni::detail::JTypeFor<facebook::jni::detail::HybridData, facebook::jni::JObject, void>::_javaobject*, facebook::jni::LocalReferenceAllocator>, facebook::jni::alias_ref<_jstring*>, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >, int>::call(_JNIEnv*, _jobject*, _jstring*, facebook::jni::detail::JTypeFor<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString>, facebook::jni::JObject, void>::_javaobject*, int, facebook::jni::basic_strong_ref<facebook::jni::detail::JTypeFor<facebook::jni::detail::HybridData, facebook::jni::JObject, void>::_javaobject*, facebook::jni::LocalReferenceAllocator> (*)(facebook::jni::alias_ref<_jclass*>, facebook::jni::alias_ref<_jstring*>, facebook::jni::alias_ref<facebook::jni::JMap<facebook::jni::JString, facebook::jni::JString> >, int))+96) (BuildId: 7f6c1256ae63cd16c1787429611d4930ad9e3888)
10-18 12:54:26.865: A/DEBUG(7136): #20 pc 000000000034dc30 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #21 pc 0000000000337480 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #22 pc 0000000000519914 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+2364) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #23 pc 00000000004a31ac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #24 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #25 pc 0000000003dc1b38 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/oat/arm64/base.vdex (org.pytorch.NativePeer.<init>+0)
10-18 12:54:26.865: A/DEBUG(7136): #26 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #27 pc 000000000051a45c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #28 pc 00000000004a3274 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2040) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #29 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #30 pc 0000000003dc1a70 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/oat/arm64/base.vdex (org.pytorch.Module.load+0)
10-18 12:54:26.865: A/DEBUG(7136): #31 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #32 pc 000000000051a45c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #33 pc 00000000004a31ac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #34 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #35 pc 0000000003dc1a50 /data/app/~~ZkOf9by7LZhZ5LJbfzPQeA==/com.android.contextq-GqEEz7RZdo46XVXZXV3xVQ==/oat/arm64/base.vdex (org.pytorch.Module.load+0)
10-18 12:54:26.865: A/DEBUG(7136): #36 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #37 pc 000000000051a45c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #38 pc 00000000004a31ac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #39 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #40 pc 0000000000010934 /data/data/com.android.contextq/code_cache/.overlay/base.apk/classes15.dex (com.android.contextq.neuralnetwork.NeuralNetworkService.neuralNetworkloadAndRunPytorch+0)
10-18 12:54:26.865: A/DEBUG(7136): #41 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #42 pc 000000000051a45c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #43 pc 00000000004a31ac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #44 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #45 pc 0000000000008288 /data/data/com.android.contextq/code_cache/.overlay/base.apk/classes15.dex (com.android.contextq.neuralnetwork.NeuralNetworkService$NeuralNetworkServiceRunnable.run+0)
10-18 12:54:26.865: A/DEBUG(7136): #46 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #47 pc 000000000051a45c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+5252) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #48 pc 00000000004a3ce8 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4716) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #49 pc 00000000003503d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #50 pc 000000000000308c [anon:dalvik-/apex/com.android.art/javalib/core-oj.jar-transformed] (java.lang.Thread.run+0)
10-18 12:54:26.865: A/DEBUG(7136): #51 pc 000000000036c700 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.3816585244953842104)+232) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #52 pc 000000000036bff8 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #53 pc 000000000034dd68 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #54 pc 00000000003371a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #55 pc 000000000023ea64 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #56 pc 000000000054436c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) (BuildId: a5fcf27f4a71b07dff05c648ad58e3cd)
10-18 12:54:26.865: A/DEBUG(7136): #57 pc 00000000000b6a24 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: 369edc656806aeaf384cbeb8f7a347af)
10-18 12:54:26.865: A/DEBUG(7136): #58 pc 00000000000532bc /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 369edc656806aeaf384cbeb8f7a347af)