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