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

Debugging an application on remote target creates 2 process of same application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.5.0, Qt Creator 3.5.1, Qt Creator 3.6.0-rc1
    • Remote Linux
    • None

      Created a sample widget application using Qt Creator. Configured the kit appropriately so that the code gets cross compiled successfully. After that when user tries to run the code on the target, the application can be seen on the display device connected to the embedded board.

      The real issue starts when user tries to debug the application. Lets say a break point is added in the code and press F5. Now debugging happens and when allowed to continue further, the application gets deployed on the target. User can see 2 instances of process. Here I have used qtwidget as the application and below is the snapshot of ps command on the target:

       1379 root      5088 S    sshd: root@notty
       1387 root      2980 S    sh -c test -f /etc/profile && . /etc/profile;test -f $HOME/.profile && . $HOME/.profile; DISPLAY=':0.0' gdbserver --multi :10000
       1391 root      2248 S    gdbserver --multi :10000
       1394 root      236m S    /home/root/qtwidget
       1399 root      236m t    /home/root/qtwidget
       1400 root      3004 R    ps
      root@mx6q:~# 
      

      If I kill process 1399 the application gets displayed on the device. It would be nice if we can find the root cause for the issue.

      The target where the application runs is on Linux. The application is also built on Linux. Let me know if more information is required.

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

            kandeler Christian Kandeler
            sujithh Sujith H
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes