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

Example APP crashed in Android #627

Open
sayedmoataz opened this issue May 11, 2024 · 1 comment
Open

Example APP crashed in Android #627

sayedmoataz opened this issue May 11, 2024 · 1 comment

Comments

@sayedmoataz
Copy link

Did you try our example app?

Yes

Title: Example APP crashed in Android

Describe the bug

I/flutter (27753): onChange -- HomePageCubit, Change { currentState: Instance of 'GetUserDataSuccessState', nextState: Instance of 'ProcessImageLoadingState' }
I/DynamiteModule(27753): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule(27753): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.JobInfoScheduler(27753): Scheduling upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=-1701566388 in 164988ms(Backend next call timestamp 1714987412963). Attempt 1
D/CompatibilityChangeReporter(27753): Compat change id reported: 194532703; UID 10396; state: ENABLED
D/CompatibilityChangeReporter(27753): Compat change id reported: 253665015; UID 10396; state: DISABLED
D/TransportRuntime.JobInfoScheduler(27753): Scheduling upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=-1696585651 in 86400000ms(Backend next call timestamp 1714714443388). Attempt 1
I/native  (27753): I0000 00:00:1714987247.999985    1207 asset_manager_util.cc:59] Created global reference to asset manager.
D/TransportRuntime.SQLiteEventStore(27753): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
I/Manager (27753): DeviceManager::DeviceManager
W/ServerFlag(27753): Failed to parse result of GetServerConfigurableFlag, errno=34
I/Manager (27753): findAvailableDevices
D/TransportRuntime.JobInfoScheduler(27753): Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
W/libc    (27753): Access denied finding property "ro.hardware.chipname"
I/native  (27753): I0000 00:00:1714987248.147506    1213 resource_manager.cc:23] Number of optimal threads: 2
I/native  (27753): I0000 00:00:1714987248.148357    1212 text_detector_thread_pool_context.cc:38] Compute manager max in flight region detector overwrite: 1
I/native  (27753): I0000 00:00:1714987248.150768    1213 text_classifier.cc:32] Creating classifier TfliteTextClassifier
I/native  (27753): I0000 00:00:1714987248.150947    1212 common_util.h:38] Resizing Thread Pool: ocr_det_0 to 3
I/native  (27753): I0000 00:00:1714987248.151023    1213 common_util.h:38] Resizing Thread Pool: ocr_segm to 3
I/native  (27753): I0000 00:00:1714987248.153004    1213 tflite_lstm_client_base.cc:372] Resizing interpreter pool to 4
I/tflite  (27753): Initialized TensorFlow Lite runtime.
I/native  (27753): I0000 00:00:1714987248.153510    1212 tflite_detector_client_with_shape_cache.cc:71] Interpreter threads: 2
I/tflite  (27753): Created TensorFlow Lite XNNPACK delegate for CPU.
I/tflite  (27753): Replacing 44 out of 46 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 3 partitions for the whole graph.
I/native  (27753): I0000 00:00:1714987248.156373    1212 tflite_detector_client_with_shape_cache.cc:102] Caching size: 10
I/native  (27753): I0000 00:00:1714987248.157428    1213 multi_pass_line_recognition_mutator.cc:312] Preloading recognizers.
I/native  (27753): I0000 00:00:1714987248.157686    1213 multi_pass_line_recognition_mutator.cc:319] Preloading a recognizer for "Latn"
I/native  (27753): I0000 00:00:1714987248.158021    1212 tflite_model_pooled_runner.cc:535] Loading mlkit-google-ocr-models/gocr/layout/line_splitting_custom_ops/model.tflite
I/native  (27753): I0000 00:00:1714987248.158201    1212 tflite_model_pooled_runner.cc:649] Resizing interpreter pool to 1
I/native  (27753): I0000 00:00:1714987248.158574    1212 tflite_model_pooled_runner.cc:535] Loading mlkit-google-ocr-models/gocr/layout/line_clustering_custom_ops/model.tflite
I/native  (27753): I0000 00:00:1714987248.158793    1212 tflite_model_pooled_runner.cc:649] Resizing interpreter pool to 1
I/native  (27753): I0000 00:00:1714987248.159023    1221 tflite_model_pooled_runner.cc:535] Loading mlkit-google-ocr-models/gocr/gocr_models/line_recognition_legacy_mobile/Latn_ctc/optical/conv_model.fb
I/native  (27753): I0000 00:00:1714987248.159783    1221 tflite_model_pooled_runner.cc:541] Loading mlkit-google-ocr-models/gocr/gocr_models/line_recognition_legacy_mobile/Latn_ctc/optical/lstm_model.fb
I/native  (27753): I0000 00:00:1714987248.162006    1221 tflite_model_pooled_runner.cc:649] Resizing interpreter pool to 4
I/native  (27753): I0000 00:00:1714987248.163441    1221 mobile_langid_v2.cc:58] MobileLangID V2 initialized.
I/native  (27753): I0000 00:00:1714987248.163508    1221 multi_pass_line_recognition_mutator.cc:332] Finished preloading a recognizer for "Latn"
I/native  (27753): I0000 00:00:1714987248.163604    1213 multi_pass_line_recognition_mutator.cc:336] Finished preloading recognizers.
I/native  (27753): I0000 00:00:1714987248.169398    1207 scheduler.cc:662] ImageMetadata: 1280x720
2
I/tflite  (27753): Replacing 44 out of 46 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 3 partitions for the whole graph.
D/TransportRuntime.SQLiteEventStore(27753): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
I/Camera  (27753): startPreview
I/OplusCameraManagerGlobal(27753): setIsCameraUnitSession E
D/BufferQueueProducer(27753): [SurfaceTexture-0-27753-0](id:6c6900000002,api:4,p:2144,c:27753) disconnect: api 4
D/BufferQueueProducer(27753): [ImageReader-1280x720f23m1-27753-1](id:6c6900000004,api:4,p:2144,c:27753) disconnect: api 4
D/BufferQueueProducer(27753): [SurfaceTexture-0-27753-0](id:6c6900000002,api:4,p:2144,c:27753) connect: api=4 producerControlledByApp=true
I/Camera  (27753): CameraCaptureSession onConfigured
I/Camera  (27753): Updating builder settings
D/Camera  (27753): Updating builder with feature: ExposureLockFeature
D/Camera  (27753): Updating builder with feature: ExposurePointFeature
D/Camera  (27753): Updating builder with feature: ZoomLevelFeature
D/Camera  (27753): Updating builder with feature: AutoFocusFeature
D/Camera  (27753): Updating builder with feature: NoiseReductionFeature
I/Camera  (27753): updateNoiseReduction | currentSetting: fast
D/Camera  (27753): Updating builder with feature: FocusPointFeature
D/Camera  (27753): Updating builder with feature: ResolutionFeature
D/Camera  (27753): Updating builder with feature: SensorOrientationFeature
D/Camera  (27753): Updating builder with feature: FlashFeature
D/Camera  (27753): Updating builder with feature: ExposureOffsetFeature
D/Camera  (27753): Updating builder with feature: FpsRangeFeature
I/Camera  (27753): refreshPreviewCaptureSession
I/Camera  (27753): dispose
I/Camera  (27753): close
D/BufferQueueProducer(27753): [ImageReader-1280x720f21m1-27753-0](id:6c6900000003,api:4,p:2144,c:27753) disconnect: api 4
D/BufferQueueProducer(27753): [SurfaceTexture-0-27753-0](id:6c6900000002,api:4,p:2144,c:27753) disconnect: api 4
E/CameraManagerGlobal(27753): Camera 4 is not present. Ignore physical camera status change
D/BufferQueueConsumer(27753): [ImageReader-1280x720f21m1-27753-0](id:6c6900000003,api:0,p:-1,c:27753) disconnect
D/BufferQueueConsumer(27753): [ImageReader-1280x720f23m1-27753-1](id:6c6900000004,api:0,p:-1,c:27753) disconnect
D/BufferQueueConsumer(27753): [SurfaceTexture-0-27753-0](id:6c6900000002,api:0,p:-1,c:27753) disconnect
I/Camera  (27753): open | onClosed
I/Camera  (27753): close
D/BufferQueueConsumer(27753): [](id:6c6900000005,api:0,p:-1,c:27753) connect: controlledByApp=true
I/OplusCameraUtils(27753): current activityName: com.metachain.speakgpt.speak.MainActivity
I/OplusCameraManagerGlobal(27753): setClientInfo, packageName: com.metachain.speakgpt.speak, uid: 10396, pid: 27753
D/BufferQueueConsumer(27753): [](id:6c6900000006,api:0,p:-1,c:27753) connect: controlledByApp=true
D/BufferQueueConsumer(27753): [](id:6c6900000007,api:0,p:-1,c:27753) connect: controlledByApp=true
I/OplusCameraManagerGlobal(27753): setClientInfo, packageName: com.metachain.speakgpt.speak, uid: 10396, pid: 27753
W/libc    (27753): Access denied finding property "persist.vendor.camera.privapp.list"
I/OplusCameraManagerGlobal(27753): setClientInfo, packageName: com.metachain.speakgpt.speak, uid: 10396, pid: 27753
I/OplusCameraUtils(27753): current activityName: com.metachain.speakgpt.speak.MainActivity
I/OplusCameraUtils(27753): getComponentName, componentName: com.metachain.speakgpt.speak/com.metachain.speakgpt.speak.MainActivity, packageName:com.metachain.speakgpt.speak, activityName:com.metachain.speakgpt.speak.MainActivity
I/CameraManager(27753): openCameraDeviceUserAsync, use componentName: com.metachain.speakgpt.speak/com.metachain.speakgpt.speak.MainActivity
I/OplusCameraUtils(27753): current activityName: com.metachain.speakgpt.speak.MainActivity
      #02 pc 00000000020026a8  /memfd:jit-cache (deleted) (offset 0x2000000) (java.nio.DirectByteBuffer.get+72)
      #03 pc 0000000002002b28  /memfd:jit-cache (deleted) (offset 0x2000000) (java.nio.DirectByteBuffer.get+216)
      #04 pc 0000000002003568  /memfd:jit-cache (deleted) (offset 0x2000000) (io.flutter.plugins.camera.media.ImageStreamReaderUtils.unpackPlane+408)
      #11 pc 000000000033b3a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #12 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)
      #13 pc 0000000000491eac  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+4772) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #14 pc 00000000003545d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #15 pc 00000000001fba68  /system/framework/framework.jar (android.os.Handler.handleCallback+0)
      #16 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)
      #17 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)
      #18 pc 000000000049136c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #19 pc 00000000003545d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #20 pc 00000000001fb8b0  /system/framework/framework.jar (android.os.Handler.dispatchMessage+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 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)
      #23 pc 0000000000490ffc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1012) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #24 pc 00000000003545d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #25 pc 0000000000223dcc  /system/framework/framework.jar (android.os.Looper.loopOnce+0)
      #26 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)
      #27 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)
      #28 pc 000000000049136c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #29 pc 00000000003545d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #30 pc 00000000002246b0  /system/framework/framework.jar (android.os.Looper.loop+0)
      #31 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)
      #32 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)
      #33 pc 000000000049136c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1892) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #34 pc 00000000003545d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #35 pc 00000000001faef0  /system/framework/framework.jar (android.os.HandlerThread.run+0)
      #36 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)
      #37 pc 000000000036dfe4  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #38 pc 0000000000351f68  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)

      #39 pc 000000000033b3a4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #40 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)
      #41 pc 0000000000539b2c  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1600) (BuildId: 7ece79c15d80914c83e60c9e93ac1684)
      #42 pc 0000000000104fc4  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: d1a98b526f2f94260a53c3055979a4f6)
      #43 pc 000000000009e764  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: d1a98b526f2f94260a53c3055979a4f6)
Lost connection to device.

Exited.

Platform (please complete the following information):

  • OS: [Android]
  • Device: [Realme 9 Pro 5G]
  • OS: [Android 14]
  • Flutter/Dart Version [3.20.0-11.0.pre.80 / 3.4.0]
  • Plugin version [0.13.0]

Additional context
repeated log with some different

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.
@sayedmoataz sayedmoataz changed the title <short title here> Example APP crashed in Android May 11, 2024
@fbernaly
Copy link
Collaborator

I have ran the example app and does not crash for me. Could you provide steps to reproduce? or is it crashes just when launching the app?

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

No branches or pull requests

2 participants