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

Details

    • Bug
    • Resolution: Fixed
    • 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)

    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

        1. pyside2888_diag.diff
          3 kB
          Friedemann Kleint
        2. pyside2888_log.txt
          23 kB
          Friedemann Kleint
        3. pyside2888_stack.txt
          31 kB
          Friedemann Kleint
        4. pyside2888_valgrind.txt
          15 kB
          Friedemann Kleint
        5. pyside2888.py
          0.3 kB
          Friedemann Kleint

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes