Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134895

[Boot2Qt ] Not possible to run the app again on the hardware via USB after reboot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.3, 6.9.0 Beta3
    • Device Creation
    • None
    • Linux/Yocto

    Description

      Linux Ubuntu 22.04.3 

      Qt Creator 16.0.0

      Device: Raspberry Pi4 64 bit with Qt 6.9.0

      Steps to reproduce:

      1. Connect to the hardware via USB
      2. Open Qt Creator and open any example app (I used MediaPlayer)
      3. Deploy and run the app using Qt Creator.
      4. Once it's running on the device - reboot the device (re-plug the device or use reboot button in QtC device's settings)
      5. Try to run the app again on the device.

      Expected: The app could be run again without any issue.

      Actual: It looks like the connection to the device is lost and no app could be deployed to the hardware anymore. Also, it happened to me once without rebooting the device. After keeping the app idle for some time I got 

      /usr/bin/appcontroller on Boot to Qt device b2qt-raspberrypi-armv8-d83add37d exited with code 255

      When trying to run the app after that:

       

      SSH connection failure:
      ssh: connect to host 172.16.58.1 port 22: Connection timed out
      17:52:23: Deploy step failed.
      17:52:23: Error while building/deploying project MediaPlayerApp (kit: Boot2Qt 6.9.0 Raspberry Pi Development Boards (64bit))
      17:52:23: When executing step "Stop already running application" 

       

      NOTE: I was not able to reproduce it on Qt 6.7.3. The only workaround so far it so re-flash the device.

      Reproducibility:  100% 

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes