Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2282

Online installer hangs at exit when repository is not reachable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.2.0
    • 4.1.1
    • General
    • Windows 10 21H1
    • Windows
    • Qt Installer Sprint 37-Summer

    Description

      I have an online installer built with binarycreator. If I quit that installer during the "Preparing meta information download" phase because the server is not reachable, the window closes, but the installer stays running in the background.

      Steps to reproduce with the "QtInstallerFramework\4.1\examples\online" example project :

      1. Build the repository and installer as documented in the example's README (repogen and binarycreator).
      2. Do NOT start the webserver.
      3. Launch the installer.
      4. Click next.
      5. While the "preparing meta information download" progress bar is displayed, click on "Quit" (or on the window close button).
      6. The window disappears, but the executable stays in the background indefinitely.

      If the URL of the repository is a network address instead of "localhost", the executable also stays in the background, but after a while, it will start consuming CPU. This can be tested fairly easily by changing the URL of the repository to a bogus one (for example 123.123.123.123).

      Attachments

        For Gerrit Dashboard: QTIFW-2282
        # Subject Branch Project Status CR V

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            jcugniere_infflux Julien CUGNIERE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes