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

QSerialPort treats EAGAIN as error on unix / linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.2.1, 5.4.2, 5.5.0
    • Serial Port
    • None

    Description

      QSerialPort treats EAGAIN as error.

      When using a serial port on Linux the error() signal is emitted multiple times reporting the errors: 8 (ReadError), 8 (ReadError), and 9 (ResourceError), in this order.
      Might depend on linux kernel version and/or system load and/or serial drivers used.

      See also:
      https://codereview.qt-project.org/#/c/85414

      Attachments

        1. serialtest.strace-linux3.13.0-63.txt
          34 kB
          Lothar
        2. serialtest.strace-linux3.13.0-64.txt
          4.02 MB
          Lothar
        3. serialtest.tar.bz2
          1 kB
          Lothar

        Issue Links

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

          Activity

            People

              kuzulis Denis Shienkov
              QCereal Lothar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes