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

incorrect build cancel procedure on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.6.1

    Description

      Cancelling the C++ build kills the toplevel process immediately while child processes keep running. The result is that the compilers and linkers keep running due to multi-processor build.

      Killing all child processes immediately wouldn't be useful either. Visual Studio doesn't use temporary files, writing immediately to outputs. Killing the build tool's children would also mess up .ipdb files leading to ICE's on next compiler invocation, as well as keeping broken binary object/output files.

      The solution is to kill as-if sending a Control-C. Sending that from a terminal session does the right thing when sent to the Ninja build tool.

       

      Attachments

        Issue Links

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

          Activity

            People

              hunger Tobias Hunger
              sthalik Stanislaw Halik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes