Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28124

Deploy Run step of Kill Current Application Instance fails due to device prepended to command

    XMLWordPrintable

Details

    • Linux/X11
    • e4bc08fb21 (qt-creator/qt-creator/8.0) e4bc08fb21 (qt-creator/qt-creator/master) e4bc08fb21 (qt-creator/qt-creator/qds-dev) e4bc08fb21 (qt-creator/qt-creator/9.0) e4bc08fb21 (qt-creator/qt-creator/qds-3.7)

    Description

      Killing the current application on a remote device is broken on 8.0.1.  It worked in 7.x.  There's now an internal device uuid prepended to the search for the exe name, which means it can't find the process to kill.

      root 2362 30458 0 16:35 ? 00:00:00 /bin/sh -c cd /proc; for pid in `ls -d [0123456789]`; do if [ "`readlink /proc/$pid/exe`" = "*device://{bc135d92-0ff6-4a2b-8efc-8254ae2bc461}/usr/bin<path-to-exe-redacted>" ]; then kill -15 -$pid $pid;fi; done; cd /proc; for pid in `ls -d [0123456789]*`; do if [ "`readlink /proc/$pid/exe`" = "*device://

      {bc135d92-0ff6-4a2b-8efc-8254ae2bc461*}

      /usr/bin/<path-to-exe-redacted>" ]; then kill -9 -$pid $pid;fi; done

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-28124
        # Subject Branch Project Status CR V

        Activity

          People

            hjk hjk
            bryangrim Bryan Grim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes