Segfault with BoxPlotSeries QML example
Unsolved
Qt 6
-
I use example code from https://doc.qt.io/qt-6/qml-qtcharts-boxplotseries.html#details (save to main.qml)
When run $QTDIR/bin/qml main.qml I get segfault[ 5722.225352] qml[57557]: segfault at 0 ip 00007fc49a69f451 sp 00007ffe21cc55e0 error 4 in libQt6Widgets.so.6.4.0[7fc49a45e000+419000] [ 5722.225359] Code: e8 f4 b6 ff ff 48 83 c4 28 5d 41 5c 41 5d 41 5e c3 0f 1f 84 00 00 00 00 00 e8 4b 54 dd ff 31 c9 31 d2 be 52 00 00 00 48 89 c7 <48> 8b 00 ff 90 e0 00 00 00 41 89 c4 e9 75 ff ff ff 66 66 2e 0f 1f
$QTDIR/bin/qml -version
Qml Runtime 6.4.0Qt installed from online installer.
-
Anybody can test this code on Qt 6.4.0 (or any other version)?
import QtQuick 2.0 import QtCharts 2.0 ChartView { title: "Box Plot series" width: 400 height: 300 theme: ChartView.ChartThemeBrownSand legend.alignment: Qt.AlignBottom BoxPlotSeries { id: plotSeries name: "Income" BoxSet { label: "Jan"; values: [3, 4, 5.1, 6.2, 8.5] } BoxSet { label: "Feb"; values: [5, 6, 7.5, 8.6, 11.8] } BoxSet { label: "Mar"; values: [3.2, 5, 5.7, 8, 9.2] } BoxSet { label: "Apr"; values: [3.8, 5, 6.4, 7, 8] } BoxSet { label: "May"; values: [4, 5, 5.2, 6, 7] } } }
I test it on embedded device, Ubuntu and Windows platforms. It segfaults...