Bug#844601: python-spyder: "from spyder.plugins.editor import Editor" hangs the machine

Zbigniew Reszela zreszela at cells.es
Thu Nov 17 14:18:59 UTC 2016


Package: python-spyder
Version: 3.0.1+dfsg1-1
Severity: normal
Tags: upstream

Dear Maintainer,

We have tried the spyder package from unstable and we have found a
problem.

The steps to reproduce it are:
    apt-get update
    apt-get install -y python-spyder
    export USER=<me>
    python -c "from spyder.plugins.editor import Editor"

Few days ago, it was causing segmentation fault with the following backtrace:

        (gdb) bt
        #0  0x00007f5b8788cca3 in ?? () from
        /usr/lib/x86_64-linux-gnu/libQtGui.so.4
        #1  0x00007f5b87895005 in ?? () from
        /usr/lib/x86_64-linux-gnu/libQtGui.so.4
        #2  0x00007f5b87895eb9 in
        QFontDatabase::addApplicationFont(QString const&) ()
        from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
        #3  0x00007f5b8862a951 in ?? () from
        /usr/lib/python2.7/dist-packages/PyQt4/QtGui.x86_64-linux-gnu.so
        #4  0x00007f5b92e0a24a in call_function
        (oparg=<optimized out>, pp_stack=0x7fffd7b73b00) at
        ../Python/ceval.c:4352
        #5  PyEval_EvalFrameEx () at ../Python/ceval.c:2989
        #6  0x00007f5b92e083c5 in PyEval_EvalCodeEx () at
        ../Python/ceval.c:3584
        #7  0x00007f5b92e24dee in function_call.lto_priv () at
        ../Objects/funcobject.c:523
        #8  0x00007f5b92df6b13 in PyObject_Call () at
        ../Objects/abstract.c:2547
        #9  0x00007f5b92e0c725 in ext_do_call (nk=0, na=1,
        flags=<optimized out>, pp_stack=0x7fffd7b73db8,
        func=<function at remote 0x7f5b6e02b9b0>) at
        ../Python/ceval.c:4666
        #10 PyEval_EvalFrameEx () at ../Python/ceval.c:3028

But I have checked it now and it does not cause the segmentation fault
anymore
but hangs the docker container.

We have tried it on the official docker image for
unstable [1].
We have also tried to prepare a debian unstable VM
following this guide [2], and more precisely using the
second bullet point.
It correctly upgrades the system to unstable, but it
does not boot on the VM restart. So we did not test it
differently than with the docker container.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.10-25-desktop (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages python-spyder depends on:
ii  libjs-jquery        3.1.1-1
ii  libjs-mathjax       2.7.0-1
ii  pep8                1.7.0-4
ii  pylint              1.5.6-1
ii  python-bs4          4.5.1-1
ii  python-jedi         0.9.0-1
ii  python-nbconvert    4.2.0-3
ii  python-pep8         1.7.0-4
ii  python-pickleshare  0.7.4-1
ii  python-psutil       4.3.1-1
ii  python-pyflakes     1.3.0-1
ii  python-pygments     2.1.3+dfsg-1
ii  python-qtawesome    0.3.3-3
ii  python-qtconsole    4.2.1-2
ii  python-qtpy         1.1.2-1
ii  python-rope         0.10.2-1
ii  python-sphinx       1.4.8-1
ii  python-zmq          15.4.0-1
pn  python:any          <none>
ii  spyder-common       3.0.1+dfsg1-1

Versions of packages python-spyder recommends:
ii  python-matplotlib  1.5.3-1
ii  python-numpy       1:1.11.2-1
ii  python-pandas      0.19.0+git14-ga40e185-1
ii  python-scipy       0.18.1-2
ii  spyder-doc         3.0.1+dfsg1-1

Versions of packages python-spyder suggests:
pn  gitk        <none>
pn  tortoisehg  <none>

Versions of packages python-pyqt5 depends on:
ii  libc6                            2.24-5
ii  libqt5core5a [qtbase-abi-5-7-1]  5.7.1~20161021+dfsg-5
ii  libqt5dbus5                      5.7.1~20161021+dfsg-5
ii  libqt5designer5                  5.7.1~20161021-2
ii  libqt5gui5                       5.7.1~20161021+dfsg-5
ii  libqt5help5                      5.7.1~20161021-2
ii  libqt5network5                   5.7.1~20161021+dfsg-5
ii  libqt5printsupport5              5.7.1~20161021+dfsg-5
ii  libqt5test5                      5.7.1~20161021+dfsg-5
ii  libqt5widgets5                   5.7.1~20161021+dfsg-5
ii  libqt5xml5                       5.7.1~20161021+dfsg-5
ii  libstdc++6                       6.2.0-13
ii  python                           2.7.11-2
ii  python-sip [sip-api-11.3]        4.18.1+dfsg-1
pn  python:any                       <none>

Versions of packages python-pyqt5 suggests:
pn  python-pyqt5-dbg  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list