[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Segmentation fault with anonymous enum
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2005-06-30 18:07:06
Message-ID: 200506301907.06655.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic