[PyQt] PyQt crash on windows soon after instantiating Qt objects

Erik Janssens Erik.Janssens at conceptive.be
Sun Dec 12 07:57:41 GMT 2010


Hello Blaine,

crashes are always interesting.  can you create an as small as possible
example that crashes ?

if possible, run it in a debugger as well, to see where exactly it crashes,
eg withing qt or pyqt or something else...

Erik

On Sun, Dec 12, 2010 at 2:38 AM, Blaine Bell
<blaine.bell at schrodinger.com> wrote:
> Hi,
>
> I have two objects that are each subclassing QGraphicsView and QMainWindow,
> and I am getting the same behavior for both.  Soon after I instantiate one
> of these objects, the process crashes.  I have found that the event(QEvent
> *) function gets called quite a few times, then the crash happens when the
> event type equals QEvent::Polish (i.e., 75).  Has anyone seen this before,
> or does anyone know what could be causing this problem?  This happens soon
> after I instantiate these objects, and I do not do anything else with the
> object (i.e., I do not show() it yet)
>
> Thanks,
>
> Blaine
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


More information about the PyQt mailing list