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

Calling QAction.parentWidget() triggers a segfault on application shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.1.0
    • PySide
    • None
    • Mac OS X (Mountain Lion) Python 2.7

    Description

      QAction.parentWidget() executes normally, but causses a segmentation fault when the application closes

      To reproduce:

      from PySide.QtGui import QWidget, QApplication, QAction
      
      app = QApplication([''])
      
      w = QWidget()
      act = QAction(w)
      
      #trigger seg fault on exit
      print act.parentWidget() == w  # True
      
      print 'shutting down'
      #boom
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            chris_beaumont Chris Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes