Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 8.0.1
-
None
-
Ubuntu 22.04.
-
-
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 |
429979,2 | RemoteLinux: Fix KillAppStep | 8.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |