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

Shutting down debugging doesn't shuts down pdebug process on QNX target

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 15.0.1
    • Debugger
    • None
    • QNX

    Description

      Originally from https://bugreports.qt.io/browse/QTCREATORBUG-32478. So everything is the same, I just bring the "not being able to kill pdebug process" part here since it is unrelated to topic of that bug report.

      Anyway, what happens is that forcing stopping debugging from QtC side (click the red square button) doesn't seem to actually stop debugging. If you check what are being run on QNX device, you'd see multiple pdebug processes like

      # ps
             PID TTY          TIME CMD
           90146 ?        00:00:00 ksh
          118822 ?        00:00:00 sshd
          135209 ?        00:00:00 resarb
          294957 ?        00:00:00 sshd
          192558 ?        00:00:00 ksh
          200751 ?        00:00:00 inetd
          303152 ?        00:00:00 sh
          307249 ?        00:00:00 sh
          340018 ?        00:00:00 sh
          364595 ?        00:00:00 sh
          385076 ?        00:00:00 sh
          385077 ?        00:00:00 sh
         7335990 ?        00:00:00 ps
         1310778 ?        00:00:00 pdebug
         4689979 ?        00:00:00 pdebug
      

      Obviously they are leftovers from failed debug session.

      Attachments

        Issue Links

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

          Activity

            People

              jkobus Jarek Kobus
              luqiaochen Luqiao Chen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes