Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5
-
None
-
-
9c0604e0d (dev), 7922ae486 (tqtc/lts-6.5)
-
2023wk02FOQtforAndroid
Description
There is a deadlock in QAndroidCamera destruction. The simplest deleting QCamera object:
#include <QApplication> #include <qcamera.h> int main(int argc, char *argv[]) { QApplication a(argc, argv); QCamera * camera = new QCamera(); qWarning() << "HELLO 1"; delete camera; qWarning() << "HELLO 2"; return 0; }
Will not print "HELLO 2" log, as the thread will be blocked.
Deadlock need to be fixed
Attachments
Issue Links
- split from
-
QTBUG-99098 Android tst_QMediaCaptureSession test failed
- Closed
For Gerrit Dashboard: QTBUG-110285 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
454722,2 | Android: Remove deadlock from QAndroidCamera | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
573533,3 | Android: Remove deadlock from QAndroidCamera | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |