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

Crash in QSet<QByteArray>

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 6.4.1, 6.4.2
    • None
    • Windows 10 64 bit
      MSVC 2022
    • Windows

    Description

      If a QSet<QByteArray> has been defined as a local variable, access to it produces a crash in release mode:

      QSet<QByteArray> componentIds;
      componentIds << "test" << "blabla";
      for (auto it : componentIds)
      qDebug() << it; // here crashes deep in qHash

      It works fine in debug although, so there is possible that release dlls are broken.

      Attachments

        Activity

          People

            thiago Thiago Macieira
            ars.masiuk Ars Masiuk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: