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

Mac App with QtSerialPort crashes but does not crash out of QT creator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.4.0
    • Component/s: Serial Port
    • Labels:
      None
    • Environment:
      OSX 10.9.5 with Xcode 5.1.1
    • Platform/s:
      macOS

      Description

      When attempting to run an FTDI Interface from an app on the Mac the app crashes with an EXC_BAD_ACCESS (SIGSEGV) error. This did not happen in QT5.2.1 (or lower).
      Running the exe file from within the app does not crash, running inside QTCreator does not crash either.

      QT5.2.1 outputs an error message "QSocketNotifier::Exception is not supported on iOS" This was fixed in QT5.3.2 but the fix obviously introduced the above new error/crash.

      QtSerialPort seems to need the “exception notifier“ in QSocketNotifier to run FTDI USB interfaces, explicitly the QSerialPortInfo class.

        Attachments

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

          Activity

            People

            Assignee:
            kuzulis Denis Shienkov
            Reporter:
            mgams Matthias Gams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes