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

App Crashing Randomly #906

Open
h1amza opened this issue Dec 21, 2023 · 8 comments
Open

App Crashing Randomly #906

h1amza opened this issue Dec 21, 2023 · 8 comments

Comments

@h1amza
Copy link

h1amza commented Dec 21, 2023

I have been facing unexpected crashes when i open the view off MobileScanner after upgrading my flutter to last version 3.16...

Crash log:

`I/ViewRootImpl@49ed99f[MainActivity](13189): ViewPostIme pointer 0
I/ViewRootImpl@49ed99f[MainActivity](13189): ViewPostIme pointer 1
I/flutter (13189): beneficiaryId arg: 1698857077049x610355602364953500
[GETX] GOING TO ROUTE /qr-code
I/flutter (13189): previousRoute: /AppointmentDetailsView
[GETX] Instance "SQrCodeController" has been created with tag "[#b5d92]"
[GETX] Instance "SQrCodeController" with tag "[#b5d92]" has been initialized
D/DeferrableSurface(13189): Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@40e5e05}
D/CameraOrientationUtil(13189): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
D/CameraOrientationUtil(13189): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
D/CameraOrientationUtil(13189): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
D/DeferrableSurface(13189): Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@aa94d68}
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Use case androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752 ACTIVE
D/UseCaseAttachState(13189): Active and attached use case: [] for camera: 0
D/CameraOrientationUtil(13189): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
D/CameraOrientationUtil(13189): getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Use case androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705 ACTIVE
D/UseCaseAttachState(13189): Active and attached use case: [] for camera: 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Use cases [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] now ATTACHED
D/UseCaseAttachState(13189): All use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/UseCaseAttachState(13189): Active and attached use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Resetting Capture Session
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Releasing session in state INITIALIZED
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Attempting to force open the camera.
D/CameraStateRegistry(13189): tryOpenCamera(Camera@46b4ac7[id=0]) [Available Cameras: 1, Already Open: false (Previous state: CLOSED)] --> SUCCESS
D/CameraStateRegistry(13189): Recalculating open cameras:
D/CameraStateRegistry(13189): Camera                                       State                 
D/CameraStateRegistry(13189): -------------------------------------------------------------------
D/CameraStateRegistry(13189): Camera@dba28d[id=3]                          UNKNOWN               
D/CameraStateRegistry(13189): Camera@6375dde[id=1]                         UNKNOWN               
D/CameraStateRegistry(13189): Camera@46b4ac7[id=0]                         OPENING               
D/CameraStateRegistry(13189): Camera@3a7db78[id=2]                         UNKNOWN               
D/CameraStateRegistry(13189): -------------------------------------------------------------------
D/CameraStateRegistry(13189): Open count: 1 (Max allowed: 1)
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Opening camera.
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
D/CameraStateMachine(13189): New public camera state CameraState{type=OPENING, error=null} from OPENING and null
D/CameraStateMachine(13189): Publishing new public camera state CameraState{type=OPENING, error=null}
D/UseCaseAttachState(13189): All use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
I/CameraManagerGlobal(13189): postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
I/CameraManagerGlobal(13189): postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
I/CameraManagerGlobal(13189): postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
I/CameraManagerGlobal(13189): postSingleUpdate device: camera id 0 status STATUS_NOT_AVAILABLE
I/CameraManagerGlobal(13189): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_OPEN for client com.domicilix.pro API Level 2User Id 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Use case androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752 ACTIVE
D/UseCaseAttachState(13189): Active and attached use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Use case androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705 ACTIVE
D/UseCaseAttachState(13189): Active and attached use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Issue capture request
D/UseCaseAttachState(13189): Active and attached use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} CameraDevice.onOpened()
D/Camera2CameraImpl(13189): {Camera@46b4ac7[id=0]} Transitioning camera internal state: OPENING --> OPENED
D/CameraStateRegistry(13189): Recalculating open cameras:
D/CameraStateRegistry(13189): Camera                                       State                 
D/CameraStateRegistry(13189): -------------------------------------------------------------------
D/CameraStateRegistry(13189): Camera@dba28d[id=3]                          UNKNOWN               
D/CameraStateRegistry(13189): Camera@6375dde[id=1]                         UNKNOWN               
D/CameraStateRegistry(13189): Camera@46b4ac7[id=0]                         OPEN                  
D/CameraStateRegistry(13189): Camera@3a7db78[id=2]                         UNKNOWN               
D/CameraStateRegistry(13189): -------------------------------------------------------------------
D/CameraStateRegistry(13189): Open count: 1 (Max allowed: 1)
D/CameraStateMachine(13189): New public camera state CameraState{type=OPEN, error=null} from OPEN and null
D/CameraStateMachine(13189): Publishing new public camera state CameraState{type=OPEN, error=null}
D/UseCaseAttachState(13189): All use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/UseCaseAttachState(13189): Active and attached use case: [androidx.camera.core.Preview-ea4d8e88-eafd-4e6a-8558-a6197ac7d232265372752, androidx.camera.core.ImageAnalysis-33d437d4-42f1-4300-8002-69e82fa9bfcc80389705] for camera: 0
D/SyncCaptureSessionBase(13189): [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@de09357] getSurface...done
D/CaptureSession(13189): Opening capture session.
D/DeferrableSurface(13189): New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@40e5e05}
D/DeferrableSurface(13189): use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@40e5e05
D/DeferrableSurface(13189): New surface in use[total_surfaces=2, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@aa94d68}
D/DeferrableSurface(13189): use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@aa94d68
D/CaptureSession(13189): Attempting to send capture request onConfigured
D/CaptureSession(13189): Issuing request for session.
D/Camera2CaptureRequestBuilder(13189): createCaptureRequest
I/CameraManagerGlobal(13189): Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.domicilix.pro API Level 2User Id 0
D/CaptureSession(13189): Issuing capture request.
D/Camera2CaptureRequestBuilder(13189): createCaptureRequest
D/CaptureSession(13189): CameraCaptureSession.onConfigured() mState=OPENED
D/CaptureSession(13189): CameraCaptureSession.onReady() OPENED
D/SurfaceView@328dbe6(13189):  setAlpha: mUseAlpha = false alpha=1.0
D/SurfaceView@328dbe6(13189):  updateSurfaceAlpha: setUseAlpha() is not called, ignored.
F/flutter (13189): [FATAL:flutter/shell/platform/android/surface_texture_external_texture.cc(56)] Check failed: state_ == AttachmentState::kAttached. 
F/libc    (13189): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 13189 (m.domicilix.pro), pid 13189 (m.domicilix.pro)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/r8qxeea/r8q:13/TP1A.220624.014/G781BXXS8HWJ8:user/release-keys'
Revision: '6'
ABI: 'arm64'
Processor: '7'
Timestamp: 2023-12-21 14:27:02.402175398+0100
Process uptime: 60s
Cmdline: com.domicilix.pro
pid: 13189, tid: 13189, name: m.domicilix.pro  >>> com.domicilix.pro <<<
uid: 10569
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/surface_texture_external_texture.cc(56)] Check failed: state_ == AttachmentState::kAttached. '
    x0  0000000000000000  x1  0000000000003385  x2  0000000000000006  x3  0000007fd2f6ca70
    x4  0000007c8c831000  x5  0000007c8c831000  x6  0000007c8c831000  x7  0000000007adfd26
    x8  00000000000000f0  x9  0000007c874cdbf0  x10 0000000000000001  x11 0000007c875423ec
    x12 0000007bdf801430  x13 0000000038a4f070  x14 0000000038a4efd0  x15 0000183b34d52da2
    x16 0000007c875ada58  x17 0000007c87586120  x18 0000007c8c0fa000  x19 0000000000003385
    x20 0000000000003385  x21 00000000ffffffff  x22 b400007bc5defd18  x23 b400007b2a261a88
    x24 0000007fd2f6d148  x25 b400007bb8e35098  x26 0000000000000001  x27 0000000000000002
    x28 0000007fd2f6da20  x29 0000007fd2f6caf0
    lr  0000007c87533368  sp  0000007fd2f6ca50  pc  0000007c87533394  pst 0000000000001000
backtrace:
      #00 pc 000000000008d394  /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 55a7515345951d438fd16e74b171760b)
      #01 pc 0000000001b97f50  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #02 pc 0000000001bc1e70  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #03 pc 0000000001ba823c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #04 pc 0000000001edc888  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #05 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #06 pc 0000000001edcbb8  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #07 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #08 pc 0000000001edcbb8  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #09 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #10 pc 0000000001ed6370  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #11 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #12 pc 0000000001edcbb8  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #13 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #14 pc 0000000001edcbb8  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #15 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #16 pc 0000000001edcbb8  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #17 pc 0000000001ed730c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #18 pc 0000000001edb218  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #19 pc 0000000001ed3ca4  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #20 pc 0000000001ed3ad0  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #21 pc 0000000001fdca78  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #22 pc 0000000001fdb9f4  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #23 pc 0000000001fdc144  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #24 pc 0000000001fdd324  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #25 pc 0000000001fdbd70  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #26 pc 0000000001fdbb30  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #27 pc 0000000001fe941c  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #28 pc 0000000001bc2a28  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #29 pc 0000000001bc8500  /data/app/~~lOMHE0XbJnIHrJCy4oy8pQ==/com.domicilix.pro-EmsEKzc21VgH9qhwjEYP0A==/lib/arm64/libflutter.so (BuildId: e72389c6a8b9aca7bfc4de260d6f71a8531ee97a)
      #30 pc 0000000000018028  /system/lib64/libutils.so (android::Looper::pollInner(int)+1064) (BuildId: 97f353c1a350efeb766e1e852854da85)
      #31 pc 0000000000017b9c  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+116) (BuildId: 97f353c1a350efeb766e1e852854da85)
      #32 pc 0000000000168b34  /system/lib64/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long, int)+48) (BuildId: 5a5ea2fc60784763fe10b9d6fa7c490b)
      #33 pc 0000000000355830  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #34 pc 000000000033eda4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #35 pc 0000000000511050  /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: 735f12f804f88d62a2cb437261076ff7)
      #36 pc 0000000000497814  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+2040) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #37 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #38 pc 00000000001fdc14  /system/framework/framework.jar (android.os.MessageQueue.next+0)
      #39 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #40 pc 0000000000511d1c  /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: 735f12f804f88d62a2cb437261076ff7)
      #41 pc 00000000004973dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+960) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #42 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #43 pc 00000000001fcb14  /system/framework/framework.jar (android.os.Looper.loopOnce+0)
      #44 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #45 pc 0000000000511d1c  /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: 735f12f804f88d62a2cb437261076ff7)
      #46 pc 000000000049774c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #47 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #48 pc 00000000001fd338  /system/framework/framework.jar (android.os.Looper.loop+0)
      #49 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #50 pc 0000000000511d1c  /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: 735f12f804f88d62a2cb437261076ff7)
      #51 pc 000000000049774c  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+1840) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #52 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #53 pc 00000000001c7ba0  /system/framework/framework.jar (android.app.ActivityThread.main+0)
      #54 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #55 pc 0000000000373a18  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #56 pc 0000000000355968  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #57 pc 000000000033f080  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #58 pc 00000000003884dc  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1588) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #59 pc 0000000000387e98  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*) (.__uniq.165753521025965369065708152063621506277)+32) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #60 pc 0000000000355830  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #61 pc 000000000033eda4  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #62 pc 0000000000511050  /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: 735f12f804f88d62a2cb437261076ff7)
      #63 pc 00000000004973dc  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<false>(art::interpreter::SwitchImplContext*)+960) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #64 pc 0000000000357fd8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #65 pc 0000000000500cdc  /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+0)
      #66 pc 0000000000374120  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.__uniq.112435418011751916792819755956732575238.llvm.420609892041422114)+232) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #67 pc 0000000000373a18  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+964) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #68 pc 0000000000355968  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #69 pc 00000000009b8e4c  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (com.android.internal.os.ZygoteInit.main+3548)
      #70 pc 000000000033f080  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+640) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #71 pc 00000000004e1ea8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+728) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #72 pc 000000000057b930  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+156) (BuildId: 735f12f804f88d62a2cb437261076ff7)
      #73 pc 00000000000c1c04  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: 5a5ea2fc60784763fe10b9d6fa7c490b)
      #74 pc 00000000000ce470  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+856) (BuildId: 5a5ea2fc60784763fe10b9d6fa7c490b)
      #75 pc 0000000000002570  /system/bin/app_process64 (main+1304) (BuildId: 86937072df5376fa13a34020ef121222)
      #76 pc 00000000000854ec  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+100) (BuildId: 55a7515345951d438fd16e74b171760b)
Lost connection to device.

`

@h1amza
Copy link
Author

h1amza commented Dec 21, 2023

@JakubPatrik @navaronbracke can u help plz

@navaronbracke
Copy link
Collaborator

navaronbracke commented Dec 21, 2023

We are going to need more information to reproduce this.

  1. Provide us with the full doctor information with flutter doctor -v
  2. What device are you running this on? We need to know the model and OS version
  3. What did you do around the moment the crash occurred? We need detailed reproduction steps to diagnose the issue.
  4. Does this reproduce on Flutter 3.16.5 and on Flutter master? (flutter channel master && flutter upgrade)
  5. Are you using Impeller on Android? Because that is still in preview.

@h1amza
Copy link
Author

h1amza commented Dec 21, 2023

flutter doctor -v

[√] Flutter (Channel stable, 3.16.5, on Microsoft Windows [Version 10.0.19045.3803], locale en-US)
    • Flutter version 3.16.5 on channel stable at C:\src\flutter                                  
    • Upstream repository https://github.com/flutter/flutter.git                                  
    • Framework revision 78666c8dc5 (2 days ago), 2023-12-19 16:14:14 -0800                       
    • Engine revision 3f3e560236                                                                  
    • Dart version 3.2.3                                                  
    • DevTools version 2.28.4                                             
                                                                          
[√] Windows Version (Installed version of Windows is version 10 or higher)
                                                                          
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)                 
    • Android SDK at C:\Users\hamza\AppData\Local\Android\sdk                                    
    • Platform android-34, build-tools 34.0.0                                                    
    • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java                      
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)                
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[√] VS Code (version 1.85.1)
    • VS Code at C:\Users\hamza\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.78.0

[√] Connected device (3 available)
    • SM G781B (mobile) • adb-RFCNB0M176J-mYU2DS._adb-tls-connect._tcp • android-arm64  • Android 13 (API 33)
    • Windows (desktop) • windows                                      • windows-x64    • Microsoft Windows [Version 10.0.19045.3803]
    • Edge (web)        • edge                                         • web-javascript • Microsoft Edge 120.0.2210.89

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 4 categories.

device sumsung s20 fe with android 13

@navaronbracke
Copy link
Collaborator

Thanks for the extra info. Are you using Impeller on Android? And does the issue happen if you switch to Flutter's master channel?

@navaronbracke
Copy link
Collaborator

navaronbracke commented Dec 21, 2023

This could be related to flutter/flutter#139630 although that is for Android 14.

@johnmccutchan
Copy link

Unlikely related to flutter/flutter#139630 as those apps don't crash (they continue to run just fine but don't paint anything because of a SurfaceView related issue).

@johnmccutchan
Copy link

Please file a new Flutter issue if you find a reliable way to reproduce this crash.

@ttb-inc
Copy link

ttb-inc commented Feb 6, 2024

Hi,
I think something similar is happening. #952

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

4 participants