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

QtGraphs crash when GraphView is destroyed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3, 6.10.0 Beta1
    • Graphs: 2D
    • None
    • Linux/X11, macOS, Windows
    • Linux/X11, Windows

    Description

      When a GraphsView destructor is called, application is crashed because "pure virtual method called"

      This happens when any series is added to a GraphsView with the addSeries(series) method.

       

      To test this can be added to a simple Window, and crash will happen when closing the window, or to a StackView, and on Pop, it will crash.

       

      LineSeries {
        id: theLineSeries
        color: "red"
        XYPoint {x: 1; y: 1}
        XYPoint {x: 2; y: 2}
        XYPoint {x: 3; y: 3}
      }
      GraphsView {
        anchors.fill: parent  Component.onCompleted: {
          addSeries(theLineSeries);
        }
        axisY: ValueAxis {min: 0;max: 10}
        axisX: ValueAxis {max: 5;min: 0 }
      }
      

       

       

      Attachments

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

        Activity

          People

            kagro Kaj Grönholm
            vandawn David Vincze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes