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

"CDB process terminated unexpectedly" when program returns quickly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 3.6.0
    • Qt Creator 3.6.0
    • Debugger
    • Windows 7 64 bit
      MSVC 2013 32 bit
      cdb 6.12

    Description

      1. Create a new Qt Console Application project.
      2. Replace the main function's body:
        #include <QCoreApplication>
        
        int main(int argc, char *argv[])
        {
            return 0;
        }
        
      3. In Run settings, disable "Run in terminal".
      4. Build this with MSVC and run it in the debugger.
        You'll see an error message pop up: "The CDB process terminated unexpectedly (exit code 0).

      When you do the same with Creator 3.5, this warning does not appear. This is because of QTCREATORBUG-15455. When you uncheck "Enable QML debugging and profiling", Creator 3.6 doesn't show the warning, either.

      Creator should be able to handle a quickly returning program.

      Found by Squish test tst_cli_output_console.

      Attachments

        Issue Links

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

          Activity

            People

              davschul David Schulz
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes