[PyQt] PyQt5.9 PyPi package segfault

Damon Lynch damonlynch at gmail.com
Fri Jul 21 03:09:01 BST 2017


On the PyPi version of PyQt5.9, I'm seeing a segfault that occurs everytime
when run in a flavor of Ubuntu (tested in 16.04, 17.04 and 17.10) and
Debian 9, but never occurs when run on Fedora 25 or 26 using the exact same
PyQt5 package. Moreover, the segfault does not occur when using the distro
PyQt5 packages. The segfault occurs well before program exit.

I have attached the gdb stacktrace from an Ubuntu 16.04 instance.

This is the code that triggers it:
http://bazaar.launchpad.net/~dlynch3/rapid/zeromq_pyqt/view/983/upgrade.py

I really do not expect anyone to run this code, but if you do, it's run
like this (note the tempdir!):

python3 upgrade.py tempdir/rapid-photo-downloader-0.9.1.tar.gz

with the tar.gz from
https://launchpad.net/rapid/pyqt/0.9.1/+download/rapid-photo-downloader-0.9.1.tar.gz

**NOTE should the script execute successfully the directory the tar.gz is
in and everything else in that directory will be deleted, so do not run
this script without using the tempdir!**

Moreover, it makes sense to run this script only when the application has
already been installed. See for instructions:
http://damonlynch.net/rapid/download.html

Is this a bug in the PyQt5 or Qt PyPi package? Or a bug in my code?

Damon
-- 
http://www.damonlynch.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170720/2f8a808a/attachment-0001.html>
-------------- next part --------------
#0  0x00007ffff54aeb2c in pyqtSignal_descr_get () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#1  0x0000000000576432 in _PyObject_GenericGetAttrWithDict () at ../Objects/object.c:1097
        tp = 0xeeb248
        descr = <PyQt5.QtCore.pyqtSignal at remote 0x7ffff68e9350>
        res = 0x0
        f = <optimized out>
        dictoffset = <optimized out>
        dictptr = <optimized out>
#2  0x000000000054e013 in slot_tp_getattr_hook () at ../Objects/typeobject.c:6123
        tp = <optimized out>
        getattr = <unknown at remote 0x7ffff5935d68>
        getattribute = <wrapper_descriptor at remote 0x7ffff7f9d138>
        res = <optimized out>
        PyId___getattr__ = {next = 0x9fdf80 <PyId___setattr__.14179>, string = 0x71ef1d "__getattr__", object = '__getattr__'}
#3  0x000000000052424b in PyEval_EvalFrameEx () at ../Python/ceval.c:2743
        owner = <RPDUpgrade at remote 0x7ffff5842828>
        res = <optimized out>
        stack_pointer = 0x7ffff68c6af0
        next_instr = <optimized out>
        opcode = 106
        oparg = <optimized out>
        why = WHY_NOT
        fastlocals = <optimized out>
        freevars = 0x7ffff68c6ae8
        retval = <optimized out>
        tstate = <optimized out>
        co = 0x7ffff7e7e780
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr = 0x7ffff6958208 "|\002"
        names = ('message', 'emit')
        consts = (None, 1, -1)
        opcode_targets = {0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x523fff <PyEval_EvalFrameEx+511>, 0x5254cb <PyEval_EvalFrameEx+5835>, 0x525aac <PyEval_EvalFrameEx+7340>, 
          0x52581e <PyEval_EvalFrameEx+6686>, 0x527b2f <PyEval_EvalFrameEx+15663>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x52c66f <PyEval_EvalFrameEx+34927>, 0x52cf0e <PyEval_EvalFrameEx+37134>, 0x526924 <PyEval_EvalFrameEx+11044>, 0x5258d1 <PyEval_EvalFrameEx+6865>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52722b <PyEval_EvalFrameEx+13355>, 0x52c978 <PyEval_EvalFrameEx+35704>, 0x52c8d4 <PyEval_EvalFrameEx+35540>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x526685 <PyEval_EvalFrameEx+10373>, 0x52550c <PyEval_EvalFrameEx+5900>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x525b88 <PyEval_EvalFrameEx+7560>, 0x524d0b <PyEval_EvalFrameEx+3851>, 
          0x5251a5 <PyEval_EvalFrameEx+5029>, 0x524a10 <PyEval_EvalFrameEx+3088>, 0x525ffa <PyEval_EvalFrameEx+8698>, 0x526ddf <PyEval_EvalFrameEx+12255>, 0x527991 <PyEval_EvalFrameEx+15249>, 
          0x528080 <PyEval_EvalFrameEx+17024>, 0x52d0c8 <PyEval_EvalFrameEx+37576> <repeats 20 times>, 0x52cb9a <PyEval_EvalFrameEx+36250>, 0x528168 <PyEval_EvalFrameEx+17256>, 
          0x52cf9f <PyEval_EvalFrameEx+37279>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52536e <PyEval_EvalFrameEx+5486>, 0x5272b2 <PyEval_EvalFrameEx+13490>, 
          0x527fcc <PyEval_EvalFrameEx+16844>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52c6ba <PyEval_EvalFrameEx+35002>, 0x5250ea <PyEval_EvalFrameEx+4842>, 0x5269ab <PyEval_EvalFrameEx+11179>, 
          0x526881 <PyEval_EvalFrameEx+10881>, 0x525c50 <PyEval_EvalFrameEx+7760>, 0x525a0b <PyEval_EvalFrameEx+7179>, 0x526d3d <PyEval_EvalFrameEx+12093>, 0x5264dd <PyEval_EvalFrameEx+9949>, 
          0x52ca3b <PyEval_EvalFrameEx+35899>, 0x52506f <PyEval_EvalFrameEx+4719>, 0x527355 <PyEval_EvalFrameEx+13653>, 0x527a82 <PyEval_EvalFrameEx+15490>, 0x5273c6 <PyEval_EvalFrameEx+13766>, 
          0x5274f6 <PyEval_EvalFrameEx+14070>, 0x528228 <PyEval_EvalFrameEx+17448>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x526a42 <PyEval_EvalFrameEx+11330>, 0x52c4a2 <PyEval_EvalFrameEx+34466>, 
          0x527581 <PyEval_EvalFrameEx+14209>, 0x526be1 <PyEval_EvalFrameEx+11745>, 0x527454 <PyEval_EvalFrameEx+13908>, 0x525c42 <PyEval_EvalFrameEx+7746>, 0x526596 <PyEval_EvalFrameEx+10134>, 
          0x525d8e <PyEval_EvalFrameEx+8078>, 0x5247fd <PyEval_EvalFrameEx+2557>, 0x5276c9 <PyEval_EvalFrameEx+14537>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52532e <PyEval_EvalFrameEx+5422>, 
          0x524dc5 <PyEval_EvalFrameEx+4037>, 0x524bc5 <PyEval_EvalFrameEx+3525>, 0x526ae5 <PyEval_EvalFrameEx+11493>, 0x5255ad <PyEval_EvalFrameEx+6061>, 0x527634 <PyEval_EvalFrameEx+14388>, 
          0x524915 <PyEval_EvalFrameEx+2837>, 0x524875 <PyEval_EvalFrameEx+2677>, 0x526c94 <PyEval_EvalFrameEx+11924>, 0x524c50 <PyEval_EvalFrameEx+3664>, 0x527b82 <PyEval_EvalFrameEx+15746>, 
          0x527c19 <PyEval_EvalFrameEx+15897>, 0x52cae6 <PyEval_EvalFrameEx+36070>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x5241c4 <PyEval_EvalFrameEx+964>, 0x52595c <PyEval_EvalFrameEx+7004>, 
          0x524ebb <PyEval_EvalFrameEx+4283>, 0x525671 <PyEval_EvalFrameEx+6257>, 0x527cb3 <PyEval_EvalFrameEx+16051>, 0x525af6 <PyEval_EvalFrameEx+7414>, 0x524211 <PyEval_EvalFrameEx+1041>, 
          0x52467f <PyEval_EvalFrameEx+2175>, 0x526ea1 <PyEval_EvalFrameEx+12449>, 0x527190 <PyEval_EvalFrameEx+13200>, 0x524fa0 <PyEval_EvalFrameEx+4512>, 0x525865 <PyEval_EvalFrameEx+6757>, 
          0x525cf2 <PyEval_EvalFrameEx+7922>, 0x524ac0 <PyEval_EvalFrameEx+3264>, 0x524601 <PyEval_EvalFrameEx+2049>, 0x524b48 <PyEval_EvalFrameEx+3400>, 0x524748 <PyEval_EvalFrameEx+2376>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x527a45 <PyEval_EvalFrameEx+15429>, 0x524fee <PyEval_EvalFrameEx+4590>, 0x52534b <PyEval_EvalFrameEx+5451>, 
          0x5267ce <PyEval_EvalFrameEx+10702>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x5240f0 <PyEval_EvalFrameEx+752>, 0x524144 <PyEval_EvalFrameEx+836>, 0x527efa <PyEval_EvalFrameEx+16634>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x527044 <PyEval_EvalFrameEx+12868>, 0x5242b8 <PyEval_EvalFrameEx+1208>, 
          0x525705 <PyEval_EvalFrameEx+6405>, 0x52524e <PyEval_EvalFrameEx+5198>, 0x525fda <PyEval_EvalFrameEx+8666>, 0x525f67 <PyEval_EvalFrameEx+8551>, 0x524e37 <PyEval_EvalFrameEx+4151>, 
          0x526749 <PyEval_EvalFrameEx+10569>, 0x52ce32 <PyEval_EvalFrameEx+36914>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52609b <PyEval_EvalFrameEx+8859>, 0x528124 <PyEval_EvalFrameEx+17188>, 
          0x526660 <PyEval_EvalFrameEx+10336>, 0x525e15 <PyEval_EvalFrameEx+8213>, 0x527f92 <PyEval_EvalFrameEx+16786>, 0x525428 <PyEval_EvalFrameEx+5672>, 0x5267ed <PyEval_EvalFrameEx+10733>, 
          0x5270dc <PyEval_EvalFrameEx+13020>, 0x5278be <PyEval_EvalFrameEx+15038>, 0x52cb69 <PyEval_EvalFrameEx+36201>, 0x52cd3c <PyEval_EvalFrameEx+36668>, 0x52cc9c <PyEval_EvalFrameEx+36508>, 
          0x52c55f <PyEval_EvalFrameEx+34655>, 0x52c779 <PyEval_EvalFrameEx+35193>, 0x52c811 <PyEval_EvalFrameEx+35345>, 0x52d0c8 <PyEval_EvalFrameEx+37576> <repeats 101 times>}
#4  0x000000000052d2e3 in _PyEval_EvalCodeWithName () at ../Python/ceval.c:4018
        co = 0x7ffff7e7e780
        f = Frame 0x7ffff68c6958, for file /home/damon/upgrade.py, line 211, in sendMessage (self=<RPDUpgrade at remote 0x7ffff5842828>, message='Successfully installed PyQt5-5.9 arrow-0.10.0 certifi-2017.4.17 chardet-3.0.4 colorlog-2.10.0 colour-0.1.4 easygui-0.97.4 gphoto2-1.6.0 idna-2.5 psutil-5.2.2 pymediainfo-2.1.9 pyprind-2.11.1 python-dateutil-2.6.0 pyxdg-0.25 pyzmq-15.1.0 rawkit-0.6.0 requests-2.14.2 sip-4.19.3 six-1.10.0 sortedcontainers-1.5.7 urllib3-1.21.1\n', truncate=True)
        retval = 0x0
        fastlocals = 0x7ffff68c6ad0
        freevars = <optimized out>
        tstate = 0x7fffc0002200
        x = <optimized out>
        u = <optimized out>
        total_args = 3
        i = 0
        n = <optimized out>
        kwdict = <optimized out>
#5  0x0000000000528eee in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=0x7fffcd589520, func=<optimized out>) at ../Python/ceval.c:4813
        co = <optimized out>
        nd = <optimized out>
        globals = <optimized out>
        argdefs = (False,)
        d = 0x7ffff583e220
#6  call_function (oparg=<optimized out>, pp_stack=0x7fffcd589520) at ../Python/ceval.c:4730
        func = <optimized out>
        w = <optimized out>
        na = <optimized out>
        nk = <optimized out>
        n = <optimized out>
        pfunc = <optimized out>
        x = <optimized out>
#7  PyEval_EvalFrameEx () at ../Python/ceval.c:3236
        sp = 0x7fffc0002530
        res = <unknown at remote 0x7ffff583e220>
        stack_pointer = <optimized out>
        next_instr = <optimized out>
        opcode = 131
        oparg = <optimized out>
        why = WHY_NOT
        fastlocals = <optimized out>
        freevars = 0x7fffc0002500
        retval = <optimized out>
        tstate = <optimized out>
        co = 0x7ffff7e7e9c0
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr = 0xb8c680 "|"
        names = ('sendMessage', 'pip_version', 'StrictVersion', 'format', 'make_pip_command', 'subprocess', 'check_output', 'Popen', 'PIPE', 'stdout', 'checkForCmd', 'AssertionError', 'failure', 'wait', 'returncode', 'Exception', 'os', 'path', 'basename', 'len', 'join', 'tarfile', 'open', 'extractfile', 'read', 'platform', 'machine', 'python_version_tuple', 'rstrip', 'tempfile', 'NamedTemporaryFile', 'write', 'name', 'remove', 'sys', 'exc_info', 'upgradeFinished', 'emit')
        consts = (None, 'Uninstalling previous version installed with pip...\n', 'list --user --disable-pip-version-check', '9.0.0', '{} --format=columns', 'uninstall --disable-pip-version-check -y rapid-photo-downloader', 'universal_newlines', True, 'rapid-photo-downloader', 'stdout', 'stderr', 'bufsize', 1, 'truncate', 'STOP', '\nTermination requested', 0, 'Encountered an error uninstalling previous version installed with pip\n', '...done uninstalling previous version.\n', '.tar.gz', 'requirements.txt', 'x86_64', '5', '6', b'\nPyQt5', 'delete', False, 'Failed to extract application requirements', 'Installing application requirements...\n', 'install --user --disable-pip-version-check -r {}', 'Failed to install application requirements: %i', 'Failed to install application requirements', '\nInstalling application...\n', 'install --user --disable-pip-version-check --no-deps {}', 'Failed to install application', -1, ('5', '6'))
        opcode_targets = {0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x523fff <PyEval_EvalFrameEx+511>, 0x5254cb <PyEval_EvalFrameEx+5835>, 0x525aac <PyEval_EvalFrameEx+7340>, 
          0x52581e <PyEval_EvalFrameEx+6686>, 0x527b2f <PyEval_EvalFrameEx+15663>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x52c66f <PyEval_EvalFrameEx+34927>, 0x52cf0e <PyEval_EvalFrameEx+37134>, 0x526924 <PyEval_EvalFrameEx+11044>, 0x5258d1 <PyEval_EvalFrameEx+6865>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52722b <PyEval_EvalFrameEx+13355>, 0x52c978 <PyEval_EvalFrameEx+35704>, 0x52c8d4 <PyEval_EvalFrameEx+35540>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 
          0x526685 <PyEval_EvalFrameEx+10373>, 0x52550c <PyEval_EvalFrameEx+5900>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x525b88 <PyEval_EvalFrameEx+7560>, 0x524d0b <PyEval_EvalFrameEx+3851>, 
          0x5251a5 <PyEval_EvalFrameEx+5029>, 0x524a10 <PyEval_EvalFrameEx+3088>, 0x525ffa <PyEval_EvalFrameEx+8698>, 0x526ddf <PyEval_EvalFrameEx+12255>, 0x527991 <PyEval_EvalFrameEx+15249>, 
          0x528080 <PyEval_EvalFrameEx+17024>, 0x52d0c8 <PyEval_EvalFrameEx+37576> <repeats 20 times>, 0x52cb9a <PyEval_EvalFrameEx+36250>, 0x528168 <PyEval_EvalFrameEx+17256>, 
          0x52cf9f <PyEval_EvalFrameEx+37279>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52536e <PyEval_EvalFrameEx+5486>, 0x5272b2 <PyEval_EvalFrameEx+13490>, 
          0x527fcc <PyEval_EvalFrameEx+16844>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52c6ba <PyEval_EvalFrameEx+35002>, 0x5250ea <PyEval_EvalFrameEx+4842>, 0x5269ab <PyEval_EvalFrameEx+11179>, 
          0x526881 <PyEval_EvalFrameEx+10881>, 0x525c50 <PyEval_EvalFrameEx+7760>, 0x525a0b <PyEval_EvalFrameEx+7179>, 0x526d3d <PyEval_EvalFrameEx+12093>, 0x5264dd <PyEval_EvalFrameEx+9949>, 
          0x52ca3b <PyEval_EvalFrameEx+35899>, 0x52506f <PyEval_EvalFrameEx+4719>, 0x527355 <PyEval_EvalFrameEx+13653>, 0x527a82 <PyEval_EvalFrameEx+15490>, 0x5273c6 <PyEval_EvalFrameEx+13766>, 
          0x5274f6 <PyEval_EvalFrameEx+14070>, 0x528228 <PyEval_EvalFrameEx+17448>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x526a42 <PyEval_EvalFrameEx+11330>, 0x52c4a2 <PyEval_EvalFrameEx+34466>, 
          0x527581 <PyEval_EvalFrameEx+14209>, 0x526be1 <PyEval_EvalFrameEx+11745>, 0x527454 <PyEval_EvalFrameEx+13908>, 0x525c42 <PyEval_EvalFrameEx+7746>, 0x526596 <PyEval_EvalFrameEx+10134>, 
          0x525d8e <PyEval_EvalFrameEx+8078>, 0x5247fd <PyEval_EvalFrameEx+2557>, 0x5276c9 <PyEval_EvalFrameEx+14537>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52532e <PyEval_EvalFrameEx+5422>, 
          0x524dc5 <PyEval_EvalFrameEx+4037>, 0x524bc5 <PyEval_EvalFrameEx+3525>, 0x526ae5 <PyEval_EvalFrameEx+11493>, 0x5255ad <PyEval_EvalFrameEx+6061>, 0x527634 <PyEval_EvalFrameEx+14388>, 
          0x524915 <PyEval_EvalFrameEx+2837>, 0x524875 <PyEval_EvalFrameEx+2677>, 0x526c94 <PyEval_EvalFrameEx+11924>, 0x524c50 <PyEval_EvalFrameEx+3664>, 0x527b82 <PyEval_EvalFrameEx+15746>, 
          0x527c19 <PyEval_EvalFrameEx+15897>, 0x52cae6 <PyEval_EvalFrameEx+36070>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x5241c4 <PyEval_EvalFrameEx+964>, 0x52595c <PyEval_EvalFrameEx+7004>, 
          0x524ebb <PyEval_EvalFrameEx+4283>, 0x525671 <PyEval_EvalFrameEx+6257>, 0x527cb3 <PyEval_EvalFrameEx+16051>, 0x525af6 <PyEval_EvalFrameEx+7414>, 0x524211 <PyEval_EvalFrameEx+1041>, 
          0x52467f <PyEval_EvalFrameEx+2175>, 0x526ea1 <PyEval_EvalFrameEx+12449>, 0x527190 <PyEval_EvalFrameEx+13200>, 0x524fa0 <PyEval_EvalFrameEx+4512>, 0x525865 <PyEval_EvalFrameEx+6757>, 
          0x525cf2 <PyEval_EvalFrameEx+7922>, 0x524ac0 <PyEval_EvalFrameEx+3264>, 0x524601 <PyEval_EvalFrameEx+2049>, 0x524b48 <PyEval_EvalFrameEx+3400>, 0x524748 <PyEval_EvalFrameEx+2376>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x527a45 <PyEval_EvalFrameEx+15429>, 0x524fee <PyEval_EvalFrameEx+4590>, 0x52534b <PyEval_EvalFrameEx+5451>, 
          0x5267ce <PyEval_EvalFrameEx+10702>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x5240f0 <PyEval_EvalFrameEx+752>, 0x524144 <PyEval_EvalFrameEx+836>, 0x527efa <PyEval_EvalFrameEx+16634>, 
          0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x527044 <PyEval_EvalFrameEx+12868>, 0x5242b8 <PyEval_EvalFrameEx+1208>, 
          0x525705 <PyEval_EvalFrameEx+6405>, 0x52524e <PyEval_EvalFrameEx+5198>, 0x525fda <PyEval_EvalFrameEx+8666>, 0x525f67 <PyEval_EvalFrameEx+8551>, 0x524e37 <PyEval_EvalFrameEx+4151>, 
          0x526749 <PyEval_EvalFrameEx+10569>, 0x52ce32 <PyEval_EvalFrameEx+36914>, 0x52d0c8 <PyEval_EvalFrameEx+37576>, 0x52609b <PyEval_EvalFrameEx+8859>, 0x528124 <PyEval_EvalFrameEx+17188>, 
          0x526660 <PyEval_EvalFrameEx+10336>, 0x525e15 <PyEval_EvalFrameEx+8213>, 0x527f92 <PyEval_EvalFrameEx+16786>, 0x525428 <PyEval_EvalFrameEx+5672>, 0x5267ed <PyEval_EvalFrameEx+10733>, 
          0x5270dc <PyEval_EvalFrameEx+13020>, 0x5278be <PyEval_EvalFrameEx+15038>, 0x52cb69 <PyEval_EvalFrameEx+36201>, 0x52cd3c <PyEval_EvalFrameEx+36668>, 0x52cc9c <PyEval_EvalFrameEx+36508>, 
          0x52c55f <PyEval_EvalFrameEx+34655>, 0x52c779 <PyEval_EvalFrameEx+35193>, 0x52c811 <PyEval_EvalFrameEx+35345>, 0x52d0c8 <PyEval_EvalFrameEx+37576> <repeats 101 times>}
#8  0x000000000052e12b in _PyEval_EvalCodeWithName (qualname=0x0, name=0x0, closure=0x0, kwdefs=0x0, defcount=0, defs=0x0, kwcount=0, kws=<optimized out>, argcount=<optimized out>, args=<optimized out>, 
    locals=<optimized out>, globals=<optimized out>, _co=<code at remote 0x7ffff7e7e9c0>) at ../Python/ceval.c:4018
        co = 0x7ffff7e7e9c0
        retval = 0x0
        fastlocals = 0x7fffc0002470
        kwdict = <optimized out>
        tstate = 0x7fffc0002200
        x = <optimized out>
        u = <optimized out>
        n = <optimized out>
        f = Frame 0x7fffc00022f8, for file /home/damon/upgrade.py, line 163, in start (self=<RPDUpgrade at remote 0x7ffff5842828>, installer='/home/damon/hello/rapid-photo-downloader-0.9.2a1.tar.gz', l_command_line='list --user --disable-pip-version-check', l_args=['/usr/bin/python3.5', '-m', 'pip', 'list', '--user', '--disable-pip-version-check'], u_command_line='uninstall --disable-pip-version-check -y rapid-photo-downloader', u_args=['/usr/bin/python3.5', '-m', 'pip', 'uninstall', '--disable-pip-version-check', '-y', 'rapid-photo-downloader'], output='arrow (0.10.0)\ncertifi (2017.4.17)\nchardet (3.0.4)\ncolorlog (2.10.0)\ncolour (0.1.4)\neasygui (0.97.4)\ngphoto2 (1.6.0)\nidna (2.5)\npsutil (5.2.2)\npymediainfo (2.1.9)\nPyPrind (2.11.1)\nPyQt5 (5.9)\npython-dateutil (2.6.0)\npyxdg (0.25)\npyzmq (15.1.0)\nrawkit (0.6.0)\nrequests (2.14.2)\nsip (4.19.3)\nsix (1.10.0)\nsortedcontainers (1.5.7)\nurllib3 (1.21.1)\n', p=<Popen(_input=None, universal_newlines=True, _communication_started=False, stderr=<_io.TextIOWrapper at ...(truncated)
        freevars = 0x7fffc0002500
        total_args = 2
        i = 0
#9  PyEval_EvalCodeEx () at ../Python/ceval.c:4039
No locals.
#10 0x00000000004ebcc3 in function_call.lto_priv () at ../Objects/funcobject.c:627
        result = <optimized out>
        argdefs = <optimized out>
        kwtuple = 0x0
        d = 0x0
        k = 0x0
        nk = 0
        nd = 0
#11 0x00000000005b7167 in PyObject_Call () at ../Objects/abstract.c:2165
        call = 0x4ebc60 <function_call.lto_priv>
        result = <optimized out>
#12 0x00000000004f413e in method_call.lto_priv () at ../Objects/classobject.c:330
        self = <RPDUpgrade at remote 0x7ffff5842828>
        result = <optimized out>
#13 0x00000000005b7167 in PyObject_Call () at ../Objects/abstract.c:2165
        call = 0x4f4050 <method_call.lto_priv>
        result = <optimized out>
#14 0x0000000000523800 in PyEval_CallObjectWithKeywords () at ../Python/ceval.c:4580
        result = <optimized out>
#15 0x00007ffff54afcb5 in PyQtSlot::call(_object*, _object*) const () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#16 0x00007ffff54b01c0 in PyQtSlot::invoke(void**, _object*, void*, bool) const () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#17 0x00007ffff54b035c in PyQtSlot::invoke(void**, _object*, void*) const () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#18 0x00007ffff54b2e67 in qt_metacall_worker(_sipSimpleWrapper*, _typeobject*, _sipTypeDef*, QMetaObject::Call, int, void**) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#19 0x00007ffff54b3042 in qpycore_qobject_qt_metacall(_sipSimpleWrapper*, _sipTypeDef*, QMetaObject::Call, int, void**) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#20 0x00007ffff4e433c1 in QObject::event(QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#21 0x00007ffff54675db in sipQObject::event(QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#22 0x00007fffed9284bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Widgets.so.5
No symbol table info available.
#23 0x00007fffed92f8e7 in QApplication::notify(QObject*, QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Widgets.so.5
No symbol table info available.
#24 0x00007fffee3702ae in sipQApplication::notify(QObject*, QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtWidgets.so
No symbol table info available.
#25 0x00007ffff4e17eb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#26 0x00007ffff4e1a54b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#27 0x00007ffff4e6aad3 in ?? () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#28 0x00007ffff1f0a197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#29 0x00007ffff1f0a3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#30 0x00007ffff1f0a49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#31 0x00007ffff4e6a13b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#32 0x00007ffff4e164aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#33 0x00007ffff4c44dfc in QThread::exec() () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#34 0x00007ffff547a970 in sipQThread::run() () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/QtCore.so
No symbol table info available.
#35 0x00007ffff4c4984a in ?? () from /home/damon/.local/lib/python3.5/site-packages/PyQt5/Qt/lib/libQt5Core.so.5
No symbol table info available.
#36 0x00007ffff7bc16ba in start_thread (arg=0x7fffcd58a700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fffcd58a700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736638527232, 6006022559636185603, 0, 140737488343663, 140736638527936, 140737488343848, -6006052565369167357, -6006039615807233533}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#37 0x00007ffff78f73dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
quit


More information about the PyQt mailing list