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

Installer crashes on macOs with error "unrecognized selector sent to instance"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 3.2.1
    • General
    • None
    • * IFW Version: 3.2.1
      * Qt 5.12.4
      * Build date: Jan 15 2020
      * Installer Framework SHA1: f2c6e6a9
    • macOS

    Description

      When trying to run the maintenance tool on macOs 10.15.2 (The Github Actions CI image, see Github Actions, macOS 10.15), the installer crashes with the above error. Last few lines of the log (full log attached):

      [7]      :/metadata/installer-config/background_png.png
      [7]      :/metadata/rccprojectCMMeik.qrc
      [7]      :/metadata/Updates.xml
      [38] #fn Controller
      [38] Loaded control script "/Users/runner/runners/2.164.0/work/_temp/qt-installer-script.qs"
      [38] Using control script: "/Users/runner/runners/2.164.0/work/_temp/qt-installer-script.qs"
      [539] #fn WelcomePageCallback
      2020-01-28 07:12:35.842 qt-unified-mac-x64-3.2.1-online[6258:34283] -[__NSCFNumber addSubview:]: unrecognized selector sent to instance 0x1
      [557] Fatal: Unknown exception caught.
      Unknown exception caught.
      

      After testing a bit more, this error happens with other selectors as well:

      2020-01-28 06:39:10.843 qt-unified-mac-x64-3.2.1-online[6294:35315] -[NSTaggedPointerString addSubview:]: unrecognized selector sent to instance 0x1
      

      Just to make sure it is not an error within the controller script that causes the fail, here is the welcome page callback of that script (I cannot remove the script, as it is an unattended installation on a CI system):

      Controller.prototype.WelcomePageCallback = function() {
      	console.log("#fn WelcomePageCallback");
      	gui.clickButton(buttons.NextButton, 3000);
      }
      

      Attachments

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

        Activity

          People

            installerteam Installer Team
            SkyCoder Felix Barz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes