Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.0 Beta1
-
-
c5e5d6191 (dev), 2ccb6a50f (6.6), 507c3908b (6.5)
-
2023wk36FOQtforAndroid
Description
W libdeclarative-camera_arm64-v8a.so: QObject: Cannot create children for a parent that is in a different thread.
W libdeclarative-camera_arm64-v8a.so: (Parent is QGuiApplication(0x7a31fd7478), parent's thread is QThread(0x7a55b83890), current thread is QThread(0x7a55b8f190)
W libdeclarative-camera_arm64-v8a.so: expression for onClicked@qrc:/CameraPropertyPopup.qml:55
W libdeclarative-camera_arm64-v8a.so: Too many arguments, ignoring 1
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W libdeclarative-camera_arm64-v8a.so: qrc:/PhotoCaptureControls.qml:78: Error: Cannot assign [undefined] to QString
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
W ImageReader_JNI: Unable to acquire a buffer item, very likely client tried to acquire more than maxImages buffers
E AndroidRuntime: FATAL EXCEPTION: CameraBackground
E AndroidRuntime: Process: org.qtproject.example.declarative_camera, PID: 10961
E AndroidRuntime: java.lang.IllegalStateException: maxImages (10) has already been acquired, call #close before acquiring more.
E AndroidRuntime: at android.media.ImageReader.acquireNextImage(ImageReader.java:527)
E AndroidRuntime: at android.media.ImageReader.acquireLatestImage(ImageReader.java:411)
E AndroidRuntime: at org.qtproject.qt.android.multimedia.QtCamera2$4.onImageAvailable(QtCamera2.java:157)
E AndroidRuntime: at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:812)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
Attachments
Issue Links
- duplicates
-
QTBUG-115460 Camera crash on image acquire on Android
- Closed
- is duplicated by
-
QTBUG-117477 [DeclarativeCamera] The app is crashing when capture photo and switch to video
- Closed