[PyQt] Freezes and crashes with signal autoconnection

Christian Roche christian.roche.fr at gmail.com
Fri Nov 20 19:21:42 GMT 2009


Hi Phil,


Phil Thompson-5 wrote:
> 
> I thought you were using current snapshots (where the code that was
> crashing was only compiled in with old versions of Qt).
> 

I've just tried against the latest snapshots
(sip-4.9.2-snapshot-20091115.tar.gz and 
PyQt-x11-gpl-4.6.2-snapshot-20091115.tar.gz) however the results are even
worse; the application crashes very quickly with the following trace. I
suspect it might be related to the installation, however the demos seem to
work ok.
-----------------------------------------------------
Program terminated with signal 11, Segmentation fault.                                                        
#0  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
        in ../sysdeps/i386/i686/memcpy.S
Missing separate debuginfos, use: debuginfo-install
OpenEXR-libs-1.6.1-8.fc11.i586 e2fsprogs-libs-1.41.4-12.fc11.i586
fontconfig-2.7.1-1.fc11.i586 freetype-2.3.9-5.fc11.i586
ilmbase-1.0.1-4.fc11.i586 jasper-libs-1.900.1-13.fc11.i586
kdelibs-4.3.2-4.fc11.i586 keyutils-libs-1.2-5.fc11.i586
krb5-libs-1.6.3-20.fc11.i586 lcms-libs-1.18-2.fc11.i586
libICE-1.0.4-7.fc11.i586 libSM-1.1.0-4.fc11.i586 libXau-1.0.4-5.fc11.i586
libXcursor-1.1.9-4.fc11.i586 libXdamage-1.1.1-6.fc11.i586
libXfixes-4.0.3-5.fc11.i586 libXi-1.2.1-1.fc11.i586
libXinerama-1.0.3-4.fc11.i586 libXrandr-1.2.99.4-3.fc11.i586
libXrender-0.9.4-5.fc11.i586 libXxf86vm-1.0.2-2.fc11.i586
libattr-2.4.43-3.fc11.i586 libcap-2.16-4.fc11.1.i586
libdrm-2.4.11-2.fc11.i586 libgcrypt-1.4.4-6.fc11.i586
libgpg-error-1.6-3.i586 libjpeg-6b-45.fc11.i586 libmng-1.0.10-2.fc11.i586
libpng-1.2.37-1.fc11.i586 libselinux-2.0.80-1.fc11.i586
libtiff-3.8.2-14.fc11.i586 libxcb-1.2-4.fc11.i586
linuxwacom-0.8.2.2-11.fc11.i586 phonon-4.3.1-102.fc11.i586
qt-x11-4.5.3-9.fc11.i586 xz-libs-4.999.9-0.1.beta.20091007git.fc11.i586
(gdb) bt
#0  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#1  0xb66020d8 in ?? ()
#2  0x01a0b7a7 in QString::append (this=0xb6621000, str=@0x9ee9490) at
/usr/include/bits/string3.h:52
#3  0x04506e8d in QString::operator+= (s=<value optimized out>, this=<value
optimized out>)
    at ../../src/corelib/tools/qstring.h:269
#4  QTextCursor::insertText (s=<value optimized out>, this=<value optimized
out>)
    at text/qtextcursor.cpp:1307
#5  0x04507312 in QTextCursor::insertText (this=0xbfeac73c,
text=@0xb66020d8) at text/qtextcursor.cpp:1275
#6  0x04499c71 in QTextControlPrivate::append (this=0x9d4ead0,
text=@0xb66020d8, format=Qt::AutoText)
    at text/qtextcontrol.cpp:2740
#7  0x04499dd3 in QTextControl::append (this=0x9d4eac0, text=@0xb66020d8) at
text/qtextcontrol.cpp:2754
#8  0x04702459 in QTextEdit::append (this=0x9d4d4f0, text=@0xb66020d8) at
widgets/qtextedit.cpp:2597
#9  0x011e3149 in meth_QTextEdit_append (sipSelf=0x9bdd3ac,
sipArgs=0x9bdebcc) at sipQtGuiQTextEdit.cpp:3381
#10 0x03641762 in PyCFunction_Call (func=0x9be5fcc, arg=0x9bdebcc, kw=0x0)
at Objects/methodobject.c:81
#11 0x0369d5be in call_function (oparg=<value optimized out>,
pp_stack=<value optimized out>)
    at Python/ceval.c:3679
#12 PyEval_EvalFrameEx (oparg=<value optimized out>, pp_stack=<value
optimized out>) at Python/ceval.c:2370
#13 0x0369ed79 in PyEval_EvalCodeEx (co=0xb781aad0, globals=0xb786e02c,
locals=0x0, args=0x9b7d078,
    argcount=2, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:2942
#14 0x0362db87 in function_call (func=0x9be2294, arg=0x9b7d06c, kw=0x0) at
Objects/funcobject.c:524
#15 0x0360172c in PyObject_Call (func=0x9be2294, arg=0x9b7d06c, kw=0x0) at
Objects/abstract.c:2487
#16 0x03617284 in instancemethod_call (func=0xb73b189c, arg=0x9b7d06c,
kw=0x0) at Objects/classobject.c:2579
#17 0x0360172c in PyObject_Call (func=0xb73b189c, arg=0x9bdeb4c, kw=0x0) at
Objects/abstract.c:2487
#18 0x03697f14 in PyEval_CallObjectWithKeywords (func=0xb73b189c,
arg=0x9bdeb4c, kw=0x0)
    at Python/ceval.c:3548
#19 0x003ba2ff in ?? () from /usr/lib/python2.6/site-packages/sip.so
#20 0xb73b189c in ?? ()
#21 0x09bdeb4c in ?? ()
#22 0x00000000 in ?? ()
Current language:  auto; currently asm
-----------------------------------------------------
-- 
View this message in context: http://old.nabble.com/Freezes-and-crashes-with-signal-autoconnection-tp25716493p26444467.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list