Skip to content

Commit cd10bd5

Browse files
committed
Fix segmentation fault issue in QwtSymbol constructor
Fix #87
1 parent 018e23d commit cd10bd5

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# PythonQwt Releases
22

3+
## Version 0.12.4
4+
5+
- Fixed segmentation fault issue reported in the `PlotPy` project:
6+
- See [PlotPy's Issue #13](https://github.com/PlotPyStack/PlotPy/issues/13) for the
7+
original issue.
8+
- The issue was caused by the `QwtSymbol` class constructor, and more specifically
9+
by its private data object, which instanciated an empty `QtPainterPath` object,
10+
causing a segmentation fault on Linux, Python 3.12 and PyQt5.
11+
312
## Version 0.12.3
413

514
- Fixed `Fatal Python error` issue reported in the `PlotPy` project:

qwt/symbol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def __init__(self, st, br, pn, sz):
346346

347347
class Path(object):
348348
def __init__(self):
349-
self.path = QPainterPath()
349+
self.path = None # QPainterPath()
350350
self.graphic = QwtGraphic()
351351

352352
self.path = Path()

0 commit comments

Comments
 (0)