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

Segmentation fault on QGridLayout.removeItem(None)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.6.0, 6.5.3
    • 6.5.2
    • PySide
    • None
    • Linux/Other display system, Windows
    • 1793eb62ebed46bf20624edf0a2e2d16e03904cc, 1804aa70f (6.5)

    Description

      I get a segmentation fault running this code (I understand it is not useful or even valid code, but my understanding is that PySide6 should not crash the Python interpreter).

      from PySide6.QtWidgets import QApplication, QGridLayout
      app = QApplication()
      grid = QGridLayout()
      grid.removeItem(None)
      print("Done")
      

      Attachments

        For Gerrit Dashboard: PYSIDE-2422
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            bers bers bers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes