Details
Description
Since the upgrade from PySide6 6.7.3 to 6.8.0 a Python application now crashes with a segmentation fault.
I was able to reduce the code for reproducing the problem to a single line:
import PySide6; from PySide6.QtCore import *
When running this code in Linux, for example with Python 3.12.7, a segmentation fault occurs:
$ python3 -c "import PySide6; from PySide6.QtCore import *"
Segmentation fault (core dumped)
This problem might also occur on other operating systems and with other Python versions.
Attachments
Issue Links
- resulted from
-
PYSIDE-2404 Create an On-Demand Initializer for PySide
- Open
For Gerrit Dashboard: PYSIDE-2888 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
597319,5 | WIP: Work around star import of PySide6.QtCore crashing | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
597328,6 | Lazy Init: Support Lazy Subtypes, amended | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
597489,2 | Lazy Init: Support Lazy Subtypes, amended | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
597518,2 | Lazy Init: Support Lazy Subtypes, amended | 6.8.0 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
597542,2 | Lazy Init: Support Lazy Subtypes, amended | tqtc/6.8.0 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |