Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48336

[Reg 5.4.1 -> 5.5.0][Windows] Socket communication is unstable and randomly fails with Unknown error 995

XMLWordPrintable

    • dfaffcbf2a20cd7ff781de88ac3e73d9f17d1cdf

      Qt socket communication fails randomly and outputs this debug message:
      The following error occurred:

      QWindowsPipeReader::completeAsyncRead:
      Unknown error 995.
      

      This has been tested with both QTcpSocket and QLocalSocket. It is reproducible with Qt's Fortune Client example, but it needs several tries and a good fortune. Therefore please find attached a modified Fortune example (qtbug48336.zip), which reproduces the problem every time.

      This problem seems to be caused by https://codereview.qt-project.org/#/c/110534/, which fixes QTBUG-45601. Reverting the change (or the QWindowsPipeReader::stop() part of it) seems to fix the problem.

        1. fixed.tar.gz
          5 kB
          Timur Pocheptsov
        2. qtbug48336.zip
          43 kB
          Qt Support
        For Gerrit Dashboard: QTBUG-48336
        # Subject Branch Project Status CR V

            jbornema Joerg Bornemann
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes