Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta1, 6.2.0 Beta3
-
None
-
a mac that has two or more camera devices
-
-
4f663099d6e1119ec5980b79ab7736eedadc1e6d (qt/qtmultimedia/dev) 437642cddac61ca652600a70bffcb74ed541b71f (qt/qtmultimedia/6.2)
Description
- Launch the "camera" sample project
- from the Devices menu, choose a different camera
- <-- here you will simply crash in Qt code
bool QObject::disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method) { if (sender == nullptr || (receiver == nullptr && method != nullptr)) { qWarning("QObject::disconnect: Unexpected nullptr parameter"); return false; } <--- crash here, "this" is NUL
does not happen on Windows (works fine there). not tested on linux.