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

Restarting an application waiting for input on STDIN freezes QtCreator

    XMLWordPrintable

Details

    • Windows
    • 6b8473a2e (11.0)

    Description

      Restarting an application that waits for input on the terminal with CTRL+R freezes QtCreator for around 30 seconds.

      #include <iostream>
      #include <string>int main(int argc, char *argv[])
      {
          std::string s;
          std::cout << "Enter something: ";
          std::cin >> s;
          std::cout << "You entered: " << s << std::endl;
          return 0;
      }
      

      How to reproduce:

      1. Start program and wait for "Enter something" displayed.
      2. Restart program with CTRL+R without submitting any input to STDIN

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-29350
        # Subject Branch Project Status CR V

        Activity

          People

            madwinter Marcus Tillmanns
            wladimir.leuschner Wladimir Leuschner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes