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

QSerialPort::waitForReadyRead always returns false on older Windows systems

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      01e0371f9d (qt/tqtc-qtserialport/5.15) f3a306a30f (qt/qtserialport/dev) f3a306a30f (qt/tqtc-qtserialport/dev) b71e60fbed (qt/tqtc-qtserialport/6.2) 6d5b4b3d71 (qt/qtserialport/6.3) 0f5d0b4bb2 (qt/qtserialport/6.4) 6d5b4b3d71 (qt/tqtc-qtserialport/6.3)

      Description

      When using QSerialPort::waitForReadyRead in an application that is running on older systems (3rd gen intel), Windows 10, the method always times out and returns false indicating the timeout / an error.

      If instead using readyRead signal and availableBytes, the data can be properly read.

      This does not reproduce on intel 4th gen or newer machines.

      Some examples of affected systems:

      System Model	HP Compaq 8000 Elite SFF PC
      System Type	x64-based PC
      Processor	Intel(R) Core(TM)2 Duo CPU     E8500  @ 3.16GHz, 3166 Mhz, 2 Core(s), 2 Logical Processor(s)
      
      System Model   OptiPlex 7010
      System Type      x64-based PC
      Processor            Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz, 3401 Mhz, 4 Core(s), 8 Logical Processor(s)
      

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-103822
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              ivan.solovev Ivan Solovev
              Reporter:
              jussi_witick Jussi Witick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes