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

QSerialPort treats EAGAIN as error on unix / linux

XMLWordPrintable

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

      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

        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
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes