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

[Boot2Qt] The app cannot be redeployed after rebooting the device by powering it off and on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • Qt Creator 12.0.2
    • Qt Creator 12.0.0
    • Remote Linux
    • None
    • Linux/Wayland
    • cf16ef313 (12.0)

    Description

      Device: Raspberry Pi4 64 bit

      Qt Creator ver.:

       

      Qt Creator 12.0.0
      Based on Qt 6.6.0 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
      
      Built on Nov 22 2023 07:33:43
      
      From revision 27055e4c39 

      Linux Ubuntu:

       

      Steps:

      1. Open any example application.
      2. Deploy the app to RPi4 (6.7.0 - dev snapshot)
      3. Stop the application.
      4. Power off the device
      5. Power it on.
      6. Wait until device is booted and WiFi connection is established.
      7. Click 'play' button to deploy the app again.

      Expected: App is deployed.

      Actual: The deployment process is not completed. Progress bar gets stuck in the middle. Trying to cancel the process causes the Qt Creator to freeze. Logs from qt creator run under gdb:

       

      SOFT ASSERT [17:15:18.003]: "m_resultData.m_error == QProcess::FailedToStart" in /home/qt/work/build/qt-creator/src/libs/utils/process.cpp:2050
      qtc.utils.deviceshell: Shell exited with error code: 255 ( "The command \"/usr/bin/ssh -q -o StrictHostKeyChecking=no -o Port=22 -o User=root -o BatchMode=no -o ConnectTimeout=10 192.168.50.212 /bin/sh\" terminated with exit code 255." ) 

      NOTE:

       

      1. It does not happen when I used 'Reboot' function from Qt Creator preferences (device's options).
      2. After restarting the Qt Creator - the app is deployed properly.

       

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes