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

Stopping remote process attepts to kill after it has already ended

    XMLWordPrintable

Details

    • be4bd1dc06444dc44072ac3812a63dc02dab54e5 (qt-creator/qt-creator/master)

    Description

      Output from such attempt:

      Checking available ports...
      Found 101 free ports.
      Starting gdbserver...
      Debugging starts
      
      Listening on port 10000
      Remote debugging from host 10.8.16.90
      Process /...... created; pid = 19578
      3:30:15.367 - QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp
      /runtime-root'
      User requested stop. Shutting down...
      Debugging has finished
      Failed to kill remote process: Exit code is 1. stderr: sh: line 0: kill:
      (-19541) - No such process
      sh: line 0: kill: (19541) - No such process
      

      I am guessing this is because RemoteLinuxSignalOperation::killProcess sends SIGTERM followed by SIGKILL and the application had already quit on the SIGTERM.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            poikelin Joni Poikelin
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes