[PyKDE] Segmentation fault with anonymous enum

Phil Thompson phil at riverbankcomputing.co.uk
Thu Jun 30 19:07:06 BST 2005


On Thursday 30 June 2005 5:27 pm, Denis S. Otkidach wrote:
> If I define single enum in module (no other entries constants), then I
> have no enummembers in generated file and it's not exposed in module.
> If I have other (non-anonymous) enums, then adding anonymouse one causes
> segmentation fault when module is imported:
>
> #0  PyObject_Call (func=0x11, arg=0x3146cc, kw=0x0) at
> Objects/abstract.c:1750 1750            if ((call = func->ob_type->tp_call)
> != NULL) {
> (gdb) bt
> #0  PyObject_Call (func=0x11, arg=0x3146cc, kw=0x0) at
> Objects/abstract.c:1750 #1  0x003d8671 in initsip ()
>    from sip.so
> #2  0x003d616b in initsip ()
>    from sip.so
> #3  0x00371d50 in inittest () from ./test.so

Fixed in tonight's snapshot.

Thanks,
Phil




More information about the PyQt mailing list