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 441 - QSystemTrayIcon segfault on exit issues.
: QSystemTrayIcon segfault on exit issues.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-10-27 21:04 EEST by Lauro Moura
Modified: 2010-11-25 17:48 EET (History)
9 users (show)

See Also:


Attachments
Example (437 bytes, text/x-python)
2010-10-27 21:04 EEST, Lauro Moura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2010-10-27 21:04:30 EEST
Created attachment 129 [details]
Example

It is getting collected before the QApplication, causing a segfault.

Shouldn't that behavior of destroying the widgets before the QApplication be
extended to all QPaintDevice-based classes?
Comment 1 Mickaël 2010-11-20 10:56:20 EET
Hi, any news on this bug ? Is it planned to be fixed in the next release ?
Comment 2 renato filho 2010-11-20 12:59:28 EET
I took a lok on the code and found a small mistake on ownership rule of
setContextMenu function.

I fixed this on pyside repository on commit:
commit 3bc0d023c848be0d8e7e7337a92980647e11804a
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Sat Nov 20 12:56:18 2010 -0300
Comment 3 Mickaël 2010-11-20 15:38:15 EET
I applied the patch to pyside 0.4.2, but the crash still occurs.
Do I need to recompile everything to git version ?
Comment 4 renato filho 2010-11-20 17:02:44 EET
yes I recomend to you recompile everything from git source. or wait for the
release in the next week
Comment 5 renato filho 2010-11-25 17:48:18 EET
released on 1.0.0~beta1