[PyQt] segfault : interpreting back trace

Erik Janssens Erik.Janssens at conceptive.be
Sun Nov 23 22:47:03 GMT 2008


Hi,

I'm having a pyqt segmentation fault, and I cannot find out what is
causing it.  Can somebody make some suggestions on how to handle this ?

I tried to use gdb to get a back trace, but it doesn't make much sense
to me, it seems to be related to a c-function call, but I don't know
which one (back trace below)

Any help or suggestion is appreciated.

regards,

Erik

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5eceb90 (LWP 17433)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0814e1ce in PyCFunction_Call (func=0x90f5424, arg=0x8d1022c,
kw=0x0) at ../Objects/methodobject.c:73
#2  0x080edfaa in call_function (pp_stack=0xb5ecc140, oparg=1)
at ../Python/ceval.c:3573
#3  0x080e9623 in PyEval_EvalFrameEx (f=0x91b3544, throwflag=0)
at ../Python/ceval.c:2272
#4  0x080ebc86 in PyEval_EvalCodeEx (co=0x9101e68, globals=0x90f1d54,
locals=0x0, args=0x91b3518, argcount=0, kws=0x91b3518, kwcount=0,
defs=0x0, defcount=0, closure=0x9068fbc) at ../Python/ceval.c:2836
#5  0x080ee4e2 in fast_function (func=0x90f3e94, pp_stack=0xb5ecc810,
n=0, na=0, nk=0) at ../Python/ceval.c:3669
#6  0x080ee140 in call_function (pp_stack=0xb5ecc810, oparg=0)
at ../Python/ceval.c:3594
#7  0x080e9623 in PyEval_EvalFrameEx (f=0x91b33c4, throwflag=0)
at ../Python/ceval.c:2272
#8  0x080ebc86 in PyEval_EvalCodeEx (co=0x90e4b08, globals=0x905b854,
locals=0x0, args=0x861598c, argcount=0, kws=0x861598c, kwcount=0,
defs=0x0, defcount=0, closure=0x91139f4) at ../Python/ceval.c:2836
#9  0x080ee4e2 in fast_function (func=0x9115264, pp_stack=0xb5eccee0,
n=0, na=0, nk=0) at ../Python/ceval.c:3669
#10 0x080ee140 in call_function (pp_stack=0xb5eccee0, oparg=0)
at ../Python/ceval.c:3594
#11 0x080e9623 in PyEval_EvalFrameEx (f=0x8615824, throwflag=0)
at ../Python/ceval.c:2272
#12 0x080ee3e5 in fast_function (func=0x8540f34, pp_stack=0xb5ecd4e0,
n=1, na=1, nk=0) at ../Python/ceval.c:3659
#13 0x080ee140 in call_function (pp_stack=0xb5ecd4e0, oparg=0)
at ../Python/ceval.c:3594
#14 0x080e9623 in PyEval_EvalFrameEx (f=0x8615674, throwflag=0)
at ../Python/ceval.c:2272
#15 0x080ee3e5 in fast_function (func=0xb7c42124, pp_stack=0xb5ecdae0,
n=1, na=1, nk=0) at ../Python/ceval.c:3659
#16 0x080ee140 in call_function (pp_stack=0xb5ecdae0, oparg=0)
at ../Python/ceval.c:3594
#17 0x080e9623 in PyEval_EvalFrameEx (f=0x86154fc, throwflag=0)
at ../Python/ceval.c:2272
#18 0x080ebc86 in PyEval_EvalCodeEx (co=0xb7cb4148, globals=0xb7ca6714,
locals=0x0, args=0x85d22b0, argcount=1, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python/ceval.c:2836
#19 0x0814d90a in function_call (func=0xb7c420d4, arg=0x85d229c, kw=0x0)
at ../Objects/funcobject.c:517
#20 0x08062944 in PyObject_Call (func=0xb7c420d4, arg=0x85d229c, kw=0x0)
at ../Objects/abstract.c:1861
#21 0x0806bd66 in instancemethod_call (func=0xb7c420d4, arg=0x85d229c,
kw=0x0) at ../Objects/classobject.c:2519
#22 0x08062944 in PyObject_Call (func=0xb7c5e9f4, arg=0xb7d47034,
kw=0x0) at ../Objects/abstract.c:1861
#23 0x080ed7ba in PyEval_CallObjectWithKeywords (func=0xb7c5e9f4,
arg=0xb7d47034, kw=0x0) at ../Python/ceval.c:3442
#24 0x08126311 in t_bootstrap (boot_raw=0x84a5588)
at ../Modules/threadmodule.c:424
#25 0xb7f0a4fb in start_thread ()
from /lib/tls/i686/cmov/libpthread.so.0
#26 0xb7e5ee5e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) 




More information about the PyQt mailing list