[PyQt] Re: [Pyqwt-users] segfaults on linux and mac with sip 4.7.6
Erick Tryzelaar
idadesub at users.sourceforge.net
Sat May 31 03:06:32 BST 2008
On Fri, May 30, 2008 at 6:42 PM, Erick Tryzelaar
<idadesub at users.sourceforge.net> wrote:
> Actually, this is happening because the pyqwt is doing an "import
> PyQt4.Qt", which is the thing that's actually segfaulting.
It seems like the segfault is occurring in siplib.c at line 3788, in
the function createType:
3784: for (sup = type->td_supers, i = 0; i < nrsupers; ++i, ++sup)
3785: {
3786: PyObject *st = (PyObject *)getClassType(sup, client);
3787:
3788: Py_INCREF(st);
3789: PyTuple_SET_ITEM(bases,i,st);
3790: }
According to gdb, getClassType is returning 0, but I'm not sure why yet.
More information about the PyQt
mailing list