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

Segmentation Fault with QGraphicsScene/QGraphicsView and QComboBox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.9.0, 6.9.1, 6.10.0
    • 6.8.3
    • PySide
    • None
    • Python 3.9
    • Windows
    • e55bad3c1 (dev), 7bfbf1e58 (6.9), f81fb9ee8 (dev), e47253b24 (6.9)

    Description

      When interacting with a QComboBox inside a QGraphicsScene using a custom QGraphicsView, changing the selected item causes segmentation fault with Python.

       

      I have the WinDbg crash log here:

      (503c.7b0c): Access violation - code c0000005 (first chance)
      First chance exceptions are reported before any exception handling.
      This exception may be expected and handled.
      Qt6Core!QObject::objectName+0x35:
      00007ff9c951e1f5 488b4868 mov rcx,qword ptr [rax+68h] ds:0000000000000068=????????????????

       

      I have produced a minimal example below:

      main_seg.py

      Attachments

        1. main_seg.py
          2 kB
          tugay solmaz
        2. pyside3069_stack.txt
          64 kB
          Friedemann Kleint
        3. pyside3069_valgrind.txt
          33 kB
          Friedemann Kleint
        4. pyside3069_log.txt
          3 kB
          Friedemann Kleint
        5. pyside3069_5.py
          4 kB
          Friedemann Kleint
        6. pyside3069.py
          4 kB
          Friedemann Kleint

        Issue Links

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

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              deahran tugay solmaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews