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

"camera" sample project crashes switching devices

    XMLWordPrintable

Details

    • macOS
    • 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

            dorisverria Doris Verria
            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