[PyQt] segfault with latest release

Erik Janssens Erik.Janssens at conceptive.be
Thu Dec 30 13:40:59 GMT 2010


Hi,

just got a stacktrace of a segfault under Linux.

any suggestions of what I should be looking for ?

Thx,

Erik
-------------- next part --------------
Program terminated with signal 11, Segmentation fault.
#0  0x00000019 in ?? ()
(gdb) bt
#0  0x00000019 in ?? ()
#1  0x0121c209 in QObject::inherits (this=0xc37b6f8, classname=0x16f6e98 "QSessionManager") at /home/tw55413/workspaces/cpd/trunk/linux2-debug/install/include/QtCore/qobject.h:253
#2  0x012166ed in sipSubClass_QApplication (sipCppRet=0xbfb9a860) at /home/tw55413/workspaces/cpd/trunk/linux2-debug/PyQt-x11-gpl-snapshot-4.8.2-459d6551edc6/sip/QtGui/qapplication.sip:473
#3  0x0030491d in convertSubClass (td=0xbe8400, cppPtr=0xbfb9a8b0) at siplib.c:8320
#4  0x00304305 in sip_api_convert_from_type (cpp=0xc37b6f8, td=0xbe8400, transferObj=0x0) at siplib.c:8010
#5  0x00b47511 in Chimera::toPyObject (this=0xa2220b0, cpp=0xb54e008) at qpycore_chimera.cpp:1461
#6  0x00b3b282 in PyQtProxy::invokeSlot (slot=..., qargs=0xba9ce7c) at qpycore_pyqtproxy.cpp:460
#7  0x00b3f167 in qt_metacall_worker (pySelf=0xb622fe3c, pytype=0xa2286dc, base=0xbe8400, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xba9ce78) at qpycore_qobject_helpers.cpp:123
#8  0x00b3efd2 in qpycore_qobject_qt_metacall (pySelf=0xb622fe3c, base=0xbe8400, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xba9ce78) at qpycore_qobject_helpers.cpp:78
#9  0x00b16d90 in sipQObject::qt_metacall (this=0xb32a040, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xba9ce78) at sipQtCoreQObject.cpp:254
#10 0x00f12442 in QMetaObject::metacall (object=0xb32a040, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xba9ce78) at kernel/qmetaobject.cpp:237
#11 0x00f1f833 in QMetaCallEvent::placeMetaCall (this=0xc01d480, object=0xb32a040) at kernel/qobject.cpp:538
#12 0x00f20f67 in QObject::event (this=0xb32a040, e=0xc01d480) at kernel/qobject.cpp:1212
#13 0x00b16ea3 in sipQObject::event (this=0xb32a040, a0=0xc01d480) at sipQtCoreQObject.cpp:274
#14 0x02d6e44e in QApplicationPrivate::notify_helper (this=0x99dae80, receiver=0xb32a040, e=0xc01d480) at kernel/qapplication.cpp:4445
#15 0x02d6bf97 in QApplication::notify (this=0x9c3dae0, receiver=0xb32a040, e=0xc01d480) at kernel/qapplication.cpp:3845
#16 0x01681512 in sipQApplication::notify (this=0x9c3dae0, a0=0xb32a040, a1=0xc01d480) at sipQtGuiQApplication.cpp:317
#17 0x00f0b710 in QCoreApplication::notifyInternal (this=0x9c3dae0, receiver=0xb32a040, event=0xc01d480) at kernel/qcoreapplication.cpp:732
#18 0x00ada64b in QCoreApplication::sendEvent (receiver=0xb32a040, event=0xc01d480) at /home/tw55413/workspaces/cpd/trunk/linux2-debug/install/include/QtCore/qcoreapplication.h:215
#19 0x00f0c6aa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99db390) at kernel/qcoreapplication.cpp:1370
#20 0x00f3f7ad in QEventDispatcherUNIX::processEvents (this=0x9c9bfa8, flags=...) at kernel/qeventdispatcher_unix.cpp:890
#21 0x02e2c677 in QEventDispatcherX11::processEvents (this=0x9c9bfa8, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#22 0x00f0921b in QEventLoop::processEvents (this=0xbfb9b20c, flags=...) at kernel/qeventloop.cpp:149
#23 0x00f0935f in QEventLoop::exec (this=0xbfb9b20c, flags=...) at kernel/qeventloop.cpp:197
#24 0x00f0bd62 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#25 0x02d6bc4e in QApplication::exec () at kernel/qapplication.cpp:3719
#26 0x01685e81 in meth_QApplication_exec_ (sipArgs=0xb77f302c) at sipQtGuiQApplication.cpp:2266
#27 0x00185242 in PyCFunction_Call (func=0xa605d8c, arg=0xb77f302c, kw=0x0) at Objects/methodobject.c:81



More information about the PyQt mailing list