[PyKDE] eric3 crashes with latest sip and PyQt snapshots

Andreas Pakulat apaku at gmx.de
Sat Jan 21 18:04:47 GMT 2006


Hi,

wanted to do some development with eric3 after installing latest sip and
PyQt4. Unfortunately eric3 crashed, thus I did a rebuild of PyQt
snapshot (20060116) but still eric3 crashes.

Backtrace:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1210996512 (LWP 30360)]
[KCrash handler]
#3  0x0805da1b in PyObject_Call (func=0xb6d37632, arg=0xb41afab4, kw=0x0)
    at Objects/abstract.c:1755
#4  0x080d1c84 in PyEval_CallObjectWithKeywords (func=0xb6d37632, 
    arg=0xb41afab4, kw=0x0) at Python/ceval.c:3425
#5  0xb7f89e35 in sip_api_call_method (isErr=0x0, method=0xb6d37632, 
    fmt=0xb78e4dba "M") at siplib.c:971
#6  0xb744ce96 in sipVH_qt_5 (sipGILState=PyGILState_LOCKED, 
    sipMethod=0xb6d37632, a0=0x871a470) at sipqtcmodule.cpp:5902
#7  0xb676fc28 in sipKApplication::polish (this=0x8593c40, a0=0x871a470)
    at sipkdecorepart0.cpp:102406
#8  0xb6d37632 in QWidget::polish (this=0x871a470) at kernel/qwidget.cpp:4215
#9  0xb770b863 in sipQLabel::polish (this=0x871a470) at sipqtQLabel.cpp:1206
#10 0xb78afd98 in QWidget::constPolish (this=0x871a470) at qwidget.h:884
#11 0xb6dd3952 in QLabel::minimumSizeHint (this=0x871a470)
    at widgets/qlabel.cpp:636
#12 0xb6dd3bed in QLabel::sizeHint (this=0x871a470) at widgets/qlabel.cpp:623
#13 0xb770a22a in sipQLabel::sizeHint (this=0x871a470) at sipqtQLabel.cpp:557
#14 0xb6dd5b2a in QLabel::setPixmap (this=0x871a470, pixmap=@0x870b020)
    at widgets/qlabel.cpp:338
#15 0xb770969c in sipQLabel::setPixmap (this=0x871a470, a0=@0x870b020)
    at sipqtQLabel.cpp:198
#16 0xb7713529 in meth_QLabel_setPixmap (sipSelf=0xb41ae34c, 
    sipArgs=0xb41afa44) at sipqtQLabel.cpp:4188
#17 0x08126ee3 in PyCFunction_Call (func=0xb45aed8c, arg=0xb41afa44, kw=0x0)
    at Objects/methodobject.c:73
#18 0x080d23ce in call_function (pp_stack=0xbfeaae80, oparg=1)
    at Python/ceval.c:3558
#19 0x080cdd72 in PyEval_EvalFrame (f=0x81918fc) at Python/ceval.c:2163
#20 0x080d020d in PyEval_EvalCodeEx (co=0xb7a79ef0, globals=0xb4213854, 
    locals=0x0, args=0xb7a76898, argcount=1, kws=0x0, kwcount=0, defs=0x0, 
    defcount=0, closure=0x0) at Python/ceval.c:2736
#21 0x081266c4 in function_call (func=0xb4211f84, arg=0xb7a76884, kw=0x0)
    at Objects/funcobject.c:548
#22 0x0805da38 in PyObject_Call (func=0xb4211f84, arg=0xb7a76884, kw=0x0)
    at Objects/abstract.c:1756
#23 0x08066424 in instancemethod_call (func=0xb4211f84, arg=0xb7a76884, kw=0x0)
    at Objects/classobject.c:2447
#24 0x0805da38 in PyObject_Call (func=0xb44c10f4, arg=0xb7cda034, kw=0x0)
    at Objects/abstract.c:1756
#25 0x080a556d in slot_tp_init (self=0xb419ffac, args=0xb7cda034, kwds=0x0)
    at Objects/typeobject.c:4762
#26 0x08097a03 in type_call (type=0x82480d4, args=0xb7cda034, kwds=0x0)
    at Objects/typeobject.c:435
#27 0x0805da38 in PyObject_Call (func=0x82480d4, arg=0xb7cda034, kw=0x0)
    at Objects/abstract.c:1756
#28 0x080d2d7f in do_call (func=0x82480d4, pp_stack=0xbfeab8c0, na=0, nk=0)
    at Python/ceval.c:3766
#29 0x080d2568 in call_function (pp_stack=0xbfeab8c0, oparg=0)
    at Python/ceval.c:3581
#30 0x080cdd72 in PyEval_EvalFrame (f=0x81b0964) at Python/ceval.c:2163
#31 0x080d276e in fast_function (func=0xb41b2084, pp_stack=0xbfeabec0, n=0, 
    na=0, nk=0) at Python/ceval.c:3640
#32 0x080d254f in call_function (pp_stack=0xbfeabec0, oparg=0)
    at Python/ceval.c:3579
#33 0x080cdd72 in PyEval_EvalFrame (f=0x817414c) at Python/ceval.c:2163
#34 0x080d020d in PyEval_EvalCodeEx (co=0xb7cb6600, globals=0xb7cfae94, 
    locals=0xb7cfae94, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, 
    defcount=0, closure=0x0) at Python/ceval.c:2736
#35 0x080c649c in PyEval_EvalCode (co=0xb7cb6600, globals=0xb7cfae94, 
    locals=0xb7cfae94) at Python/ceval.c:484
#36 0x080fad21 in run_node (n=0xb7a639b0, 
    filename=0xbfead691 "/home/andreas/python2.4/lib/python2.4/site-packages/eric3/eric3.py", globals=0xb7cfae94, locals=0xb7cfae94, flags=0xbfeac220)
    at Python/pythonrun.c:1265
#37 0x080faccb in run_err_node (n=0xb7a639b0, 
    filename=0xbfead691 "/home/andreas/python2.4/lib/python2.4/site-packages/eric3/eric3.py", globals=0xb7cfae94, locals=0xb7cfae94, flags=0xbfeac220)
    at Python/pythonrun.c:1252
#38 0x080fac9a in PyRun_FileExFlags (fp=0x8172008, 
    filename=0xbfead691 "/home/andreas/python2.4/lib/python2.4/site-packages/eric3/eric3.py", start=257, globals=0xb7cfae94, locals=0xb7cfae94, closeit=1, 
    flags=0xbfeac220) at Python/pythonrun.c:1243
#39 0x080f9925 in PyRun_SimpleFileExFlags (fp=0x8172008, 
    filename=0xbfead691 "/home/andreas/python2.4/lib/python2.4/site-packages/eric3/eric3.py", closeit=1, flags=0xbfeac220) at Python/pythonrun.c:860
#40 0x080f9094 in PyRun_AnyFileExFlags (fp=0x8172008, 
    filename=0xbfead691 "/home/andreas/python2.4/lib/python2.4/site-packages/eric3/eric3.py", closeit=1, flags=0xbfeac220) at Python/pythonrun.c:664
#41 0x08055f3c in Py_Main (argc=2, argv=0xbfeac324) at Modules/main.c:484
#42 0x08055372 in main (argc=2, argv=0xbfeac324) at Modules/python.c:23

Andreas

-- 
You have the capacity to learn from mistakes.  You'll learn a lot today.




More information about the PyQt mailing list