Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2888

REG->6.8.0: crashes after "import PySide6; from PySide6.QtCore import *"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P0: Blocker P0: Blocker
    • 6.8.0.1
    • 6.8.0
    • PySide
    • None
    • Linux/X11
    • a5f3828c2 (dev), 2a2d01399 (6.8), aee49b8ae (6.8.0), edb6eac58 (tqtc/6.8.0)

      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.

        1. pyside2888_diag.diff
          3 kB
        2. pyside2888_log.txt
          23 kB
        3. pyside2888_stack.txt
          31 kB
        4. pyside2888_valgrind.txt
          15 kB
        5. pyside2888.py
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ctismer Christian Tismer
            bdieterm Bernhard Dietermayr
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes