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

Assert in QPluginLoader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.3
    • Core: Plugins
    • None
    • iOS/tvOS/watchOS

    Description

      Was fine in 6.2, but recently started asserting in dev, iOS build.

      
      /*!
          Returns a the meta data for the plugin as a QJsonObject.
      
          \sa Q_PLUGIN_METADATA()
      */
      QJsonObject QStaticPlugin::metaData() const
      {
          auto ptr = static_cast<const char *>(rawMetaData);
      
          QString errMsg;
          QJsonDocument doc = qJsonFromRawLibraryMetaData(ptr, rawMetaDataSize, &errMsg);
          Q_ASSERT(doc.isObject()); // <--- this line
          Q_ASSERT(errMsg.isEmpty()); // <--- the error is not empty either
          return doc.object();
      }
      

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            tpochep Timur Pocheptsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes