[PyKDE] PyQt4 shutdown crash

Mike Rovner mrovner at cadence.com
Thu Jun 1 19:38:16 BST 2006


Hi,

I'm sorry for possibly false alarming and vague description. I'll supply 
more info as we go.

Many times now I see application crash on exit. It's in different places 
but it seems that QMetaType::destroy is a common pattern there.

On the start I have a message:
 >> QObject::connect: Cannot queue arguments of type 'QRectF'

and on exit I got:

X Error of failed request:  BadWindow (invalid Window parameter)
   Major opcode of failed request:  18 (X_ChangeProperty)
   Resource id in failed request:  0x0
   Serial number of failed request:  402249
   Current serial number in output stream:  402313
Segmentation fault (core dumped)

(gdb) where
#0  0xb741708d in _int_free () from /lib/tls/libc.so.6
#1  0xb7416048 in free () from /lib/tls/libc.so.6
#2  0xb66e750f in qFree(void*) () from 
/lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtCore.so.4
#3  0xb678d701 in 
QVector<QCustomTypeInfo>::free(QVectorTypedData<QCustomTypeInfo>*) ()
    from /lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtCore.so.4
#4  0xb678daae in QVector<QCustomTypeInfo>::~QVector() () from 
/lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtCore.so.4
#5  0xb678d628 in QMetaType::destroy(int, void*) () from 
/lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtCore.so.4
#6  0xb73cf6c3 in exit () from /lib/tls/libc.so.6
#7  0xb65592ab in _XDefaultError () from /usr/X11R6/lib/libX11.so.6
#8  0xb655939b in _XError () from /usr/X11R6/lib/libX11.so.6
#9  0xb655793f in _XReply () from /usr/X11R6/lib/libX11.so.6
#10 0xb6552b25 in XSync () from /usr/X11R6/lib/libX11.so.6
#11 0xb65373c2 in XCloseDisplay () from /usr/X11R6/lib/libX11.so.6
#12 0xb69bfdf7 in qt_cleanup() () from 
/lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtGui.so.4
#13 0xb696e2ad in QApplication::~QApplication() () from 
/lan/dfm/grp_mm_data1/dev/tools/linux-x86_32/lib/libQtGui.so.4
#14 0xb715acb1 in initQtGui () from 
/home/mrovner/tools/linux-x86_32/lib/python2.4/site-packages/PyQt4/QtGui.so
#15 0xb6ea1a09 in ?? () from 
/home/mrovner/tools/linux-x86_32/lib/python2.4/site-packages/PyQt4/QtGui.so
#16 0xb6843f3e in initsip () from 
/home/mrovner/tools/linux-x86_32/lib/python2.4/site-packages/sip.so
#17 0x080db5dd in call_ll_exitfuncs () at Python/pythonrun.c:1564
#18 0x08055466 in Py_Main (argc=3, argv=0xbfffe4b4) at Modules/main.c:504
#19 0x08054f8b in main (argc=-1219649152, argv=0xb74da180) at 
Modules/python.c:23
(gdb)

Any ideas or test I should run to clarify the situation?

Thanks,
Mike

PS.
sip-snapshot-20060513
PyQt4-x11-commercial-snapshot-20060513
Python-2.4.2
linux




More information about the PyQt mailing list