[PyQt] QSpacerItem causes seg fault
Phil Thompson
phil at riverbankcomputing.com
Sun Mar 8 00:11:51 GMT 2009
On Sat, 07 Mar 2009 18:08:37 -0500, Matt Smith <melkor at orangepalantir.org>
wrote:
> while using:
>
> PyQt-x11-gpl-4.5-snapshot-20090304
>
> on:
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
>
> If I don't keep a persistent reference to a spacer Item I get a
> segfault. This is a new event since upgrading from 4.4 to 4.5. I've
> attached the code, and one thing that is peculiar is that I just need
> 'a' reference to a spacer item.
>
> so should I keep a reference to spacer items?
Should be fixed in tonight's PyQt snapshot.
Thanks for the test case.
Phil
More information about the PyQt
mailing list