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 865 - Apparent reference counting problem with event filters
: Apparent reference counting problem with event filters
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.3
: All Mac OS
: P1 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-05-27 05:14 EEST by Stephan Deibel
Modified: 2011-06-22 20:14 EEST (History)
9 users (show)

See Also:


Attachments
Code to trigger the crash (453 bytes, text/x-python)
2011-05-27 05:14 EEST, Stephan Deibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Deibel 2011-05-27 05:14:15 EEST
Created attachment 332 [details]
Code to trigger the crash

If an event filter is installed in a widget, it seems to trigger a reference
counting bug that leads to a crash.  This is a regression between 1.0.1 and
1.0.3.

See attached code to trigger the bug.  I'm on OS X but am guessing this is
cross-platform.

Note I've built from 1.0.3 source dists w/ Qt 4.7.2; the bug tracker only gives
1.0.2 and HEAD as version options so I chose the latter, which I thought is
probably as close as I'll get to the truth ;-)


Thanks!
Comment 1 Hugo Parente Lima 2011-05-27 23:43:05 EEST
I can reproduce that, thanks for reporting!
Comment 2 Hugo Parente Lima 2011-05-27 23:44:08 EEST
Prioritizing as P1 as it's a regression.
Comment 3 renato filho 2011-06-01 21:23:13 EEST
fixed on shiboken commit:
commit 26e9c711cada66b4ea72d6d7b543ae4531a069be
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Wed Jun 1 10:25:04 2011 -0300

and pyside commit:
commit 9408505a24d26725e518dd0852d8a1fb1640de6b
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue May 31 15:45:28 2011 -0300
Comment 4 renato filho 2011-06-22 20:14:14 EEST
release 1.0.4