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

Overriding createWidget in QUiLoader results in segmentation fault when not passing in parent

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.12.3, 5.13.0
    • PySide
    • None
    • Ubuntu 19.04
      Python 3.7.3
      PySide2 5.13.0
    • Linux/X11
    • 81b487553674efc10654fc10088c132b4c4fa93a (pyside/pyside-setup/5.15)

    Description

      Overriding createWidget in QUiLoader causes a segmentation fault even though the returned widget instance appears to be the same as the one created by the parent method (when not passing a root form to load()).

      Attachments

        1. gdb.txt
          7 kB
        2. pyside1070_6.zip
          2 kB
        3. pyside1070.zip
          2 kB
        4. test3.py
          1 kB
        5. test3.ui
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            3beezer Jeffrey Barish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes