[PySide] Problems with QStyle deletion

Nik Melchior nmelchior at seegrid.com
Thu Nov 29 22:06:14 CET 2012


On Mon, Nov 26, 2012 at 01:49:37PM -0500, John Ehresman wrote:
> On 11/15/12 5:52 PM, John Ehresman wrote:
> > I'm trying to fix a bug that causes segfaults if QApplication.style() and
> > QApplication.setStyle() are used repeatedly.  I think the issue is:

John,

My application has random crashes due to QStyle objects as well.  I had some
trouble tracking down the problem, and I originally thought it was related to
a bug that reported QNetworkReply objects being randomly returned.  I added my
analysis to PySide bug #16, but I haven't seen any activity there.

https://bugreports.qt-project.org/browse/PYSIDE-16

The workaround that I posted suppresses the most frequent occurrence of the
bug, but it occasionally appears in other parts of our code, and I have to
insert additional checks to prevent segfaults.  Very annoying.

-- Nik
Email Confidentiality Notice

The information contained in this transmission is confidential, proprietary or privileged and may be subject to protection under the law. This message is intended for the sole use of the individual or entity to whom it's addressed. If you are not the intended recipient, you are notified that any use, distribution or copying of the message is strictly prohibited and may subject you to criminal or civil penalties. If you received this transmission in error, please contact the sender immediately by replying to this email and delete the material from any computer.



More information about the PySide mailing list