Skip to content
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

Long press (on any text) in web view app crashes for android samsung device #719

Open
PrakashJagan opened this issue Apr 20, 2020 · 0 comments

Comments

@PrakashJagan
Copy link

PrakashJagan commented Apr 20, 2020

App crashes in android samsung device (OS version: 8.1.0), when text is long pressed in flutter webview.

Build fingerprint: 'samsung/on7xeltedd/on7xelte:8.1.0/M1AJQ/G610FDDU1CSK2:user/release-keys'
Revision: '3'
ABI: 'arm'
pid: 11452, tid: 15463, name: ThreadPoolForeg >>>
signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xc30fe8e8
r0 c7a4f280 r1 c30fe8e8 r2 00000140 r3 00000000
r4 bd1766c8 r5 c30fea68 r6 c30fe8e8 r7 c30fea68
r8 00000180 r9 c7a4f280 sl 00000060 fp c30fea68
ip e98545c8 sp b9b7dfb0 lr baa54841 pc e97dbf08 cpsr 200d0010
backtrace:
#00 pc 00018f08 /system/lib/libc.so (memcpy+96)
#1 pc 0000783d /system/lib/libtextclassifier.so (ZNSt3__16vectorIfNS_9allocatorIfEEE6assignIPKfEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIfNS_15iterator_traitsIS8_E9referenceEEE5valueEvE4typeES8_S8+118)
#2 pc 0000763d /system/lib/libtextclassifier.so (libtextclassifier::nlp_core::(anonymous namespace)::SparseReluProductPlusBiaslibtextclassifier::nlp_core::SimpleAdder(bool, bool, std::__1::vector<libtextclassifier::nlp_core::EmbeddingNetwork::VectorWrapper, libtextclassifier::nlp_core::(anonymous namespace)::SparseReluProductPlusBiaslibtextclassifier::nlp_core::SimpleAdder::allocatorlibtextclassifier::nlp_core::EmbeddingNetwork> const&, libtextclassifier::nlp_core::EmbeddingNetwork const&, libt
#3 pc 00006827 /system/lib/libtextclassifier.so (libtextclassifier::nlp_core::EmbeddingNetwork::FinishComputeFinalScoresInternallibtextclassifier::nlp_core::SimpleAdder(bool, libtextclassifier::VectorSpan const&, std::__1::vector<float, libtextclassifier::VectorSpan const&::allocator>
) const+126)
#4 pc 00013a0f /system/lib/libtextclassifier.so (libtextclassifier::TextClassificationModel::InferInternal(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, std::__1::pair<int, int>, libtextclassifier::FeatureProcessor const&, libtextclassifier::nlp_core::EmbeddingNetwork const&, std::__1::function<bool (std::__1::vector<int, std::__1::allocator> const&, std::__1::vector<float, std::__1::allocator> const&, float*)> const&, std::_1::vector<std::
#5 pc 000143df /system/lib/libtextclassifier.so (libtextclassifier::TextClassificationModel::ClassifyText(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, std::__1::pair<int, int>, int) const+266)
#6 pc 00017dff /system/lib/libtextclassifier.so (Java_android_view_textclassifier_SmartSelection_nativeClassifyText+46)
#7 pc 0120a7c3 /system/framework/arm/boot-framework.oat (offset 0x63b000) (android.view.textclassifier.SmartSelection.nativeClassifyText+154)
#8 pc 0040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#9 pc 00412beb /system/lib/libart.so (art_quick_invoke_static_stub+226)
#10 pc 000b065d /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+180)
#11 pc 00204641 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+224)
#12 pc 002007ad /system/lib/libart.so (_ZN3art11interpreter6DoCallILb1ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+468)
#13 pc 003f9d7f /system/lib/libart.so (MterpInvokeStaticRange+122)
#14 pc 00400214 /system/lib/libart.so (ExecuteMterpImpl+15380)
#15 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#16 pc 001eb9ab /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)
#17 pc 001ffb71 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+564)
#18 pc 003f7b87 /system/lib/libart.so (MterpInvokeVirtual+482)
#19 pc 003ffd94 /system/lib/libart.so (ExecuteMterpImpl+14228)
#20 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#21 pc 001eb9ab /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)
#22 pc 001ffb71 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+564)
#23 pc 003f8769 /system/lib/libart.so (MterpInvokeInterface+1080)
#24 pc 003fff94 /system/lib/libart.so (ExecuteMterpImpl+14740)
#25 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#26 pc 001eb9ab /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)
#27 pc 001ffb71 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+564)
#28 pc 003f7b87 /system/lib/libart.so (MterpInvokeVirtual+482)
#29 pc 003ffd94 /system/lib/libart.so (ExecuteMterpImpl+14228)
#30 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#31 pc 001eb9ab /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)
#32 pc 001ffb71 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+564)
#33 pc 003f8769 /system/lib/libart.so (MterpInvokeInterface+1080)
#34 pc 003fff94 /system/lib/libart.so (ExecuteMterpImpl+14740)
#35 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#36 pc 001eb9ab /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*, art::JValue*)+142)
#37 pc 001ffb71 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+564)
#38 pc 003f8769 /system/lib/libart.so (MterpInvokeInterface+1080)
#39 pc 003fff94 /system/lib/libart.so (ExecuteMterpImpl+14740)
#40 pc 001e71fd /system/lib/libart.so (art::interpreter::Execute(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue, bool)+340)
#41 pc 001eb8f9 /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame*)+92)
#42 pc 003ed5ab /system/lib/libart.so (artQuickToInterpreterBridge+934)
#43 pc 00411ef1 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
#44 pc 0040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#45 pc 00412ae5 /system/lib/libart.so (art_quick_invoke_stub+228)
#46 pc 000b0633 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+138)
#47 pc 00360589 /system/lib/libart.so (art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgArray*, art::JValue*, char const*)+52)
#48 pc 00361541 /system/lib/libart.so (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+316)
#49 pc 00290ab3 /system/lib/libart.so (art::JNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+438)
#50 pc 000d9297 /system/lib/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType)+1094)
#51 pc 000cac97 /system/lib/libart.so (art::CheckJNI::CallVoidMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+42)
#52 pc 019155e9 /data/app/com.android.chrome-cnjNgwDxc0gZ6xppiqGDPg==/base.apk (offset 0xbd4000)*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant