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

Target Setup Page may crash QC

    XMLWordPrintable

Details

    • Linux/X11
    • c13b20f1605d51061e60acacb43c7e6502737759 (qt-creator/qt-creator/4.11)

    Description

      Steps to reproduce:

      • have 2 valid kits available
      • have an existing project without *.user file
      • open it and select both kits for on the target setup page, hit Configure
        • you should be on Edit mode now
      • build it once (not sure if necessary)
      • go to Options -> Kits
      • set all compilers of the kits to None
      • hit OK
      • go to Project view
        • this should look bad now
      • go to Options -> Kits
      • remove both kits (starting with the default one)
      • hit OK

      Current result:

      • QC crashes (I could not reliably reproduce but got back traces - see attachment)

      Seems the handleTargetChanged() signal may be processed too late (after the handleTargetRemoved() had been processed already and the target does no more exist)

      Attachments

        1. backtrace.log
          36 kB
          Christian Stenger
        For Gerrit Dashboard: QTCREATORBUG-23075
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes