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

Graph Gallery example crashes

    XMLWordPrintable

Details

    • Windows
    • 83896bd06 (dev), d6743838f (6.7)

    Description

      The Graph Gallery example crashes with an index out of range error. This happens when you are in the "Scatter Graph" page, have selected a point, and slice the axes in such a way that the point will disappear. The crash can only be reproduced like this in debug build.

      In the release build, you can make the application crash in the "Scatter Graph" page by selecting an arbitrary point, and rapidly dragging the slice glider back and forth.

       

      Steps to reproduce:

      This is how to reproduce the debug build crash.

      1. Run the application with a debug build.
      2. Left-click "Scatter Graph".
      3. Do not rotate the graph.
      4. Left-click a point that is in the right edge of the graph.
      5. Slice the X-axis using the top slider. Notice that an index out of range assert error occurs.

      This is how to reproduce the release build crash.

      1. Run the application with a release build.
      2. Left-click "Scatter Graph".
      3. Left-click any point.
      4. Rapidly move one of the axis slicer sliders back and forth.

       

      Expected behavior:

      The application should not crash with an index out of range error when slicing the axes with a selected point.

       

      Observed behavior:

      The application will crash with an index out of range error when selecting a point and slicing the axises in such a way the the point disappears.

      Attachments

        Issue Links

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

          Activity

            People

              oulu_hillbilly Sami Varanka
              chrisrl Chris Lerner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes