Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128461

Can't access camera in Emulator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.7.2
    • 6.7.1
    • Extras: Android
    • None
    • Android 29, 31, 34
    • Android
    • 2024wk36s2FOQtforAndroid

    Description

       

      08-29 09:53:59.842  4896  4971 D EGL_emulation: app_time_stats: avg=1988.70ms min=0.59ms max=43639.39ms count=22
      08-29 09:53:59.886  4896  4896 I ImeTracker: io.qt.qtdesignviewer:c76f3189: onRequestHide at ORIGIN_CLIENT_HIDE_SOFT_INPUT reason HIDE_SOFT_INPUT
      08-29 09:53:59.915  4896  4936 I CameraManagerGlobal: Connecting to camera service
      08-29 09:53:59.940  4896  4936 D CompatibilityChangeReporter: Compat change id reported: 250678880; UID 10193; state: ENABLED
      08-29 09:54:00.035  4896  4933 D EGL_emulation: app_time_stats: avg=11236.12ms min=18.68ms max=44305.16ms count=4
      08-29 09:54:00.164  4896  4896 I ImeTracker: io.qt.qtdesignviewer:5c3a1f9a: onRequestHide at ORIGIN_CLIENT_HIDE_SOFT_INPUT reason HIDE_SOFT_INPUT
      08-29 09:54:00.171  4896  4896 I ImeTracker: io.qt.qtdesignviewer:62762130: onRequestHide at ORIGIN_CLIENT_HIDE_SOFT_INPUT reason HIDE_SOFT_INPUT
      08-29 09:54:00.410  4896  4936 D CompatibilityChangeReporter: Compat change id reported: 236825255; UID 10193; state: ENABLED
      08-29 09:54:00.470  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:01.070  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:01.102  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:01.110  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:01.613  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:01.613  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:02.142  4896  4987 W .qtdesignviewer: Long monitor contention with owner CameraBackground (4975) at void android.hardware.camera2.impl.CameraDeviceImpl.stopRepeating()(CameraDeviceImpl.java:1374) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureStarted(android.hardware.camera2.impl.CaptureResultExtras, long) for 520ms
      08-29 09:54:02.237  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:02.238  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:02.741  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:02.751  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:02.936  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:02.937  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:03.438  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:03.438  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:03.501  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:03.501  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:04.001  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:04.001  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:04.082  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:04.082  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:04.582  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:04.582  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:04.611  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.612  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.613  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:04.680  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:04.687  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:05.190  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:05.190  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:05.358  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:05.358  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:05.869  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:05.878  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:06.145  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.145  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.152  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.152  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.153  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.154  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.155  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.155  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.156  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.157  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.158  4896  4975 E CameraCaptureSession: Session 0: Failed to create capture session; configuration failed
      08-29 09:54:06.158  4896  4975 W QtCamera2: Failed to create a capture session:android.hardware.camera2.CameraAccessException: CAMERA_DISCONNECTED (2): checkPidStatus:2157: The camera device has been disconnected
      08-29 09:54:06.570  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:06.603  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:06.628  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:07.128  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:07.129  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:07.732  4896  4987 W .qtdesignviewer: Long monitor contention with owner CameraBackground (4975) at void android.hardware.camera2.impl.CameraDeviceImpl.close()(CameraDeviceImpl.java:1457) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureStarted(android.hardware.camera2.impl.CaptureResultExtras, long) for 577ms
      08-29 09:54:07.944  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:07.947  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:08.460  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:08.478  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:08.999  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:09.011  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:09.518  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:09.522  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:09.724  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:09.724  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:10.225  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:10.225  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:10.294  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.296  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.297  4896  4915 W System  : A resource failed to call Surface.release. 
      08-29 09:54:10.405  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:10.406  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:10.915  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:10.928  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:11.154  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:11.154  4896  4975 E QtCamera2: Image processing taking too long. Let's wait 0,5s more java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:11.620  4896  4896 E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
      08-29 09:54:11.667  4896  4975 W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
      08-29 09:54:11.687  4896  4975 E QtCamera2: Will not wait anymore. Restart camera session. java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
      08-29 09:54:12.336  4896  4896 I Choreographer: Skipped 43 frames!  The application may be doing too much work on its main thread.

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bartlomiejmoskal Bartlomiej Moskal
              hancerliqt Burak Hancerli
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes