Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.1
-
None
-
Standard pip installation of pyside2 on Debian testing.
-
-
3a18da91353a71e801658329c55b170c18bcd824 (pyside/pyside-setup/dev) 3e1976ce059e0da40ba55acf9b60bd89da851d73 (pyside/tqtc-pyside-setup/tqtc/lts-5.15), f5b03c14c (dev), 67a91c57d (6.4), 4d4234e75 (dev), e25a91ec9 (tqtc/lts-6.2), 52d7f82e8 (6.4)
Description
Translating the 3d Bars C++ example to PySide2 makes it crash when adding the data data-list via `addRow()`.
#!/usr/bin/env python3 import sys from PySide2.QtWidgets import QApplication from PySide2.QtDataVisualization import QtDataVisualization if _name_ == '_main_': app = QApplication([]) bars = QtDataVisualization.Q3DBars() series = QtDataVisualization.QBar3DSeries() d = [QtDataVisualization.QBarDataItem(v) for v in [1.0, 7.5, 5.0, 2.2]] series.dataProxy().addRow(d) # segfault bars.addSeries(series) bars.show() sys.exit(app.exec_())
Adding the same data inside a list of list of data via `addRows()`works.
series.dataProxy().addRows([d])
Attachments
Issue Links
- relates to
-
PYSIDE-1362 QCustom3DVolume crashing when creating or setting texture data
- Closed
For Gerrit Dashboard: PYSIDE-1438 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
336657,2 | Rename the templates and adapt the types from QVector to QList in DataVisualization | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
336825,4 | WIP: Fix QBar3DSeries.dataProvider().addRow(QList*) | dev | pyside/pyside-setup | Status: DEFERRED | -2 | 0 |
336920,2 | shiboken6: Make generated converter code easier to navigate | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
336921,6 | Modernize sequence conversions | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
337244,4 | shiboken6: Simplify types when collecting instantiated containers | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
337287,2 | Qt Datavisualization: Fix crashes in QBar/SurfaceDataProxy add/set/insertRow() | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
337293,2 | QSurfaceDataProxy: Fix crashes adding the first row of data | dev | qt/qtdatavis3d | Status: MERGED | +2 | 0 |
337335,2 | QSurfaceDataProxy: Fix crashes adding the first row of data | 6.1 | qt/qtdatavis3d | Status: MERGED | +2 | 0 |
337337,2 | QSurfaceDataProxy: Fix crashes adding the first row of data | tqtc/lts-5.15 | qt/tqtc-qtdatavis3d | Status: MERGED | +2 | 0 |
337827,1 | WIP: Qt Datavisualization: Fix crashes in QBar/SurfaceDataProxy add/set/insertRow() | dev | pyside/pyside-setup | Status: DEFERRED | -2 | 0 |
339161,4 | Qt Datavisualization: Fix crashes in QBar/SurfaceDataProxy add/set/insertRow() | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | -1 | 0 |
372176,3 | Fix QSurfaceDataProxy::resetArray() crash | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
463666,3 | Fix QBarDataProxy::resetArray() crash | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
463760,2 | Fix QBarDataProxy::resetArray() crash | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
463766,4 | Fix QBarDataProxy::resetArray() crash | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |
463990,4 | Fix QScatterDataProxy::resetArray() crash | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
464459,2 | Fix QScatterDataProxy::resetArray() crash | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
464460,3 | Fix QScatterDataProxy::resetArray() crash | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: ABANDONED | -1 | 0 |