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

Graphics view flow layout example crashes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Duplicate
    • Affects Version/s: 5.14.0 Beta 1
    • Fix Version/s: None
    • Component/s: Widgets: GraphicsView
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      Qt 5.14.0 Beta 1 from online installer
      tested on Ubuntu Linux 18.04.3 LTS with GCC 64 bit

      The example crashes when tried to run.
      Note that there are 2 examples - The bug concerns the one that is in widgets/graphicsview/flowlayout (should display labels with "I", "am", "not", "bothered" estc)

      ASSERT failure in QVector<T>::insert: "index out of range", file /home/qt/Qt/Qt5.14.Beta1/5.14.0/gcc_64/include/QtCore/qvector.h, line 467

      1 __GI_raise raise.c 51 0x7ffff60a7e97
      2 __GI_abort abort.c 79 0x7ffff60a9801
      3 qt_message_fatal qlogging.cpp 1894 0x7ffff6e2f2fc
      4 QMessageLogger::fatal qlogging.cpp 893 0x7ffff6e2f2fc
      5 qt_assert_x qglobal.cpp 3354 0x7ffff6e2ea44
      6 QVector<QGraphicsLayoutItem *>::insert qvector.h 467 0x5555555594c5
      7 FlowLayout::insertItem flowlayout.cpp 67 0x5555555580f6
      8 FlowLayout::addItem flowlayout.h 85 0x55555555aa51
      9 Window::Window window.cpp 68 0x55555555a7ca
      10 main main.cpp 63 0x55555555a418

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              chehrlic Christian Ehrlicher
              Reporter:
              anwojcie Anna Wojciechowska
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes