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

Mac OSX Serial port infinte loop when disconnected from device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • 5.6.0
    • 5.5.1
    • Serial Port
    • None
    • Mac OS X el capitan 10.11 64 bit
      3GB RAM
      Intel CPU
      FTDI USB device
    • macOS

    Description

      In Qt 5.5.1 whilst using the serial port, if the connection is open and then the USB device is removed from the mac, an error is emitted (ResourceError), in which an attempt is made to close the port if PortOpen is true, when this is called another error is emitted (ResourceError) which then does the same thing until the stack limit is reached and the application crashes.

      In Linux and Windows, this issue does not occur. I have not tried but looking at the code for the sample terminal application looks like it too will cause the issue: http://doc.qt.io/qt-5/qtserialport-terminal-example.html

      Attachments

        Issue Links

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

          Activity

            People

              kuzulis Denis Shienkov
              thedjnk Mr nK
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes