Re: [PyQt] internalPointer crashes

2011-08-26 Thread Erik Janssens
what is a crash in PyQt can be a memleak in PySide ;) On Fri, 2011-08-26 at 14:12 -0400, Joel B. Mohler wrote: > Hi, > > Back in April of this year Jeremy Sanders reported crashes when storing a > python object in QModelIndex internalPointer. I've had crashes of this > nature > as well. It

[PyQt] internalPointer crashes

2011-08-26 Thread Joel B. Mohler
Hi, Back in April of this year Jeremy Sanders reported crashes when storing a python object in QModelIndex internalPointer. I've had crashes of this nature as well. It seems to work the vast majority of the time but I now have a case that seems to consistently crash although not always with t

Re: [PyQt] segfault when using Qt.QueuedConnection

2011-08-26 Thread Phil Thompson
On Thu, 25 Aug 2011 17:18:13 +0200, Erik Janssens wrote: > Hi, > > After lots of tries I have been able to get a stacktrace > + core of a segfault that I believe occurs from time to time. > > The attached stacktrace shows the segfault is inside the QT > event loop, without even involving Python.

Re: [PyQt] segfault when using Qt.QueuedConnection

2011-08-26 Thread Henning Schröder
BTW: I often get a helpful stacktrace after a segfault with faulthandler (http://pypi.python.org/pypi/faulthandler/). I only have to enable it once in my project. On Thu, Aug 25, 2011 at 3:18 PM, Erik Janssens wrote: > Hi, > > After lots of tries I have been able to get a stacktrace > + core of

Re: [PyQt] subtle bug in PyQt in combination with Python garbage collector

2011-08-26 Thread Phil Thompson
On Thu, 25 Aug 2011 18:08:17 +0100, Phil Thompson wrote: > On Sat, 13 Aug 2011 10:05:14 -0600, Kovid Goyal > wrote: >> This bug has been present for a very long time. As a workaround in my >> projects, >> I disable the automatic garbage collector and run garbage collection >> manually >> in the