Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.0 RC2, 6.8.0
-
None
-
-
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.
- Run the application with a debug build.
- Left-click "Scatter Graph".
- Do not rotate the graph.
- Left-click a point that is in the right edge of the graph.
- 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.
- Run the application with a release build.
- Left-click "Scatter Graph".
- Left-click any point.
- 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
- relates to
-
QTBUG-123433 Axis Handling example crashes with index out of range error
- Closed