PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 894 - Crash in QCoreApplicationPrivate::sendThroughObjectEventFilters
: Crash in QCoreApplicationPrivate::sendThroughObjectEventFilters
Status: CLOSED DUPLICATE of bug 892
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.3
: PC Linux
: P5 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-06-18 22:52 EEST by john haddon
Modified: 2011-08-23 00:37 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description john haddon 2011-06-18 22:52:31 EEST
The code below reliably segfaults every time, with a long stack trace starting
with QCoreApplicationPrivate::sendThroughObjectEventFilters. The same code
works fine with PyQt4.

-------------------------------------------------------------------------------

from PySide import QtGui
from PySide import QtCore

class EventFilter( QtCore.QObject ) :

    def __init__( self ) :

        QtCore.QObject.__init__( self )

    def eventFilter( self, qObject, qEvent ) :

        return False

app = QtGui.QApplication( [] )

eventFilter = EventFilter()

widget = QtGui.QWidget()
widget.installEventFilter( eventFilter )

del widget
Comment 1 Hugo Parente Lima 2011-06-20 20:44:08 EEST
Works for me, no segfaults or errors at exit.
Comment 2 Luciano Wolf 2011-06-20 20:48:18 EEST
No problems so far. Everything works as expected.
Comment 3 Evan Patterson 2011-06-21 22:48:19 EEST
I've been getting intermittent segfaults related to eventFilter, so I did a
quick Bugzilla search and this came up. Sure enough, this reliably produces a
segfault on OS X using PySide 1.0.3.

I have not tested this on Linux yet.
Comment 4 Hugo Parente Lima 2011-06-21 23:49:15 EEST
This bug may be related to bug 892.
Comment 5 Hugo Parente Lima 2011-06-23 00:12:57 EEST
If possible, could you test it again using the latest version from git? Because
I think this issue could be solved by the commits used to fix bug 892.
Comment 6 john haddon 2011-06-23 10:16:49 EEST
Thanks! Building from the git version appears to fix it...
Comment 7 Hugo Parente Lima 2011-06-27 19:53:14 EEST
Thanks =], so I'll mark it as duplicated.

*** This bug has been marked as a duplicate of bug 892 ***
Comment 8 renato filho 2011-08-23 00:37:17 EEST
Release PySide 1.0.6