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

Axis Handling example crashes with index out of range error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 6.7.0 RC
    • None
    • Windows
    • 83896bd06 (dev), d6743838f (6.7)

    Description

      In the Axis Handling example, when you are in the "Axis Dragging" page and you have left-clicked "Use Preset Range" once, the application may crash with an assertion error if you left-click one of the cubes. This does not happen with any cube. If you manage to left-click the correct cube, you will see the coordinate label of the cube jump all over the graph until all the cubes are gone. Then an "index out of range" assertion error takes place.

      The assertion error will also occur if you right after starting the application, left-click one of the cubes, before left-clicking "Use Preset Range". In this case the choice of the cube does not matter.

       

      Steps to reproduce:

      The first way to reproduce involves selecting the correct cube after having left-clicked "Use Preset Range".

      1. Run the application.
      2. Left-click "Use Preset Range".
      3. Left-click one of the cubes in the graph. Notice that the coordinate of the cube will start to move when the cubes disappear.
      4. Repeat step 3 until the assert error occurs.

      The second way to reproduce involves selecting a random cube before left-clicking "Use Preset Range", and then left-clicking "Use Preset Range".

      1. Run the application.
      2. Left-click on of the cubes in the graph. It does not matter which one you choose.
      3. Left-click "Use Preset Range". Notice that the assert error occurs.

       

      Expected behavior:

      Selecting a cube in the graph should not trigger an index out of range error.

       

      Observed behavior:

      Selecting a cube in the graph may trigger an index out of range error resulting in a crash.

      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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes