Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
6.5.0 RC
-
None
-
-
037a6e0a0 (dev), 2489d143c (6.5)
Description
Hi,
I have a bug when I try to remove (or destroy on StackView.onDeactivated), a page containing a camera linked to videoOutput.
If I remove camera or videoOutput, there is no crash.
Please find a minimal example :
import QtQuick import QtMultimedia import QtQuick.ControlsWindow { width: 640 height: 480 visible: true title: qsTr("Hello World") StackView { id: stack initialItem: Page { id: page Row { Column { Button { text: "Change Page" onClicked: stack.push(dummyPage) } } } } Component { id: dummyPage Column{ Row { spacing: 10 Button { text: "Remove Dummy Page" onClicked: stack.pop() } Text { text: "Dummy Page" } } Rectangle { width: 200 height: 250 color: "black" CaptureSession { id: captureSession camera: Camera { id: camera active: true } videoOutput: viewfinder } VideoOutput { id: viewfinder anchors.fill: parent } } } } } }
Attachments
Issue Links
- duplicates
-
QTBUG-112883 QML crashes on iOS when using StackView and VideoOutput
- Closed
- is duplicated by
-
QTBUG-110131 QML Camera unloading crash on iOS
- Closed
For Gerrit Dashboard: QTBUG-112352 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
470472,7 | AVFCameraRenderer: Properly initialize output settings | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
470598,2 | AVFCameraRenderer: Properly initialize output settings | 6.5 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
470655,1 | AVFCameraRenderer: Properly initialize output settings | tqtc/lts-6.2 | qt/tqtc-qtmultimedia | Status: ABANDONED | 0 | 0 |