Closed sayedmoataz closed 5 months ago
D/Activity(14650): dispatchKeyEvent to com.metachain.speakgpt.speak.MainActivity@586aaaa will call onBackPressed
I/flutter (14650): onChange -- HomePageCubit, Change { currentState: Instance of 'ProcessImageLoadingState', nextState: Instance of 'ProcessImageSuccessState' }
I/flutter (14650): onChange -- HomePageCubit, Change { currentState: Instance of 'ProcessImageSuccessState', nextState: Instance of 'ProcessImageLoadingState' }
I/flutter (14650): onChange -- HomePageCubit, Change { currentState: Instance of 'ProcessImageLoadingState', nextState: Instance of 'ProcessImageSuccessState' }
I/flutter (14650): onChange -- HomePageCubit, Change { currentState: Instance of 'ProcessImageSuccessState', nextState: Instance of 'ProcessImageLoadingState' }
I/Camera (14650): startPreview
I/OplusCameraManagerGlobal(14650): setIsCameraUnitSession E
D/BufferQueueProducer(14650): [SurfaceTexture-0-14650-15](id:393a0000002f,api:4,p:2144,c:14650) disconnect: api 4
D/BufferQueueProducer(14650): [ImageReader-1280x720f23m1-14650-31](id:393a00000031,api:4,p:2144,c:14650) disconnect: api 4
D/BufferQueueProducer(14650): [SurfaceTexture-0-14650-15](id:393a0000002f,api:4,p:2144,c:14650) connect: api=4 producerControlledByApp=true
I/Camera (14650): CameraCaptureSession onConfigured
I/Camera (14650): Updating builder settings
D/Camera (14650): Updating builder with feature: ExposureLockFeature
D/Camera (14650): Updating builder with feature: ExposurePointFeature
I/flutter (14650): onChange -- HomePageCubit, Change { currentState: Instance of 'ProcessImageLoadingState', nextState: Instance of 'ProcessImageSuccessState' }
D/Camera (14650): Updating builder with feature: ZoomLevelFeature
D/Camera (14650): Updating builder with feature: AutoFocusFeature
D/Camera (14650): Updating builder with feature: NoiseReductionFeature
I/Camera (14650): updateNoiseReduction | currentSetting: fast
D/Camera (14650): Updating builder with feature: FocusPointFeature
D/Camera (14650): Updating builder with feature: ResolutionFeature
D/Camera (14650): Updating builder with feature: SensorOrientationFeature
D/Camera (14650): Updating builder with feature: FlashFeature
D/Camera (14650): Updating builder with feature: ExposureOffsetFeature
D/Camera (14650): Updating builder with feature: FpsRangeFeature
I/Camera (14650): refreshPreviewCaptureSession
I/Camera (14650): dispose
I/Camera (14650): close
D/BufferQueueProducer(14650): [ImageReader-1280x720f21m1-14650-30](id:393a00000030,api:4,p:2144,c:14650) disconnect: api 4
D/BufferQueueProducer(14650): [SurfaceTexture-0-14650-15](id:393a0000002f,api:4,p:2144,c:14650) disconnect: api 4
E/CameraManagerGlobal(14650): Camera 4 is not present. Ignore physical camera status change
D/BufferQueueConsumer(14650): [ImageReader-1280x720f21m1-14650-30](id:393a00000030,api:0,p:-1,c:14650) disconnect
D/BufferQueueConsumer(14650): [ImageReader-1280x720f23m1-14650-31](id:393a00000031,api:0,p:-1,c:14650) disconnect
D/BufferQueueConsumer(14650): [SurfaceTexture-0-14650-15](id:393a0000002f,api:0,p:-1,c:14650) disconnect
F/libc (14650): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x74b2677604 in tid 20894 (CameraBackgroun), pid 14650 (.speakgpt.speak)
Process name is com.metachain.speakgpt.speak, not key_process
keyProcess: 0
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'realme/RMX3472/RE54CBL1:14/UKQ1.230924.001/S.17033f6_3ac8c_566c9:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2024-05-06 16:46:09.488284258+0300
Process uptime: 604s
Cmdline: com.metachain.speakgpt.speak
pid: 14650, tid: 20894, name: CameraBackgroun >>> com.metachain.speakgpt.speak <<<
uid: 10396
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000074b2677604
x0 b40000755355f500 x1 00000000715c6d80 x2 00000074b2677604 x3 00000000000f7604
x4 00000074b2677604 x5 0000000000000001 x6 0000000000000500 x7 00000075757f525d
x8 b40000757ea14c00 x9 0000000000000000 x10 00000074e11f86a8 x11 b40000756004d650
x12 00000074e11f89a8 x13 00000074e11f874c x14 b40000756004d650 x15 0000007576dee830
x16 0000000000000000 x17 0000000000000000 x18 000000747f7c2000 x19 b40000756004cc00
x20 0000000000000000 x21 b40000756004ccc8 x22 b40000755355f500 x23 0000000000000000
x24 0000000000000000 x25 0000000000000404 x26 0000000000000001 x27 00000000000f7200
x28 0000000000000293 x29 00000000000002d0
lr 000000009d325dcc sp 00000074e11f8850 pc 00000075682f5bb0 pst 0000000080001000
63 total frames
backtrace:
#00 pc 0000000000035bb0 /apex/com.android.art/lib64/libjavacore.so (Memory_peekByte(_JNIEnv*, _jclass*, long)+0) (BuildId: 1467928e917310ec89205f7a4bdf117c)
#01 pc 0000000002004dc8 /memfd:jit-cache (deleted) (offset 0x2000000) (art_jni_trampoline+120)
#02 pc 0000000002005438 /memfd:jit-cache (deleted) (offset 0x2000000) (java.nio.DirectByteBuffer.get+72)
#03 pc 00000000020059f8 /memfd:jit-cache (deleted) (offset 0x2000000) (java.nio.DirectByteBuffer.get+216)
#04 pc 0000000002006358 /memfd:jit-cache (deleted) (offset 0x2000000) (io.flutter.plugins.camera.media.ImageStreamReaderUtils.unpackPlane+408)
#05 pc 000000000033b680 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#06 pc 0000000000378c88 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+416) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#07 pc 0000000000378438 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, bool, art::JValue*)+1960) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#08 pc 0000000000494308 /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+14080) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#09 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#10 pc 0000000000001f0c [anon:dalvik-classes14.dex extracted in memory from /data/app/~~0wVyZxfnM1KsPHCFkZYm4g==/com.metachain.speakgpt.speak-DL7-kqsaGbAVaIS9Bv4utg==/base.apk!classes14.dex] (io.flutter.plugins.camera.media.ImageStreamReaderUtils.yuv420ThreePlanesToNV21+0)
#11 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#12 pc 000000000036dfe4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#13 pc 0000000000351f68 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#14 pc 000000000201e9ac /memfd:jit-cache (deleted) (offset 0x2000000) (io.flutter.plugins.camera.media.ImageStreamReader.parsePlanesForNv21+364)
#15 pc 00000000020076d8 /memfd:jit-cache (deleted) (offset 0x2000000) (io.flutter.plugins.camera.media.ImageStreamReader.onImageAvailable+232)
#16 pc 000000000033b3a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#17 pc 0000000000511590 /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*)+1976) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#18 pc 0000000000490ffc /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#19 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#20 pc 00000000000022c0 [anon:dalvik-classes14.dex extracted in memory from /data/app/~~0wVyZxfnM1KsPHCFkZYm4g==/com.metachain.speakgpt.speak-DL7-kqsaGbAVaIS9Bv4utg==/base.apk!classes14.dex] (io.flutter.plugins.camera.media.ImageStreamReader.lambda$subscribeListener$2$io-flutter-plugins-camera-media-ImageStreamReader+0)
#21 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#22 pc 000000000036dfe4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#23 pc 0000000000351f68 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#24 pc 000000000202ea04 /memfd:jit-cache (deleted) (offset 0x2000000) (io.flutter.plugins.camera.media.ImageStreamReader$$ExternalSyntheticLambda0.onImageAvailable+180)
#25 pc 000000000033b3a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#26 pc 0000000000511590 /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*)+1976) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#27 pc 0000000000491eac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#28 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#29 pc 000000000043692c /system/framework/framework.jar (android.media.ImageReader$1.run+0)
#30 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#31 pc 000000000051225c /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: 7ece79c15d80914c83e60c9e93ac1684)
#32 pc 0000000000491eac /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#33 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#34 pc 00000000001fba68 /system/framework/framework.jar (android.os.Handler.handleCallback+0)
#35 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#36 pc 000000000051225c /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: 7ece79c15d80914c83e60c9e93ac1684)
#37 pc 000000000049136c /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#38 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#39 pc 00000000001fb8b0 /system/framework/framework.jar (android.os.Handler.dispatchMessage+0)
#40 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#41 pc 000000000051225c /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: 7ece79c15d80914c83e60c9e93ac1684)
#42 pc 0000000000490ffc /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#43 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#44 pc 0000000000223dcc /system/framework/framework.jar (android.os.Looper.loopOnce+0)
#45 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#46 pc 000000000051225c /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: 7ece79c15d80914c83e60c9e93ac1684)
#47 pc 000000000049136c /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#48 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#49 pc 00000000002246b0 /system/framework/framework.jar (android.os.Looper.loop+0)
#50 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#51 pc 000000000051225c /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: 7ece79c15d80914c83e60c9e93ac1684)
#52 pc 000000000049136c /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#53 pc 00000000003545d8 /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#54 pc 00000000001faef0 /system/framework/framework.jar (android.os.HandlerThread.run+0)
#55 pc 000000000036e6ec /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.9545667076320299271)+232) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#56 pc 000000000036dfe4 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#57 pc 0000000000351f68 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#58 pc 000000000033b3a4 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#59 pc 000000000023a5d0 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+144) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#60 pc 0000000000539b2c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
#61 pc 0000000000104fc4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: d1a98b526f2f94260a53c3055979a4f6)
#62 pc 000000000009e764 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: d1a98b526f2f94260a53c3055979a4f6)
Lost connection to device.
Exited.
Please follow the template to report an issue/bug.
I've an issue while trying the example app for text recognition the crashed this my logs
I'm actually using the example for text recognition app without any edits on code how could I solve it or what's the error ?
my flutter doctor -v