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

"camera" sample project crashes switching devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.2.0 Beta1, 6.2.0 Beta3
    • Fix Version/s: 6.2.0 Beta4, 6.3.0 Alpha
    • Labels:
      None
    • Environment:
      a mac that has two or more camera devices
    • Platform/s:
      macOS
    • Commits:
      4f663099d6e1119ec5980b79ab7736eedadc1e6d (qt/qtmultimedia/dev) 437642cddac61ca652600a70bffcb74ed541b71f (qt/qtmultimedia/6.2)

      Description

      1. Launch the "camera" sample project
      2. from the Devices menu, choose a different camera
      3. <-- 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.

        Attachments

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

          Activity

            People

            Assignee:
            dorisverria Doris Verria
            Reporter:
            davecotter David M. Cotter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes