Public bug reported:

python-qwt5-qt4 segfaults directly after the first Qwt object is
created.

Recreate with:

import PyQt4.Qwt5 as Qwt
k = Qwt.QwtKnob()

or run one of the example programs in /usr/share/doc/python-
qwt5-doc/qt4examples

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xb623805f in qpycore_get_lazy_attr () from 
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
(gdb) bt
#0  0xb623805f in qpycore_get_lazy_attr () from 
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
#1  0xb7fc783d in add_lazy_attrs (td=0xb797b3e0) at 
/build/buildd/sip4-4.15.2/siplib/siplib.c:6678
#2  add_all_lazy_attrs (td=0xb797b3e0) at 
/build/buildd/sip4-4.15.2/siplib/siplib.c:6699
#3  0xb7fc7cac in sipSimpleWrapper_new (wt=0x853641c, args=0xb7d3602c, 
kwds=0x0) at /build/buildd/sip4-4.15.2/siplib/siplib.c:9388
#4  0x081413fe in type_call.25511 (type=0x853641c, args=0xb7d3602c, kwds=0x0) 
at ../Objects/typeobject.c:729
#5  0x080c1e45 in PyObject_Call (kw=0x0, arg=0xb7d3602c, func=0x853641c) at 
../Objects/abstract.c:2529
#6  do_call (nk=0, na=<optimized out>, pp_stack=0xbfffee2c, func=0x853641c) at 
../Python/ceval.c:4239
#7  call_function (oparg=<optimized out>, pp_stack=0xbfffee2c) at 
../Python/ceval.c:4044
#8  PyEval_EvalFrameEx (f=f@entry=0x83adfac, throwflag=throwflag@entry=0) at 
../Python/ceval.c:2666
#9  0x080c8702 in PyEval_EvalCodeEx (co=0xb7cc8a88, globals=0xb7d66714, 
locals=0xb7d66714, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, 
defcount=0, closure=0x0) at ../Python/ceval.c:3253
#10 0x081aed77 in PyEval_EvalCode (co=0xb7cc8a88, globals=0xb7d66714, 
locals=0xb7d66714) at ../Python/ceval.c:667
#11 0x080a9be7 in run_mod (mod=<optimized out>, filename=<optimized out>, 
globals=0xb7d66714, locals=0xb7d66714, flags=0xbffff01c, arena=0x836ff88) at 
../Python/pythonrun.c:1365
#12 0x080aa4fd in PyRun_FileExFlags (fp=fp@entry=0x83745b8, 
filename=filename@entry=0xbffff32a "test.py", start=start@entry=257, 
globals=globals@entry=0xb7d66714, locals=locals@entry=0xb7d66714, 
    closeit=closeit@entry=1, flags=flags@entry=0xbffff01c) at 
../Python/pythonrun.c:1351
#13 0x080aadc0 in PyRun_SimpleFileExFlags (fp=0x83745b8, filename=<optimized 
out>, closeit=1, flags=0xbffff01c) at ../Python/pythonrun.c:943
#14 0x080aaeb3 in PyRun_AnyFileExFlags (fp=fp@entry=0x83745b8, 
filename=<optimized out>, filename@entry=0xbffff32a "test.py", 
closeit=closeit@entry=1, flags=flags@entry=0xbffff01c)
    at ../Python/pythonrun.c:747
#15 0x080abb1d in Py_Main (argc=argc@entry=2, argv=argv@entry=0xbffff154) at 
../Modules/main.c:640
#16 0x080abbfc in main (argc=2, argv=0xbffff154) at ../Modules/python.c:23


olaf@pc:~$ lsb_release -rd
Description:    Ubuntu 13.10
Release:        13.10

olaf@pc:~$ apt-cache policy python-qwt5-qt4
python-qwt5-qt4:
  Installed: 5.2.1~cvs20091107+dfsg-6+b3build2
  Candidate: 5.2.1~cvs20091107+dfsg-6+b3build2
  Version table:
 *** 5.2.1~cvs20091107+dfsg-6+b3build2 0
        500 http://de.archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages
        100 /var/lib/dpkg/status

** Affects: pyqwt5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1243102

Title:
  python-qwt5-qt4 segfaults immediately in saucy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyqwt5/+bug/1243102/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to