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

Details

    • dfaffcbf2a20cd7ff781de88ac3e73d9f17d1cdf

    Description

      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.

      Attachments

        1. fixed.tar.gz
          5 kB
        2. qtbug48336.zip
          43 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes