-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.3, 6.10.0 Beta1
-
None
-
-
630b38b3e (dev), 43ccf20e6 (6.10), 2c62958ff (6.9), 229ddadc1 (tqtc/lts-6.8)
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 }
}
- is duplicated by
-
QTBUG-138832 Crash upon exit after calling GraphsView.addSeries()
-
- Closed
-
For Gerrit Dashboard: QTBUG-138506 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
667657,4 | Fix: crash when closing Graphs2D | dev | qt/qtgraphs | Status: MERGED | +2 | 0 |
668065,4 | Fix: crash when closing Graphs2D | 6.10 | qt/qtgraphs | Status: MERGED | +2 | 0 |
668088,3 | Fix: crash when closing Graphs2D | 6.9 | qt/qtgraphs | Status: MERGED | +2 | 0 |
668284,4 | Fix: crash when closing Graphs2D | tqtc/lts-6.8 | qt/tqtc-qtgraphs | Status: MERGED | +2 | 0 |