[PyQt] PyQt4.4.3 segfault

juergen urner jUrner at arcor.de
Wed Aug 6 18:05:37 BST 2008


Hi all,

i get a segfault when trying to connect to a signal with the following signature i emit:

SIGNAL('whatever(int)')

am i doing something wrong?




Platform: linux2 
Python Version: 2.5.2 
Qt Version: 4.4.0 
PyQt Version: 4.4.3-snapshot-20080705 
Sip Version: 4.7.6 


Starting program: /*.py
[Thread debugging using libthread_db enabled]
[New Thread 0xb7e1e6b0 (LWP 6602)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7e1e6b0 (LWP 6602)]
0x08075483 in PyInt_AsLong (op=0x2) at ../Objects/intobject.c:152
152     ../Objects/intobject.c: No such file or directory.
        in ../Objects/intobject.c

(gdb) bt
#0  0x08075483 in PyInt_AsLong (op=0x2) at ../Objects/intobject.c:152
#1  0xb7be07d8 in ?? () from /usr/lib/python2.5/site-packages/PyQt4/QtCore.so
#2  0xb7be4790 in ?? () from /usr/lib/python2.5/site-packages/PyQt4/QtCore.so
#3  0xb7bec2c2 in ?? () from /usr/lib/python2.5/site-packages/PyQt4/QtCore.so
#4  0xb7fc54b2 in ?? () from /usr/lib/python2.5/site-packages/sip.so
#5  0xb7cd0a1b in ?? () from /usr/lib/python2.5/site-packages/PyQt4/QtCore.so
#6  0x080c9ab3 in PyEval_EvalFrameEx (f=0x82e6dfc, throwflag=0)
    at ../Python/ceval.c:3573
#7  0x080cb1f7 in PyEval_EvalCodeEx (co=0xb63e4de8, globals=0xb63e0cec,
    locals=0x0, args=0xb63ee618, argcount=2, kws=0x0, kwcount=0, defs=0x0,
    defcount=0, closure=0x0) at ../Python/ceval.c:2836
#8  0x0811372e in function_call (func=0xb63e69cc, arg=0xb63ee60c, kw=0x0)
    at ../Objects/funcobject.c:517
#9  0x0805cb97 in PyObject_Call (func=0x831b370, arg=0xb63ee60c, kw=0x0)
    at ../Objects/abstract.c:1861
#10 0x08062bfb in instancemethod_call (func=0xb63e69cc, arg=0xb63ee60c, kw=0x0)
    at ../Objects/classobject.c:2519
#11 0x0805cb97 in PyObject_Call (func=0x831b370, arg=0xb63e960c, kw=0x0)
    at ../Objects/abstract.c:1861
#12 0x080c2e9c in PyEval_CallObjectWithKeywords (func=0xb63ec75c,
    arg=0xb63e960c, kw=0x0) at ../Python/ceval.c:3442
#13 0xb7fc5627 in ?? () from /usr/lib/python2.5/site-packages/sip.so
#14 0xb7be8dc7 in ?? () from /usr/lib/python2.5/site-packages/PyQt4/QtCore.so





More information about the PyQt mailing list