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

[REG 5.15->6.0] QVector::squeeze crashes/asserts

    XMLWordPrintable

    Details

      Description

      #include <QVector>
      
      int main(int argc, char *argv[])
      {
          QVector<int> v;
          v.reserve(100);
          v.squeeze();
          return 0;
      }
      

      crashes / asserts when built with Qt6

      ASSERT: "d" in file /Users/Shared/qt/Qt/6.0.0/clang_64/lib/QtCore.framework/Headers/qarraydatapointer.h, line 190
      

        Attachments

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            con Eike Ziller
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes