fluttercommunity / fluttercommunity/flutter_webview_plugin
Long press (on any text) in web view app crashes for android samsung device
- Lenguaje dominante
- Java
- Estrellas
- 1.5k
- Forks
- 938
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
#01 pc 0000783d /system/lib/libtextclassifier.so (_ZNSt3__16vectorIfNS_9allocatorIfEEE6assignIPKfEENS_9enable_ifIXaasr21__is_forward_iteratorIT_EE5valuesr16is_constructibleIfNS_15iterator_traitsIS8_E9referenceEEE5valueEvE4typeES8_S8_+118)
#02 pc 0000763d /system/lib/libtextclassifier.so (libtextclassifier::nlp_core::(anonymous namespace)::SparseReluProductPlusBias(bool, bool, std::__1::vector::allocator> const&, libtextclassifier::nlp_core::EmbeddingNetwork const&, libt
#03 pc 00006827 /system/lib/libtextclassifier.so (libtextclassifier::nlp_core::EmbeddingNetwork::FinishComputeFinalScoresInternal(bool, libtextclassifier::VectorSpan const&, std::__1::vector const&::allocator>*) const+126)
#04 pc 00013a0f /system/lib/libtextclassifier.so (libtextclassifier::TextClassificationModel::InferInternal(std::__1::basic_string, std::__1::allocator> const&, std::__1::pair, libtextclassifier::FeatureProcessor const&, libtextclassifier::nlp_core::EmbeddingNetwork const&, std::__1::function> const&, std::__1::vector> const&, float*)> const&, std::__1::vector, std::__1::allocator> const&, std::__1::pair, int) const+266)
#06 pc 00017dff /system/lib/libtextclassifier.so (Java_android_view_textclassifier_SmartSelection_nativeClassifyText+46)
#07 pc 0120a7c3 /system/framework/arm/boot-framework.oat (offset 0x63b000) (android.view.textclassifier.SmartSelection.nativeClassifyText+154)
#08 pc 0040d975 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#09 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)*
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo una pulsación larga sobre texto en la Flutter WebView en el dispositivo Samsung indicado y Android 8.1.0; después, compara el stack del crash a través de android.view.textclassifier.SmartSelection y libtextclassifier.so. Se considera completado cuando la misma interacción ya no provoca un crash en la configuración afectada, con verificación en cualquier target de Android disponible.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, java
- Área
- mobile-dev
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100